gov_uk_date_fields 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gov_uk_date_fields/form_fields.rb +3 -3
- data/lib/gov_uk_date_fields/version.rb +1 -1
- data/test/dummy/log/test.log +425 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b7af703f8ba2a4de344ed2fabe0c3500bb2bd46
|
4
|
+
data.tar.gz: 8e7ab223ca4a164b8348cc022b33e0d64cb02eb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a4c9930dcabb591e120e96381f8edc309a2240927a043c6b0b063fcc245f761a1dc5084a87d74adba07ac5beadead6e58afae6f6c12897a6107717585efa145
|
7
|
+
data.tar.gz: 6b4c523b92740abeae81d74c128a520f3c5b013bf012ec5704b08eedb30128a4436e2e1fe2c72b11c79ebb75a0e98d7713bd41f4ccfcabdcbde9749a86b9f870
|
@@ -21,9 +21,9 @@ module GovUkDateFields
|
|
21
21
|
@object_name = object_name
|
22
22
|
@attribute = attribute
|
23
23
|
@options = options
|
24
|
-
@day_value = @object.send("#{@attribute}_dd")
|
25
|
-
@month_value = @object.send("#{@attribute}_mm")
|
26
|
-
@year_value = @object.send("#{@attribute}_yyyy")
|
24
|
+
@day_value = @object.send("#{@attribute}_dd")&.gsub(/\D/, '')
|
25
|
+
@month_value = @object.send("#{@attribute}_mm")&.gsub(/\D/, '')
|
26
|
+
@year_value = @object.send("#{@attribute}_yyyy")&.gsub(/\D/, '')
|
27
27
|
@form_hint_text = @options[:form_hint_text] || "For example, 31 3 1980"
|
28
28
|
@fieldset_required = false
|
29
29
|
@fieldset_id = @options[:id]
|
data/test/dummy/log/test.log
CHANGED
@@ -7350,3 +7350,428 @@ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_fi
|
|
7350
7350
|
EmployeeTest: test_invalid_day_raises_error
|
7351
7351
|
-------------------------------------------
|
7352
7352
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7353
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7354
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
7355
|
+
--------------------------------------------
|
7356
|
+
EmployeeTest: test_nil_dates_raise_no_errors
|
7357
|
+
--------------------------------------------
|
7358
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7359
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7360
|
+
-------------------------------------------------------------------------
|
7361
|
+
EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
|
7362
|
+
-------------------------------------------------------------------------
|
7363
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7364
|
+
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7365
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7366
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7367
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
7368
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7369
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7370
|
+
------------------------------------------------------------------------
|
7371
|
+
EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
|
7372
|
+
------------------------------------------------------------------------
|
7373
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7374
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7375
|
+
----------------------------------------------------------------------------------------------
|
7376
|
+
EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
|
7377
|
+
----------------------------------------------------------------------------------------------
|
7378
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7379
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7380
|
+
----------------------------------------------
|
7381
|
+
EmployeeTest: test_valid_dates_raise_no_errors
|
7382
|
+
----------------------------------------------
|
7383
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7384
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7385
|
+
----------------------------------------------------------------------------------------------------------------
|
7386
|
+
EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
|
7387
|
+
----------------------------------------------------------------------------------------------------------------
|
7388
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7389
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7390
|
+
---------------------------------------------------------------------------------------------------------
|
7391
|
+
EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
|
7392
|
+
---------------------------------------------------------------------------------------------------------
|
7393
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7394
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7395
|
+
------------------------------------------------------------------------------------------
|
7396
|
+
EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
|
7397
|
+
------------------------------------------------------------------------------------------
|
7398
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7399
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7400
|
+
---------------------------------------------------------------------
|
7401
|
+
EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
|
7402
|
+
---------------------------------------------------------------------
|
7403
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7404
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7405
|
+
-----------------------------------------------------------
|
7406
|
+
EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
|
7407
|
+
-----------------------------------------------------------
|
7408
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7409
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7410
|
+
-----------------------------------------------------------------------------------
|
7411
|
+
EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
|
7412
|
+
-----------------------------------------------------------------------------------
|
7413
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7414
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7415
|
+
-----------------------------------------------------------------------
|
7416
|
+
EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
|
7417
|
+
-----------------------------------------------------------------------
|
7418
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7419
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7420
|
+
-------------------------------------------
|
7421
|
+
EmployeeTest: test_invalid_day_raises_error
|
7422
|
+
-------------------------------------------
|
7423
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7424
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7425
|
+
--------------------------------------------------------------------------
|
7426
|
+
EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
|
7427
|
+
--------------------------------------------------------------------------
|
7428
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7429
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7430
|
+
-----------------------------------------------------------
|
7431
|
+
EmployeeTest: test_new_dates_can_be_populated_from_the_form
|
7432
|
+
-----------------------------------------------------------
|
7433
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7434
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7435
|
+
-------------------------------------------------------------------------------------------------------------------
|
7436
|
+
EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
|
7437
|
+
-------------------------------------------------------------------------------------------------------------------
|
7438
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
7439
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7440
|
+
---------------------------------------------------------------------
|
7441
|
+
EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
|
7442
|
+
---------------------------------------------------------------------
|
7443
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7444
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7445
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7446
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7447
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3[0m [["dob", Mon, 17 May 1965], ["updated_at", 2017-11-28 10:34:59 UTC], ["id", 643]]
|
7448
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7449
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7450
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7451
|
+
-----------------------------------------------------------------
|
7452
|
+
EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
|
7453
|
+
-----------------------------------------------------------------
|
7454
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7455
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7456
|
+
-----------------------------------------------------------
|
7457
|
+
GovUkDateFieldsTest: test_fieldset_output_with_legend_class
|
7458
|
+
-----------------------------------------------------------
|
7459
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7460
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7461
|
+
----------------------------------------------------------------------------------
|
7462
|
+
GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_css_class_applied
|
7463
|
+
----------------------------------------------------------------------------------
|
7464
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7465
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7466
|
+
-------------------------------------
|
7467
|
+
GovUkDateFieldsTest: test_squash_html
|
7468
|
+
-------------------------------------
|
7469
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7470
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7471
|
+
--------------------------------------------------------
|
7472
|
+
GovUkDateFieldsTest: test_fieldset_output_with_form_hint
|
7473
|
+
--------------------------------------------------------
|
7474
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7475
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7476
|
+
---------------------------------------------------------------------------------------
|
7477
|
+
GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_no_css_class_specified
|
7478
|
+
---------------------------------------------------------------------------------------
|
7479
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7480
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7481
|
+
-------------------------------------------------------
|
7482
|
+
GovUkDateFieldsTest: test_basic_output_without_fieldset
|
7483
|
+
-------------------------------------------------------
|
7484
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7485
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7486
|
+
-------------------------------------------------------------------------------
|
7487
|
+
GovUkDateFieldsTest: test_fieldset_with_error_class_and_supplied_error_messages
|
7488
|
+
-------------------------------------------------------------------------------
|
7489
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7490
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7491
|
+
------------------------------------------
|
7492
|
+
GovUkDateFieldsTest: test_fieldset_with_id
|
7493
|
+
------------------------------------------
|
7494
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7495
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7496
|
+
-------------------------------------------------------------
|
7497
|
+
GovUkDateFieldsTest: test_placeholder_output_without_fieldset
|
7498
|
+
-------------------------------------------------------------
|
7499
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7500
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7501
|
+
---------------------------------------------------------------
|
7502
|
+
GovUkDateFieldsTest: test_fieldset_with_error_class_and_message
|
7503
|
+
---------------------------------------------------------------
|
7504
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7505
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7506
|
+
---------------------------------------------------------------
|
7507
|
+
GovUkDateFieldsTest: test_error_raised_if_invalid_options_given
|
7508
|
+
---------------------------------------------------------------
|
7509
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7510
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7511
|
+
-------------------------------------------------------------------------------
|
7512
|
+
GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
|
7513
|
+
-------------------------------------------------------------------------------
|
7514
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7515
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7516
|
+
------------------------------------------------------------------------------------------
|
7517
|
+
GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
|
7518
|
+
------------------------------------------------------------------------------------------
|
7519
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7520
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7521
|
+
-----------------------------------------------------------------------------------------------
|
7522
|
+
GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
|
7523
|
+
-----------------------------------------------------------------------------------------------
|
7524
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7525
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7526
|
+
-----------------------------------------------------------------------------------------
|
7527
|
+
GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
|
7528
|
+
-----------------------------------------------------------------------------------------
|
7529
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7530
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7531
|
+
---------------------------------------------------------------------------------
|
7532
|
+
GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
|
7533
|
+
---------------------------------------------------------------------------------
|
7534
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7535
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7536
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
7537
|
+
GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
|
7538
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
7539
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
7540
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7541
|
+
---------------------------------------------------------------------------------
|
7542
|
+
GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
|
7543
|
+
---------------------------------------------------------------------------------
|
7544
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7545
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7546
|
+
-----------------------------------------------------------------------
|
7547
|
+
DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
|
7548
|
+
-----------------------------------------------------------------------
|
7549
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7550
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7551
|
+
------------------------------------------------------------------------------------------------
|
7552
|
+
DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
|
7553
|
+
------------------------------------------------------------------------------------------------
|
7554
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7555
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7556
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7557
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7558
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7559
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7560
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7561
|
+
-----------------------------------------------------------------------
|
7562
|
+
DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
|
7563
|
+
-----------------------------------------------------------------------
|
7564
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7565
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7566
|
+
-----------------------------------------------------------------------------------------------
|
7567
|
+
DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
|
7568
|
+
-----------------------------------------------------------------------------------------------
|
7569
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7570
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7571
|
+
---------------------------------------------------------------------
|
7572
|
+
DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
|
7573
|
+
---------------------------------------------------------------------
|
7574
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7575
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7576
|
+
--------------------------------------------------------------------------
|
7577
|
+
DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
|
7578
|
+
--------------------------------------------------------------------------
|
7579
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7580
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7581
|
+
-----------------------------------------------------------------
|
7582
|
+
DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
|
7583
|
+
-----------------------------------------------------------------
|
7584
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7585
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7586
|
+
--------------------------------------------------------------------------------
|
7587
|
+
OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
|
7588
|
+
--------------------------------------------------------------------------------
|
7589
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7590
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7591
|
+
--------------------------------------------------------------------------
|
7592
|
+
OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
|
7593
|
+
--------------------------------------------------------------------------
|
7594
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7595
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
7596
|
+
----------------------------------------------------------------------
|
7597
|
+
OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
|
7598
|
+
----------------------------------------------------------------------
|
7599
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7600
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7601
|
+
--------------------------------------------------------------------------------------------------
|
7602
|
+
DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
|
7603
|
+
--------------------------------------------------------------------------------------------------
|
7604
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7605
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7606
|
+
---------------------------------------------------------------------
|
7607
|
+
DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
|
7608
|
+
---------------------------------------------------------------------
|
7609
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7610
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7611
|
+
-------------------------------------------------------------------------
|
7612
|
+
DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
|
7613
|
+
-------------------------------------------------------------------------
|
7614
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7615
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7616
|
+
-------------------------------------------------------------------------------------------------------
|
7617
|
+
OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
|
7618
|
+
-------------------------------------------------------------------------------------------------------
|
7619
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7620
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7621
|
+
------------------------------------------------------------------
|
7622
|
+
OmitErrorClashEmployeeTest: test_presence_error_messages_generated
|
7623
|
+
------------------------------------------------------------------
|
7624
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7625
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7626
|
+
----------------------------------------------------------------------
|
7627
|
+
OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
|
7628
|
+
----------------------------------------------------------------------
|
7629
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7630
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7631
|
+
--------------------------------------------------------------
|
7632
|
+
EmployeesControllerTest: test_should_render_gov_uk_date_fields
|
7633
|
+
--------------------------------------------------------------
|
7634
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7635
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7636
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7637
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7638
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7639
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7640
|
+
Processing by EmployeesController#edit as HTML
|
7641
|
+
Parameters: {"id"=>"645"}
|
7642
|
+
[1m[36mEmployee Load (0.2ms)[0m [1m[34mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2[0m [["id", 645], ["LIMIT", 1]]
|
7643
|
+
Rendering employees/edit.html.erb within layouts/application
|
7644
|
+
Rendered employees/_form.html.erb (4.9ms)
|
7645
|
+
Rendered employees/edit.html.erb within layouts/application (6.9ms)
|
7646
|
+
Completed 200 OK in 173ms (Views: 168.6ms | ActiveRecord: 0.3ms)
|
7647
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
7648
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7649
|
+
--------------------------------------------
|
7650
|
+
EmployeesControllerTest: test_should_get_new
|
7651
|
+
--------------------------------------------
|
7652
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7653
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7654
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7655
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7656
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7657
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7658
|
+
Processing by EmployeesController#new as HTML
|
7659
|
+
Rendering employees/new.html.erb within layouts/application
|
7660
|
+
Rendered employees/_form.html.erb (1.4ms)
|
7661
|
+
Rendered employees/new.html.erb within layouts/application (1.9ms)
|
7662
|
+
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
7663
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7664
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7665
|
+
-----------------------------------------------------
|
7666
|
+
EmployeesControllerTest: test_should_destroy_employee
|
7667
|
+
-----------------------------------------------------
|
7668
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7669
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7670
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7671
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7672
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7673
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7674
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "employees"[0m
|
7675
|
+
Processing by EmployeesController#destroy as HTML
|
7676
|
+
Parameters: {"id"=>"649"}
|
7677
|
+
[1m[36mEmployee Load (0.3ms)[0m [1m[34mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2[0m [["id", 649], ["LIMIT", 1]]
|
7678
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7679
|
+
[1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "employees" WHERE "employees"."id" = $1[0m [["id", 649]]
|
7680
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7681
|
+
Redirected to http://test.host/employees
|
7682
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
7683
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "employees"[0m
|
7684
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7685
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7686
|
+
----------------------------------------------------
|
7687
|
+
EmployeesControllerTest: test_should_create_employee
|
7688
|
+
----------------------------------------------------
|
7689
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7690
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7691
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7692
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7693
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7694
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7695
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "employees"[0m
|
7696
|
+
Processing by EmployeesController#create as HTML
|
7697
|
+
Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
|
7698
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7699
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Joe Blow"], ["dob", Fri, 31 Dec 1965], ["joined", Wed, 04 Mar 2015], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7700
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7701
|
+
Redirected to http://test.host/employees/653
|
7702
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
7703
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "employees"[0m
|
7704
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "employees"[0m
|
7705
|
+
[1m[36mEmployee Load (0.1ms)[0m [1m[34mSELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
7706
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7707
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7708
|
+
---------------------------------------------
|
7709
|
+
EmployeesControllerTest: test_should_get_edit
|
7710
|
+
---------------------------------------------
|
7711
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7712
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7713
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7714
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7715
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7716
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7717
|
+
Processing by EmployeesController#edit as HTML
|
7718
|
+
Parameters: {"id"=>"654"}
|
7719
|
+
[1m[36mEmployee Load (0.1ms)[0m [1m[34mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2[0m [["id", 654], ["LIMIT", 1]]
|
7720
|
+
Rendering employees/edit.html.erb within layouts/application
|
7721
|
+
Rendered employees/_form.html.erb (1.4ms)
|
7722
|
+
Rendered employees/edit.html.erb within layouts/application (1.6ms)
|
7723
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
7724
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7725
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7726
|
+
----------------------------------------------
|
7727
|
+
EmployeesControllerTest: test_should_get_index
|
7728
|
+
----------------------------------------------
|
7729
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7730
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7731
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7732
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7733
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7734
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7735
|
+
Processing by EmployeesController#index as HTML
|
7736
|
+
Rendering employees/index.html.erb within layouts/application
|
7737
|
+
[1m[36mEmployee Load (0.1ms)[0m [1m[34mSELECT "employees".* FROM "employees"[0m
|
7738
|
+
Rendered employees/index.html.erb within layouts/application (1.2ms)
|
7739
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
7740
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7741
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7742
|
+
--------------------------------------------------
|
7743
|
+
EmployeesControllerTest: test_should_show_employee
|
7744
|
+
--------------------------------------------------
|
7745
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7746
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7747
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7748
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7749
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7750
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7751
|
+
Processing by EmployeesController#show as HTML
|
7752
|
+
Parameters: {"id"=>"658"}
|
7753
|
+
[1m[36mEmployee Load (0.2ms)[0m [1m[34mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2[0m [["id", 658], ["LIMIT", 1]]
|
7754
|
+
Rendering employees/show.html.erb within layouts/application
|
7755
|
+
Rendered employees/show.html.erb within layouts/application (0.5ms)
|
7756
|
+
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
7757
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
7758
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7759
|
+
----------------------------------------------------
|
7760
|
+
EmployeesControllerTest: test_should_update_employee
|
7761
|
+
----------------------------------------------------
|
7762
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7763
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7764
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7765
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7766
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2017-11-28 10:34:59 UTC], ["updated_at", 2017-11-28 10:34:59 UTC]]
|
7767
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7768
|
+
Processing by EmployeesController#update as HTML
|
7769
|
+
Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"660"}
|
7770
|
+
[1m[36mEmployee Load (0.1ms)[0m [1m[34mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2[0m [["id", 660], ["LIMIT", 1]]
|
7771
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7772
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5[0m [["dob", Sun, 01 Nov 1981], ["joined", Sat, 03 Oct 2015], ["name", "Ioannis Kole"], ["updated_at", 2017-11-28 10:34:59 UTC], ["id", 660]]
|
7773
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7774
|
+
Redirected to http://test.host/employees/660
|
7775
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
7776
|
+
[1m[36mEmployee Load (0.1ms)[0m [1m[34mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2[0m [["id", 660], ["LIMIT", 1]]
|
7777
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|