has_public_id 1.1.0 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -11
- data/lib/has_public_id/activerecord/mixin.rb +3 -0
- data/lib/has_public_id/util.rb +14 -6
- data/lib/has_public_id/version.rb +1 -1
- data/test/dummy/app/models/user.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +3059 -0
- data/test/dummy/test/models/user_test.rb +49 -3
- data/test/has_public_id_test.rb +43 -31
- metadata +2 -2
data/test/dummy/log/test.log
CHANGED
@@ -1877,3 +1877,3062 @@ HasPublicIdTest: test_New_users_get_an_ID_initialized
|
|
1877
1877
|
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1rT1BHMJZLPcaA' LIMIT 1
|
1878
1878
|
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7iH9G-tTWFB74w' LIMIT 1[0m
|
1879
1879
|
[1m[35m (0.0ms)[0m rollback transaction
|
1880
|
+
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
1881
|
+
[1m[35mFixture Delete (1.2ms)[0m DELETE FROM "users"
|
1882
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:35:02', '2014-01-10 17:35:02', 980190962)[0m
|
1883
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:35:02', '2014-01-10 17:35:02', 298486374)
|
1884
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:35:02', '2014-01-10 17:35:02', 113629430)[0m
|
1885
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1886
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1887
|
+
------------------------------------------------------------------
|
1888
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
1889
|
+
------------------------------------------------------------------
|
1890
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1892
|
+
-------------------------------------------
|
1893
|
+
HasPublicIdTest: test_Default_character_set
|
1894
|
+
-------------------------------------------
|
1895
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1897
|
+
------------------------------------------------
|
1898
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
1899
|
+
------------------------------------------------
|
1900
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-Y-X-T-H-v-o-6-c-I' LIMIT 1
|
1901
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1902
|
+
[1m[35mSQL (6.6ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00], ["ident", "use-h-Y-X-T-H-v-o-6-c-I"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00]]
|
1903
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1904
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-h-Y-X-T-H-v-o-6-c-I' ORDER BY "users"."id" ASC LIMIT 1
|
1905
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1906
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1907
|
+
-------------------------------------------------
|
1908
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
1909
|
+
-------------------------------------------------
|
1910
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-B-4-a-I-b-b-H-t-G-v' LIMIT 1[0m
|
1911
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1912
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00], ["ident", "use-B-4-a-I-b-b-H-t-G-v"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00]]
|
1913
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1914
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1915
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1916
|
+
----------------------------------------------------
|
1917
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
1918
|
+
----------------------------------------------------
|
1919
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-X-C-S-y-3-G-q-5-3-2' LIMIT 1[0m
|
1920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1921
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00], ["ident", "use-X-C-S-y-3-G-q-5-3-2"], ["updated_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00]]
|
1922
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1923
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
1924
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1926
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
1927
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1929
|
+
-----------------------------------------------
|
1930
|
+
HasPublicIdTest: test_Generates_a_random_suffix
|
1931
|
+
-----------------------------------------------
|
1932
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1934
|
+
----------------------------------------------
|
1935
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
1936
|
+
----------------------------------------------
|
1937
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-z-0-1-s-T-F-t-M-s-Y' LIMIT 1[0m
|
1938
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1940
|
+
----------------------------------------------------
|
1941
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
1942
|
+
----------------------------------------------------
|
1943
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
1944
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1945
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-H-A-x-b-N-7-Q-q-T-9' LIMIT 1
|
1946
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q-T-q-t-p-E-y-a-D-T' LIMIT 1[0m
|
1947
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-4-V-f-H-2-k-Y-j-m' LIMIT 1
|
1948
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q-T-a-p-l-Y-N-K-9-4' LIMIT 1[0m
|
1949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1950
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-q-T-a-p-l-Y-N-K-9-4"], ["updated_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00]]
|
1951
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1952
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Y-t-L-2-h-C-S-k-l-q' LIMIT 1[0m
|
1953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1954
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-Y-t-L-2-h-C-S-k-l-q"], ["updated_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00]]
|
1955
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1956
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Y-7-Q-I-u-O-6-C-x-x' LIMIT 1[0m
|
1957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1958
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-Y-7-Q-I-u-O-6-C-x-x"], ["updated_at", Fri, 10 Jan 2014 17:35:02 UTC +00:00]]
|
1959
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1960
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
1961
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1963
|
+
-----------------------------------------------------
|
1964
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
1965
|
+
-----------------------------------------------------
|
1966
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b-F-h-B-U-k-b-z-x-0' LIMIT 1
|
1967
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-l-p-u-O-i-Q-q-4-C-9' LIMIT 1[0m
|
1968
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1969
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1970
|
+
---------------------------------------
|
1971
|
+
HasPublicIdTest: test_Setting_join_with
|
1972
|
+
---------------------------------------
|
1973
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1975
|
+
-------------------------------------------------
|
1976
|
+
HasPublicIdTest: test_Setting_prefix_empty_string
|
1977
|
+
-------------------------------------------------
|
1978
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1980
|
+
------------------------------------------
|
1981
|
+
HasPublicIdTest: test_Setting_prefix_false
|
1982
|
+
------------------------------------------
|
1983
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1984
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1985
|
+
----------------------------------------
|
1986
|
+
HasPublicIdTest: test_Setting_prefix_nil
|
1987
|
+
----------------------------------------
|
1988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1989
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1990
|
+
----------------------------------------
|
1991
|
+
HasPublicIdTest: test_Setting_the_prefix
|
1992
|
+
----------------------------------------
|
1993
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1995
|
+
------------------------------------------------------
|
1996
|
+
HasPublicIdTest: test_Suffix_length_works_as_specified
|
1997
|
+
------------------------------------------------------
|
1998
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1999
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2000
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
2001
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:35:36', '2014-01-10 17:35:36', 980190962)[0m
|
2002
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:35:36', '2014-01-10 17:35:36', 298486374)
|
2003
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:35:36', '2014-01-10 17:35:36', 113629430)[0m
|
2004
|
+
[1m[35m (0.9ms)[0m commit transaction
|
2005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2006
|
+
------------------------------------------------------------------
|
2007
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2008
|
+
------------------------------------------------------------------
|
2009
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2011
|
+
-------------------------------------------
|
2012
|
+
HasPublicIdTest: test_Default_character_set
|
2013
|
+
-------------------------------------------
|
2014
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2015
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2016
|
+
------------------------------------------------
|
2017
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2018
|
+
------------------------------------------------
|
2019
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-V-w-1-o-g-e-V-T-X' LIMIT 1
|
2020
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2021
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00], ["ident", "use-h-V-w-1-o-g-e-V-T-X"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00]]
|
2022
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2023
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-h-V-w-1-o-g-e-V-T-X' ORDER BY "users"."id" ASC LIMIT 1
|
2024
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2025
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2026
|
+
-------------------------------------------------
|
2027
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2028
|
+
-------------------------------------------------
|
2029
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e-Q-f-W-C-m-f-q-f-e' LIMIT 1[0m
|
2030
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2031
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00], ["ident", "use-e-Q-f-W-C-m-f-q-f-e"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00]]
|
2032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2033
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2034
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2035
|
+
----------------------------------------------------
|
2036
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2037
|
+
----------------------------------------------------
|
2038
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-K-1-Q-v-n-V-0-b-p-b' LIMIT 1[0m
|
2039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2040
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00], ["ident", "use-K-1-Q-v-n-V-0-b-p-b"], ["updated_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00]]
|
2041
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2042
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2043
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2044
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2045
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2046
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2047
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2048
|
+
-----------------------------------------------
|
2049
|
+
HasPublicIdTest: test_Generates_a_random_suffix
|
2050
|
+
-----------------------------------------------
|
2051
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2052
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2053
|
+
----------------------------------------------
|
2054
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2055
|
+
----------------------------------------------
|
2056
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-s-I-9-g-V-Y-D-1-t-w' LIMIT 1[0m
|
2057
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2059
|
+
----------------------------------------------------
|
2060
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2061
|
+
----------------------------------------------------
|
2062
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2063
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2064
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-D-y-V-g-Y-2-C-4-u-M' LIMIT 1
|
2065
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-f-p-O-X-y-G-p-D-x-o' LIMIT 1[0m
|
2066
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-C-q-l-I-Z-m-l-K-y-r' LIMIT 1
|
2067
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-V-c-R-8-m-n-x-V-g-3' LIMIT 1[0m
|
2068
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2069
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-V-c-R-8-m-n-x-V-g-3"], ["updated_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00]]
|
2070
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2071
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-c-t-f-w-6-G-N-y-R-n' LIMIT 1[0m
|
2072
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2073
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-c-t-f-w-6-G-N-y-R-n"], ["updated_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00]]
|
2074
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2075
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-A-l-V-S-C-w-A-Q-D' LIMIT 1[0m
|
2076
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2077
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-h-A-l-V-S-C-w-A-Q-D"], ["updated_at", Fri, 10 Jan 2014 17:35:36 UTC +00:00]]
|
2078
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2079
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2080
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2082
|
+
-----------------------------------------------------
|
2083
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2084
|
+
-----------------------------------------------------
|
2085
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-E-b-x-s-7-k-3-v-O' LIMIT 1
|
2086
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-i-y-G-M-q-v-K-e-x-b' LIMIT 1[0m
|
2087
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2088
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2089
|
+
---------------------------------------
|
2090
|
+
HasPublicIdTest: test_Setting_join_with
|
2091
|
+
---------------------------------------
|
2092
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2093
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2094
|
+
-------------------------------------------------
|
2095
|
+
HasPublicIdTest: test_Setting_prefix_empty_string
|
2096
|
+
-------------------------------------------------
|
2097
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2098
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2099
|
+
------------------------------------------
|
2100
|
+
HasPublicIdTest: test_Setting_prefix_false
|
2101
|
+
------------------------------------------
|
2102
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2104
|
+
----------------------------------------
|
2105
|
+
HasPublicIdTest: test_Setting_prefix_nil
|
2106
|
+
----------------------------------------
|
2107
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2108
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2109
|
+
----------------------------------------
|
2110
|
+
HasPublicIdTest: test_Setting_the_prefix
|
2111
|
+
----------------------------------------
|
2112
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2114
|
+
------------------------------------------------------
|
2115
|
+
HasPublicIdTest: test_Suffix_length_works_as_specified
|
2116
|
+
------------------------------------------------------
|
2117
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2118
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2119
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users"
|
2120
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:35:58', '2014-01-10 17:35:58', 980190962)[0m
|
2121
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:35:58', '2014-01-10 17:35:58', 298486374)
|
2122
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:35:58', '2014-01-10 17:35:58', 113629430)[0m
|
2123
|
+
[1m[35m (1.0ms)[0m commit transaction
|
2124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2125
|
+
------------------------------------------------------------------
|
2126
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2127
|
+
------------------------------------------------------------------
|
2128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2130
|
+
-------------------------------------------
|
2131
|
+
HasPublicIdTest: test_Default_character_set
|
2132
|
+
-------------------------------------------
|
2133
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2135
|
+
------------------------------------------------
|
2136
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2137
|
+
------------------------------------------------
|
2138
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-z-e-G-u-l-3-v-i-v-h' LIMIT 1
|
2139
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2140
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00], ["ident", "use-z-e-G-u-l-3-v-i-v-h"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00]]
|
2141
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2142
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-z-e-G-u-l-3-v-i-v-h' ORDER BY "users"."id" ASC LIMIT 1
|
2143
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2144
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2145
|
+
-------------------------------------------------
|
2146
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2147
|
+
-------------------------------------------------
|
2148
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-r-8-e-u-t-g-S-t-Q-7' LIMIT 1[0m
|
2149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2150
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00], ["ident", "use-r-8-e-u-t-g-S-t-Q-7"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00]]
|
2151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2152
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2154
|
+
----------------------------------------------------
|
2155
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2156
|
+
----------------------------------------------------
|
2157
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-H-S-W-u-1-C-P-3-G-o' LIMIT 1[0m
|
2158
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2159
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00], ["ident", "use-H-S-W-u-1-C-P-3-G-o"], ["updated_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00]]
|
2160
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2161
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2162
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2163
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2164
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2165
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2167
|
+
-----------------------------------------------
|
2168
|
+
HasPublicIdTest: test_Generates_a_random_suffix
|
2169
|
+
-----------------------------------------------
|
2170
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2171
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2172
|
+
----------------------------------------------
|
2173
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2174
|
+
----------------------------------------------
|
2175
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q-O-a-Y-7-u-L-m-R-1' LIMIT 1[0m
|
2176
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2178
|
+
----------------------------------------------------
|
2179
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2180
|
+
----------------------------------------------------
|
2181
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2182
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2183
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8-V-D-2-r-d-i-t-M-4' LIMIT 1
|
2184
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e-u-N-A-z-n-H-a-M-5' LIMIT 1[0m
|
2185
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e-i-j-h-Z-h-5-o-Y-d' LIMIT 1
|
2186
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-6-e-m-f-u-f-T-z-N-f' LIMIT 1[0m
|
2187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2188
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-6-e-m-f-u-f-T-z-N-f"], ["updated_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00]]
|
2189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2190
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-N-O-u-7-Y-z-P-k-7-P' LIMIT 1[0m
|
2191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2192
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-N-O-u-7-Y-z-P-k-7-P"], ["updated_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00]]
|
2193
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2194
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-r-8-Y-9-D-D-V-s-m-4' LIMIT 1[0m
|
2195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2196
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-r-8-Y-9-D-D-V-s-m-4"], ["updated_at", Fri, 10 Jan 2014 17:35:58 UTC +00:00]]
|
2197
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2198
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2199
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2201
|
+
-----------------------------------------------------
|
2202
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2203
|
+
-----------------------------------------------------
|
2204
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-3-T-D-6-g-m-s-s-W-0' LIMIT 1
|
2205
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b-g-h-N-U-J-O-i-e-m' LIMIT 1[0m
|
2206
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2207
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2208
|
+
---------------------------------------
|
2209
|
+
HasPublicIdTest: test_Setting_join_with
|
2210
|
+
---------------------------------------
|
2211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2213
|
+
-------------------------------------------------
|
2214
|
+
HasPublicIdTest: test_Setting_prefix_empty_string
|
2215
|
+
-------------------------------------------------
|
2216
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2218
|
+
------------------------------------------
|
2219
|
+
HasPublicIdTest: test_Setting_prefix_false
|
2220
|
+
------------------------------------------
|
2221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2223
|
+
----------------------------------------
|
2224
|
+
HasPublicIdTest: test_Setting_prefix_nil
|
2225
|
+
----------------------------------------
|
2226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2228
|
+
----------------------------------------
|
2229
|
+
HasPublicIdTest: test_Setting_the_prefix
|
2230
|
+
----------------------------------------
|
2231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2233
|
+
------------------------------------------------------
|
2234
|
+
HasPublicIdTest: test_Suffix_length_works_as_specified
|
2235
|
+
------------------------------------------------------
|
2236
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2237
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2238
|
+
------------------------------------------------
|
2239
|
+
HasPublicId::UtilTest: test_Setting_prefix_false
|
2240
|
+
------------------------------------------------
|
2241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2242
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2243
|
+
----------------------------------------------
|
2244
|
+
HasPublicId::UtilTest: test_Setting_prefix_nil
|
2245
|
+
----------------------------------------------
|
2246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2248
|
+
-------------------------------------------
|
2249
|
+
HasPublicId::UtilTest: test_char_set.length
|
2250
|
+
-------------------------------------------
|
2251
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2253
|
+
--------------------------------------------------
|
2254
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
2255
|
+
--------------------------------------------------
|
2256
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2257
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2258
|
+
----------------------------------------------------------
|
2259
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
2260
|
+
----------------------------------------------------------
|
2261
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2263
|
+
-----------------------------------------
|
2264
|
+
HasPublicId::UtilTest: test_new_public_id
|
2265
|
+
-----------------------------------------
|
2266
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2267
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2268
|
+
------------------------------------------------------------
|
2269
|
+
HasPublicId::UtilTest: test_new_public_id(option:_join_with)
|
2270
|
+
------------------------------------------------------------
|
2271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2273
|
+
-------------------------------------------------------------
|
2274
|
+
HasPublicId::UtilTest: test_new_public_id(option:_prefix:_'')
|
2275
|
+
-------------------------------------------------------------
|
2276
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2277
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2278
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
2279
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:39:41', '2014-01-10 17:39:41', 980190962)[0m
|
2280
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:39:41', '2014-01-10 17:39:41', 298486374)
|
2281
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:39:41', '2014-01-10 17:39:41', 113629430)[0m
|
2282
|
+
[1m[35m (0.9ms)[0m commit transaction
|
2283
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2284
|
+
------------------------------------------------------------------
|
2285
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2286
|
+
------------------------------------------------------------------
|
2287
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2289
|
+
------------------------------------------------
|
2290
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2291
|
+
------------------------------------------------
|
2292
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1-2-N-b-C-7-o-A-A-l' LIMIT 1
|
2293
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2294
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00], ["ident", "use-1-2-N-b-C-7-o-A-A-l"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00]]
|
2295
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2296
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-1-2-N-b-C-7-o-A-A-l' ORDER BY "users"."id" ASC LIMIT 1
|
2297
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2298
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2299
|
+
-------------------------------------------------
|
2300
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2301
|
+
-------------------------------------------------
|
2302
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-E-0-b-O-O-6-q-Q-8-E' LIMIT 1[0m
|
2303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2304
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00], ["ident", "use-E-0-b-O-O-6-q-Q-8-E"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00]]
|
2305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2306
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2308
|
+
----------------------------------------------------
|
2309
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2310
|
+
----------------------------------------------------
|
2311
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-s-V-U-W-O-b-o-p-I-D' LIMIT 1[0m
|
2312
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2313
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00], ["ident", "use-s-V-U-W-O-b-o-p-I-D"], ["updated_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00]]
|
2314
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2315
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2317
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2318
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2319
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2320
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2321
|
+
----------------------------------------------
|
2322
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2323
|
+
----------------------------------------------
|
2324
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-p-m-Y-W-K-x-6-x-i-s' LIMIT 1[0m
|
2325
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2327
|
+
----------------------------------------------------
|
2328
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2329
|
+
----------------------------------------------------
|
2330
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2331
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2332
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-G-z-D-y-a-d-U-j-J-8' LIMIT 1
|
2333
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-L-2-3-T-7-o-o-k-Z-4' LIMIT 1[0m
|
2334
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-c-9-k-y-l-N-V-7-8-p' LIMIT 1
|
2335
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q-e-4-n-0-x-5-A-E-d' LIMIT 1[0m
|
2336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2337
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-Q-e-4-n-0-x-5-A-E-d"], ["updated_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00]]
|
2338
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2339
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7-u-h-G-D-x-I-h-D-J' LIMIT 1[0m
|
2340
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2341
|
+
[1m[36mSQL (1.9ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-7-u-h-G-D-x-I-h-D-J"], ["updated_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00]]
|
2342
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2343
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-n-U-z-B-s-O-t-0-J-f' LIMIT 1[0m
|
2344
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2345
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-n-U-z-B-s-O-t-0-J-f"], ["updated_at", Fri, 10 Jan 2014 17:39:41 UTC +00:00]]
|
2346
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2347
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2348
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2349
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2350
|
+
-----------------------------------------------------
|
2351
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2352
|
+
-----------------------------------------------------
|
2353
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1-g-7-7-c-F-H-D-Z-S' LIMIT 1
|
2354
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-m-z-W-7-P-P-I-D-0-e' LIMIT 1[0m
|
2355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2356
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2357
|
+
-------------------------------------------
|
2358
|
+
HasPublicId::UtilTest: test_char_set.length
|
2359
|
+
-------------------------------------------
|
2360
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2362
|
+
--------------------------------------------------
|
2363
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
2364
|
+
--------------------------------------------------
|
2365
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2367
|
+
----------------------------------------------------------
|
2368
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
2369
|
+
----------------------------------------------------------
|
2370
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2371
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2372
|
+
------------------------------------------------------------
|
2373
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
2374
|
+
------------------------------------------------------------
|
2375
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2377
|
+
------------------------------------------------------------
|
2378
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
2379
|
+
------------------------------------------------------------
|
2380
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2382
|
+
---------------------------------------------------------
|
2383
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
2384
|
+
---------------------------------------------------------
|
2385
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2386
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2387
|
+
----------------------------------------------------------
|
2388
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
2389
|
+
----------------------------------------------------------
|
2390
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2391
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2392
|
+
------------------------------------------------------
|
2393
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
2394
|
+
------------------------------------------------------
|
2395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2397
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
2398
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:40:54', '2014-01-10 17:40:54', 980190962)[0m
|
2399
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:40:54', '2014-01-10 17:40:54', 298486374)
|
2400
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:40:54', '2014-01-10 17:40:54', 113629430)[0m
|
2401
|
+
[1m[35m (0.7ms)[0m commit transaction
|
2402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2403
|
+
------------------------------------------------------------------
|
2404
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2405
|
+
------------------------------------------------------------------
|
2406
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2407
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2408
|
+
------------------------------------------------
|
2409
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2410
|
+
------------------------------------------------
|
2411
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-4-j-w-O-R-b-V-B-h-8' LIMIT 1
|
2412
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2413
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00], ["ident", "use-4-j-w-O-R-b-V-B-h-8"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00]]
|
2414
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2415
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-4-j-w-O-R-b-V-B-h-8' ORDER BY "users"."id" ASC LIMIT 1
|
2416
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2417
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2418
|
+
-------------------------------------------------
|
2419
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2420
|
+
-------------------------------------------------
|
2421
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-d-N-Z-v-I-w-q-d-2-U' LIMIT 1[0m
|
2422
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2423
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00], ["ident", "use-d-N-Z-v-I-w-q-d-2-U"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00]]
|
2424
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2425
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2426
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2427
|
+
----------------------------------------------------
|
2428
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2429
|
+
----------------------------------------------------
|
2430
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-d-q-7-o-U-f-4-K-C-1' LIMIT 1[0m
|
2431
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2432
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00], ["ident", "use-d-q-7-o-U-f-4-K-C-1"], ["updated_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00]]
|
2433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2434
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2435
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2436
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2437
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2438
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2439
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2440
|
+
----------------------------------------------
|
2441
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2442
|
+
----------------------------------------------
|
2443
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-k-l-N-N-1-m-J-S-4-x' LIMIT 1[0m
|
2444
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2445
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2446
|
+
----------------------------------------------------
|
2447
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2448
|
+
----------------------------------------------------
|
2449
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2450
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2451
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-6-3-V-j-6-v-N-x-e-H' LIMIT 1
|
2452
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-D-I-l-c-f-1-1-r-N-R' LIMIT 1[0m
|
2453
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-U-y-Y-y-s-P-d-I-y-C' LIMIT 1
|
2454
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-y-2-a-5-t-D-o-q-A-r' LIMIT 1[0m
|
2455
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2456
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-y-2-a-5-t-D-o-q-A-r"], ["updated_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00]]
|
2457
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2458
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q-L-1-c-G-c-Y-E-V-R' LIMIT 1[0m
|
2459
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2460
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-q-L-1-c-G-c-Y-E-V-R"], ["updated_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00]]
|
2461
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2462
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-R-v-Q-B-a-L-s-O-7-A' LIMIT 1[0m
|
2463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2464
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-R-v-Q-B-a-L-s-O-7-A"], ["updated_at", Fri, 10 Jan 2014 17:40:54 UTC +00:00]]
|
2465
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2466
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2467
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2469
|
+
-----------------------------------------------------
|
2470
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2471
|
+
-----------------------------------------------------
|
2472
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-X-X-3-q-t-k-W-s-p-6' LIMIT 1
|
2473
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-3-B-n-b-J-y-w-j-f-x' LIMIT 1[0m
|
2474
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2475
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2476
|
+
-------------------------------------------
|
2477
|
+
HasPublicId::UtilTest: test_char_set.length
|
2478
|
+
-------------------------------------------
|
2479
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2481
|
+
--------------------------------------------------
|
2482
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
2483
|
+
--------------------------------------------------
|
2484
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2486
|
+
----------------------------------------------------------
|
2487
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
2488
|
+
----------------------------------------------------------
|
2489
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2491
|
+
------------------------------------------------------------
|
2492
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
2493
|
+
------------------------------------------------------------
|
2494
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2496
|
+
------------------------------------------------------------
|
2497
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
2498
|
+
------------------------------------------------------------
|
2499
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2501
|
+
---------------------------------------------------------
|
2502
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
2503
|
+
---------------------------------------------------------
|
2504
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2505
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2506
|
+
----------------------------------------------------------
|
2507
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
2508
|
+
----------------------------------------------------------
|
2509
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2511
|
+
------------------------------------------------------
|
2512
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
2513
|
+
------------------------------------------------------
|
2514
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2516
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
2517
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:42:34', '2014-01-10 17:42:34', 980190962)[0m
|
2518
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:42:34', '2014-01-10 17:42:34', 298486374)
|
2519
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:42:34', '2014-01-10 17:42:34', 113629430)[0m
|
2520
|
+
[1m[35m (0.7ms)[0m commit transaction
|
2521
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2522
|
+
------------------------------------------------------------------
|
2523
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2524
|
+
------------------------------------------------------------------
|
2525
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2527
|
+
------------------------------------------------
|
2528
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2529
|
+
------------------------------------------------
|
2530
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-6-i-u-n-u-r-u-n-Y-o-Q-E-g-6' LIMIT 1
|
2531
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2532
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00], ["ident", "use-6-i-u-n-u-r-u-n-Y-o-Q-E-g-6"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00]]
|
2533
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2534
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-6-i-u-n-u-r-u-n-Y-o-Q-E-g-6' ORDER BY "users"."id" ASC LIMIT 1
|
2535
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2537
|
+
-------------------------------------------------
|
2538
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2539
|
+
-------------------------------------------------
|
2540
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-z-t-h-t-W-8-a-s-5-5-r-F-e' LIMIT 1[0m
|
2541
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2542
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00], ["ident", "use-h-z-t-h-t-W-8-a-s-5-5-r-F-e"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00]]
|
2543
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2544
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2545
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2546
|
+
----------------------------------------------------
|
2547
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2548
|
+
----------------------------------------------------
|
2549
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-A-h-g-O-7-L-i-I-E-r-2-E-l-p' LIMIT 1[0m
|
2550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2551
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00], ["ident", "use-A-h-g-O-7-L-i-I-E-r-2-E-l-p"], ["updated_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00]]
|
2552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2553
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2554
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2555
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2556
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2557
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2559
|
+
----------------------------------------------
|
2560
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2561
|
+
----------------------------------------------
|
2562
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-G-w-0-d-r-w-W-3-p-s-V-A-F-l' LIMIT 1[0m
|
2563
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2564
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2565
|
+
----------------------------------------------------
|
2566
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2567
|
+
----------------------------------------------------
|
2568
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2569
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2570
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-a-0-g-B-x-q-8-s-y-X-h-f-o-w' LIMIT 1
|
2571
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-X-T-k-g-i-W-E-X-J-a-2-L-V-h' LIMIT 1[0m
|
2572
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-O-2-i-6-t-c-g-9-L-S-p-f-Q-X' LIMIT 1
|
2573
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-M-Q-r-b-O-C-7-t-f-t-o-0-q-g' LIMIT 1[0m
|
2574
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2575
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-M-Q-r-b-O-C-7-t-f-t-o-0-q-g"], ["updated_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00]]
|
2576
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2577
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-l-8-T-k-x-N-f-3-Y-m-x-7-Y-b' LIMIT 1[0m
|
2578
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2579
|
+
[1m[36mSQL (1.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-l-8-T-k-x-N-f-3-Y-m-x-7-Y-b"], ["updated_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00]]
|
2580
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2581
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-n-v-u-w-n-h-c-y-5-E-D-Z-p-7' LIMIT 1[0m
|
2582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2583
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-n-v-u-w-n-h-c-y-5-E-D-Z-p-7"], ["updated_at", Fri, 10 Jan 2014 17:42:34 UTC +00:00]]
|
2584
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2585
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2586
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2587
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2588
|
+
-----------------------------------------------------
|
2589
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2590
|
+
-----------------------------------------------------
|
2591
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-V-N-V-n-p-a-D-j-8-g-8-N-k-n' LIMIT 1
|
2592
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8-P-K-8-z-5-l-p-J-h-F-g-b-H' LIMIT 1[0m
|
2593
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2594
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2595
|
+
-------------------------------------------
|
2596
|
+
HasPublicId::UtilTest: test_char_set.length
|
2597
|
+
-------------------------------------------
|
2598
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2599
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2600
|
+
--------------------------------------------------
|
2601
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
2602
|
+
--------------------------------------------------
|
2603
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2605
|
+
----------------------------------------------------------
|
2606
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
2607
|
+
----------------------------------------------------------
|
2608
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2609
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2610
|
+
------------------------------------------------------------
|
2611
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
2612
|
+
------------------------------------------------------------
|
2613
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2614
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2615
|
+
------------------------------------------------------------
|
2616
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
2617
|
+
------------------------------------------------------------
|
2618
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2619
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2620
|
+
---------------------------------------------------------
|
2621
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
2622
|
+
---------------------------------------------------------
|
2623
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2625
|
+
----------------------------------------------------------
|
2626
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
2627
|
+
----------------------------------------------------------
|
2628
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2629
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2630
|
+
------------------------------------------------------
|
2631
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
2632
|
+
------------------------------------------------------
|
2633
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2634
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2635
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
2636
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:43:53', '2014-01-10 17:43:53', 980190962)[0m
|
2637
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:43:53', '2014-01-10 17:43:53', 298486374)
|
2638
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:43:53', '2014-01-10 17:43:53', 113629430)[0m
|
2639
|
+
[1m[35m (0.9ms)[0m commit transaction
|
2640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2641
|
+
------------------------------------------------------------------
|
2642
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2643
|
+
------------------------------------------------------------------
|
2644
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2646
|
+
------------------------------------------------
|
2647
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2648
|
+
------------------------------------------------
|
2649
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q-H-r-r-D-4-Q-T-V-w-p-d-q-p' LIMIT 1
|
2650
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2651
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00], ["ident", "use-Q-H-r-r-D-4-Q-T-V-w-p-d-q-p"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00]]
|
2652
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2653
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-Q-H-r-r-D-4-Q-T-V-w-p-d-q-p' ORDER BY "users"."id" ASC LIMIT 1
|
2654
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2655
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2656
|
+
-------------------------------------------------
|
2657
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2658
|
+
-------------------------------------------------
|
2659
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-c-X-E-M-i-Y-v-T-P-k-M-M-m-B' LIMIT 1[0m
|
2660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2661
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00], ["ident", "use-c-X-E-M-i-Y-v-T-P-k-M-M-m-B"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00]]
|
2662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2663
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2665
|
+
----------------------------------------------------
|
2666
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2667
|
+
----------------------------------------------------
|
2668
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b-a-M-p-a-0-R-A-K-q-b-0-F-D' LIMIT 1[0m
|
2669
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2670
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00], ["ident", "use-b-a-M-p-a-0-R-A-K-q-b-0-F-D"], ["updated_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00]]
|
2671
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2672
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2674
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2675
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2676
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2677
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2678
|
+
----------------------------------------------
|
2679
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2680
|
+
----------------------------------------------
|
2681
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-S-t-G-d-k-T-a-o-4-d-a-O-s-i' LIMIT 1[0m
|
2682
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2684
|
+
----------------------------------------------------
|
2685
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2686
|
+
----------------------------------------------------
|
2687
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2688
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2689
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e-x-Q-x-7-K-f-W-j-g-w-C-4-a' LIMIT 1
|
2690
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-u-p-P-6-K-t-c-i-u-f-d-e-j-I' LIMIT 1[0m
|
2691
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-N-Z-5-e-t-j-I-u-4-1-3-Z-Q-F' LIMIT 1
|
2692
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-f-j-F-R-G-t-I-b-Z-l-y-F-k-D' LIMIT 1[0m
|
2693
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2694
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-f-j-F-R-G-t-I-b-Z-l-y-F-k-D"], ["updated_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00]]
|
2695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2696
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q-Y-G-C-K-j-e-E-m-u-I-q-j-2' LIMIT 1[0m
|
2697
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2698
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-q-Y-G-C-K-j-e-E-m-u-I-q-j-2"], ["updated_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00]]
|
2699
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2700
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-z-q-R-6-F-D-8-K-N-s-V-q-s-5' LIMIT 1[0m
|
2701
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2702
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-z-q-R-6-F-D-8-K-N-s-V-q-s-5"], ["updated_at", Fri, 10 Jan 2014 17:43:53 UTC +00:00]]
|
2703
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2704
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2705
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2707
|
+
-----------------------------------------------------
|
2708
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2709
|
+
-----------------------------------------------------
|
2710
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-R-0-x-z-w-T-y-J-C-h-s-x-S-J' LIMIT 1
|
2711
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-N-s-r-Q-B-w-h-M-A-S-E-f-Y-S' LIMIT 1[0m
|
2712
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2713
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2714
|
+
-------------------------------------------
|
2715
|
+
HasPublicId::UtilTest: test_char_set.length
|
2716
|
+
-------------------------------------------
|
2717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2719
|
+
--------------------------------------------------
|
2720
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
2721
|
+
--------------------------------------------------
|
2722
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2724
|
+
----------------------------------------------------------
|
2725
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
2726
|
+
----------------------------------------------------------
|
2727
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2729
|
+
------------------------------------------------------------
|
2730
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
2731
|
+
------------------------------------------------------------
|
2732
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2734
|
+
------------------------------------------------------------
|
2735
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
2736
|
+
------------------------------------------------------------
|
2737
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2739
|
+
---------------------------------------------------------
|
2740
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
2741
|
+
---------------------------------------------------------
|
2742
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2744
|
+
----------------------------------------------------------
|
2745
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
2746
|
+
----------------------------------------------------------
|
2747
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2749
|
+
------------------------------------------------------
|
2750
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
2751
|
+
------------------------------------------------------
|
2752
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2753
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2754
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
2755
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:45:08', '2014-01-10 17:45:08', 980190962)[0m
|
2756
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:45:08', '2014-01-10 17:45:08', 298486374)
|
2757
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:45:08', '2014-01-10 17:45:08', 113629430)[0m
|
2758
|
+
[1m[35m (2.0ms)[0m commit transaction
|
2759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2760
|
+
------------------------------------------------------------------
|
2761
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2762
|
+
------------------------------------------------------------------
|
2763
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2765
|
+
------------------------------------------------
|
2766
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2767
|
+
------------------------------------------------
|
2768
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-D-L-0-T-Q-l-r-C-Z-w-d-w-1-J' LIMIT 1
|
2769
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2770
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00], ["ident", "use-D-L-0-T-Q-l-r-C-Z-w-d-w-1-J"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00]]
|
2771
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2772
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-D-L-0-T-Q-l-r-C-Z-w-d-w-1-J' ORDER BY "users"."id" ASC LIMIT 1
|
2773
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2775
|
+
-------------------------------------------------
|
2776
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2777
|
+
-------------------------------------------------
|
2778
|
+
[1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-P-c-G-M-S-v-L-p-K-9-J-h-j-b' LIMIT 1[0m
|
2779
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2780
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00], ["ident", "use-P-c-G-M-S-v-L-p-K-9-J-h-j-b"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00]]
|
2781
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2782
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2783
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2784
|
+
----------------------------------------------------
|
2785
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2786
|
+
----------------------------------------------------
|
2787
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Y-C-o-O-H-y-l-F-8-N-D-g-d-P' LIMIT 1[0m
|
2788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2789
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00], ["ident", "use-Y-C-o-O-H-y-l-F-8-N-D-g-d-P"], ["updated_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00]]
|
2790
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2791
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2792
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2793
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2794
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2795
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2797
|
+
----------------------------------------------
|
2798
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2799
|
+
----------------------------------------------
|
2800
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-O-z-u-l-4-x-x-c-1-J-d-M-g-n' LIMIT 1[0m
|
2801
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2802
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2803
|
+
----------------------------------------------------
|
2804
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2805
|
+
----------------------------------------------------
|
2806
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2807
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2808
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-m-p-X-S-G-7-m-Y-f-B-K-e-j-Q' LIMIT 1
|
2809
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b-o-Q-s-h-z-j-d-N-s-d-0-u-m' LIMIT 1[0m
|
2810
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-C-1-M-Q-3-c-C-6-C-V-n-x-H-k' LIMIT 1
|
2811
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Y-g-V-L-U-r-1-S-G-N-m-8-3-S' LIMIT 1[0m
|
2812
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2813
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-Y-g-V-L-U-r-1-S-G-N-m-8-3-S"], ["updated_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00]]
|
2814
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2815
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-M-i-P-S-C-R-j-G-J-E-b-w-F-e' LIMIT 1[0m
|
2816
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2817
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-M-i-P-S-C-R-j-G-J-E-b-w-F-e"], ["updated_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00]]
|
2818
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2819
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-X-V-R-4-b-Z-K-P-c-w-Q-f-6-p' LIMIT 1[0m
|
2820
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2821
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-X-V-R-4-b-Z-K-P-c-w-Q-f-6-p"], ["updated_at", Fri, 10 Jan 2014 17:45:08 UTC +00:00]]
|
2822
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2823
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2824
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2826
|
+
-----------------------------------------------------
|
2827
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2828
|
+
-----------------------------------------------------
|
2829
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-P-d-Y-V-s-G-I-a-G-v-y-r-T-5' LIMIT 1
|
2830
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-0-g-T-F-j-4-2-M-N-h-t-X-2-j' LIMIT 1[0m
|
2831
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2832
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2833
|
+
-------------------------------------------
|
2834
|
+
HasPublicId::UtilTest: test_char_set.length
|
2835
|
+
-------------------------------------------
|
2836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2837
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2838
|
+
--------------------------------------------------
|
2839
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
2840
|
+
--------------------------------------------------
|
2841
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2842
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2843
|
+
----------------------------------------------------------
|
2844
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
2845
|
+
----------------------------------------------------------
|
2846
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2847
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2848
|
+
------------------------------------------------------------
|
2849
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
2850
|
+
------------------------------------------------------------
|
2851
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2853
|
+
------------------------------------------------------------
|
2854
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
2855
|
+
------------------------------------------------------------
|
2856
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2857
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2858
|
+
---------------------------------------------------------
|
2859
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
2860
|
+
---------------------------------------------------------
|
2861
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2863
|
+
----------------------------------------------------------
|
2864
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
2865
|
+
----------------------------------------------------------
|
2866
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2867
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2868
|
+
------------------------------------------------------
|
2869
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
2870
|
+
------------------------------------------------------
|
2871
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2872
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2873
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users"
|
2874
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:51:03', '2014-01-10 17:51:03', 980190962)[0m
|
2875
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:51:03', '2014-01-10 17:51:03', 298486374)
|
2876
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:51:03', '2014-01-10 17:51:03', 113629430)[0m
|
2877
|
+
[1m[35m (0.9ms)[0m commit transaction
|
2878
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2879
|
+
------------------------------------------------------------------
|
2880
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
2881
|
+
------------------------------------------------------------------
|
2882
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2884
|
+
------------------------------------------------
|
2885
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
2886
|
+
------------------------------------------------
|
2887
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-4tDr9Nlf67nhBG' LIMIT 1
|
2888
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2889
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00], ["ident", "use-4tDr9Nlf67nhBG"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
|
2890
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2891
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-4tDr9Nlf67nhBG' ORDER BY "users"."id" ASC LIMIT 1
|
2892
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2894
|
+
-------------------------------------------------
|
2895
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
2896
|
+
-------------------------------------------------
|
2897
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-cvJcDepvhr50Wa' LIMIT 1[0m
|
2898
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2899
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00], ["ident", "use-cvJcDepvhr50Wa"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
|
2900
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2901
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2902
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2903
|
+
----------------------------------------------------
|
2904
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
2905
|
+
----------------------------------------------------
|
2906
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-CBSzO34oNvSiUR' LIMIT 1[0m
|
2907
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2908
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00], ["ident", "use-CBSzO34oNvSiUR"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
|
2909
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2910
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2912
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2913
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
2914
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2915
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2916
|
+
----------------------------------------------
|
2917
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
2918
|
+
----------------------------------------------
|
2919
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-y4CUO3pt9Icbbt' LIMIT 1[0m
|
2920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2922
|
+
----------------------------------------------------
|
2923
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
2924
|
+
----------------------------------------------------
|
2925
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
2926
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
2927
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-abcKidThbfoJA1' LIMIT 1
|
2928
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2GW6MrfcYJkvWn' LIMIT 1[0m
|
2929
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ieT5Kxm5UnBGSy' LIMIT 1
|
2930
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-iUjT1Jn8VtbtGM' LIMIT 1[0m
|
2931
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2932
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-iUjT1Jn8VtbtGM"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
|
2933
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2934
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-u64Fq7zWeinEMx' LIMIT 1[0m
|
2935
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2936
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-u64Fq7zWeinEMx"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
|
2937
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2938
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-RIxLv2dzXFuTa3' LIMIT 1[0m
|
2939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2940
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-RIxLv2dzXFuTa3"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
|
2941
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2942
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
2943
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2945
|
+
-----------------------------------------------------
|
2946
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
2947
|
+
-----------------------------------------------------
|
2948
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-KBFNDylvtY7Ecy' LIMIT 1
|
2949
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-k8WA7tvRR3IfEk' LIMIT 1[0m
|
2950
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2951
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
2952
|
+
-------------------------------------------
|
2953
|
+
HasPublicId::UtilTest: test_char_set.length
|
2954
|
+
-------------------------------------------
|
2955
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2957
|
+
--------------------------------------------------
|
2958
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
2959
|
+
--------------------------------------------------
|
2960
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2962
|
+
----------------------------------------------------------
|
2963
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
2964
|
+
----------------------------------------------------------
|
2965
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2967
|
+
------------------------------------------------------------
|
2968
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
2969
|
+
------------------------------------------------------------
|
2970
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2971
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2972
|
+
------------------------------------------------------------
|
2973
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
2974
|
+
------------------------------------------------------------
|
2975
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2977
|
+
---------------------------------------------------------
|
2978
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
2979
|
+
---------------------------------------------------------
|
2980
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2982
|
+
----------------------------------------------------------
|
2983
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
2984
|
+
----------------------------------------------------------
|
2985
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2986
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2987
|
+
------------------------------------------------------
|
2988
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
2989
|
+
------------------------------------------------------
|
2990
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2991
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2992
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
2993
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:53:59', '2014-01-10 17:53:59', 980190962)[0m
|
2994
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:53:59', '2014-01-10 17:53:59', 298486374)
|
2995
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:53:59', '2014-01-10 17:53:59', 113629430)[0m
|
2996
|
+
[1m[35m (0.8ms)[0m commit transaction
|
2997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2998
|
+
------------------------------------------------------------------
|
2999
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
3000
|
+
------------------------------------------------------------------
|
3001
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3003
|
+
------------------------------------------------
|
3004
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
3005
|
+
------------------------------------------------
|
3006
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-27pSLFWhcSnHlg' LIMIT 1
|
3007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3008
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00], ["ident", "use-27pSLFWhcSnHlg"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
|
3009
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3010
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-27pSLFWhcSnHlg' ORDER BY "users"."id" ASC LIMIT 1
|
3011
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3013
|
+
-------------------------------------------------
|
3014
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
3015
|
+
-------------------------------------------------
|
3016
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ctVfXMtlEsdzfy' LIMIT 1[0m
|
3017
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3018
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00], ["ident", "use-ctVfXMtlEsdzfy"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
|
3019
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3020
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3022
|
+
----------------------------------------------------
|
3023
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
3024
|
+
----------------------------------------------------
|
3025
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ZzqyhAwSfyDBbc' LIMIT 1[0m
|
3026
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3027
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00], ["ident", "use-ZzqyhAwSfyDBbc"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
|
3028
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3029
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3030
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3031
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3032
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3033
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3034
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3035
|
+
----------------------------------------------
|
3036
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
3037
|
+
----------------------------------------------
|
3038
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-HKs8XLdtpYtWDd' LIMIT 1[0m
|
3039
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3040
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3041
|
+
----------------------------------------------------
|
3042
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
3043
|
+
----------------------------------------------------
|
3044
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3045
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
3046
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-kd6uteYEXAF6Dd' LIMIT 1
|
3047
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-hF7dvuau9QwGRm' LIMIT 1[0m
|
3048
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-UKeNF0G9PPbK9M' LIMIT 1
|
3049
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-x3JMQo67qqYj2i' LIMIT 1[0m
|
3050
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3051
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-x3JMQo67qqYj2i"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
|
3052
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3053
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7grQl5FYvfqV7G' LIMIT 1[0m
|
3054
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3055
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-7grQl5FYvfqV7G"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
|
3056
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3057
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-RrkTc7O0uEqlJk' LIMIT 1[0m
|
3058
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3059
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-RrkTc7O0uEqlJk"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
|
3060
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3061
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3062
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3064
|
+
-----------------------------------------------------
|
3065
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
3066
|
+
-----------------------------------------------------
|
3067
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-RbignESBvPiLwP' LIMIT 1
|
3068
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-nQJs8PzBIciiWO' LIMIT 1[0m
|
3069
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3070
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3071
|
+
-------------------------------------------
|
3072
|
+
HasPublicId::UtilTest: test_char_set.length
|
3073
|
+
-------------------------------------------
|
3074
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3076
|
+
--------------------------------------------------
|
3077
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3078
|
+
--------------------------------------------------
|
3079
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3080
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3081
|
+
----------------------------------------------------------
|
3082
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3083
|
+
----------------------------------------------------------
|
3084
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3086
|
+
------------------------------------------------------------
|
3087
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3088
|
+
------------------------------------------------------------
|
3089
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3091
|
+
------------------------------------------------------------
|
3092
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3093
|
+
------------------------------------------------------------
|
3094
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3096
|
+
---------------------------------------------------------
|
3097
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3098
|
+
---------------------------------------------------------
|
3099
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3100
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3101
|
+
----------------------------------------------------------
|
3102
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3103
|
+
----------------------------------------------------------
|
3104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3106
|
+
------------------------------------------------------
|
3107
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3108
|
+
------------------------------------------------------
|
3109
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3111
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
3112
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:54:34', '2014-01-10 17:54:34', 980190962)[0m
|
3113
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:54:34', '2014-01-10 17:54:34', 298486374)
|
3114
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:54:34', '2014-01-10 17:54:34', 113629430)[0m
|
3115
|
+
[1m[35m (2.1ms)[0m commit transaction
|
3116
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3117
|
+
------------------------------------------------------------------
|
3118
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
3119
|
+
------------------------------------------------------------------
|
3120
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3122
|
+
------------------------------------------------
|
3123
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
3124
|
+
------------------------------------------------
|
3125
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-OcYl99oaHx1C4Z' LIMIT 1
|
3126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3127
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00], ["ident", "use-OcYl99oaHx1C4Z"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
|
3128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3129
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-OcYl99oaHx1C4Z' ORDER BY "users"."id" ASC LIMIT 1
|
3130
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3131
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3132
|
+
-------------------------------------------------
|
3133
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
3134
|
+
-------------------------------------------------
|
3135
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-mM5VAaHMzS3tYh' LIMIT 1[0m
|
3136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3137
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00], ["ident", "use-mM5VAaHMzS3tYh"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
|
3138
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3139
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3141
|
+
----------------------------------------------------
|
3142
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
3143
|
+
----------------------------------------------------
|
3144
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YmEN27LukeBFIG' LIMIT 1[0m
|
3145
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3146
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00], ["ident", "use-YmEN27LukeBFIG"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
|
3147
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3148
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3150
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3151
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3152
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3154
|
+
----------------------------------------------
|
3155
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
3156
|
+
----------------------------------------------
|
3157
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-awKsIVKqx0b9xY' LIMIT 1[0m
|
3158
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3159
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3160
|
+
----------------------------------------------------
|
3161
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
3162
|
+
----------------------------------------------------
|
3163
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3164
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
3165
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VX5yWCfC1FNW00' LIMIT 1
|
3166
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-TrQUFXqIvoNrBc' LIMIT 1[0m
|
3167
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VzQzGDRnr8oRC3' LIMIT 1
|
3168
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Kur8QDR5eNfGQg' LIMIT 1[0m
|
3169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3170
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-Kur8QDR5eNfGQg"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
|
3171
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3172
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-XOeNr5cODIFQBH' LIMIT 1[0m
|
3173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3174
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-XOeNr5cODIFQBH"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
|
3175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3176
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2sVSSoBjFccRMX' LIMIT 1[0m
|
3177
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3178
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-2sVSSoBjFccRMX"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
|
3179
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3180
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3181
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3183
|
+
-----------------------------------------------------
|
3184
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
3185
|
+
-----------------------------------------------------
|
3186
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-lt5S6Hau83D36G' LIMIT 1
|
3187
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-cRhZWnI8wm4Ixr' LIMIT 1[0m
|
3188
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3189
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3190
|
+
-------------------------------------------
|
3191
|
+
HasPublicId::UtilTest: test_char_set.length
|
3192
|
+
-------------------------------------------
|
3193
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3194
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3195
|
+
--------------------------------------------------
|
3196
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3197
|
+
--------------------------------------------------
|
3198
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3200
|
+
----------------------------------------------------------
|
3201
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3202
|
+
----------------------------------------------------------
|
3203
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3205
|
+
------------------------------------------------------------
|
3206
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3207
|
+
------------------------------------------------------------
|
3208
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3210
|
+
------------------------------------------------------------
|
3211
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3212
|
+
------------------------------------------------------------
|
3213
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3214
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3215
|
+
---------------------------------------------------------
|
3216
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3217
|
+
---------------------------------------------------------
|
3218
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3220
|
+
----------------------------------------------------------
|
3221
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3222
|
+
----------------------------------------------------------
|
3223
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3225
|
+
------------------------------------------------------
|
3226
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3227
|
+
------------------------------------------------------
|
3228
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3230
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
3231
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:55:08', '2014-01-10 17:55:08', 980190962)[0m
|
3232
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:55:08', '2014-01-10 17:55:08', 298486374)
|
3233
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:55:08', '2014-01-10 17:55:08', 113629430)[0m
|
3234
|
+
[1m[35m (0.9ms)[0m commit transaction
|
3235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3236
|
+
------------------------------------------------------------------
|
3237
|
+
HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
|
3238
|
+
------------------------------------------------------------------
|
3239
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3240
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3241
|
+
------------------------------------------------
|
3242
|
+
HasPublicIdTest: test_Defines_#find_by_public_id
|
3243
|
+
------------------------------------------------
|
3244
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-mRP0cNlg9iugOf' LIMIT 1
|
3245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3246
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00], ["ident", "use-mRP0cNlg9iugOf"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
|
3247
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3248
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-mRP0cNlg9iugOf' ORDER BY "users"."id" ASC LIMIT 1
|
3249
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3250
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3251
|
+
-------------------------------------------------
|
3252
|
+
HasPublicIdTest: test_Defines_#find_by_public_id!
|
3253
|
+
-------------------------------------------------
|
3254
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ywGrcZqfsEv6oG' LIMIT 1[0m
|
3255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3256
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00], ["ident", "use-ywGrcZqfsEv6oG"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
|
3257
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3258
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3260
|
+
----------------------------------------------------
|
3261
|
+
HasPublicIdTest: test_Doesn't_change_on_save,_update
|
3262
|
+
----------------------------------------------------
|
3263
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-sXz4vkuUU36MST' LIMIT 1[0m
|
3264
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3265
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00], ["ident", "use-sXz4vkuUU36MST"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
|
3266
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3267
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3268
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3269
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3270
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3271
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3273
|
+
----------------------------------------------
|
3274
|
+
HasPublicIdTest: test_Ident_should_==_to_param
|
3275
|
+
----------------------------------------------
|
3276
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-IVKjKeM6aYMndH' LIMIT 1[0m
|
3277
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3279
|
+
----------------------------------------------------
|
3280
|
+
HasPublicIdTest: test_Initialize_all_the_public_id's
|
3281
|
+
----------------------------------------------------
|
3282
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3283
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
3284
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-dak6ymXcZ9dfUM' LIMIT 1
|
3285
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2wbHaqoO9Wfw0J' LIMIT 1[0m
|
3286
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-LLXCxxXj1s3IQU' LIMIT 1
|
3287
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-OQ8Zss3uPSbdcd' LIMIT 1[0m
|
3288
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3289
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-OQ8Zss3uPSbdcd"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
|
3290
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3291
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-n5zNoclYK1BdaL' LIMIT 1[0m
|
3292
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3293
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-n5zNoclYK1BdaL"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
|
3294
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3295
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YR1BRXx9mz0f3h' LIMIT 1[0m
|
3296
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3297
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-YR1BRXx9mz0f3h"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
|
3298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3299
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3300
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3302
|
+
-----------------------------------------------------
|
3303
|
+
HasPublicIdTest: test_New_users_get_an_ID_initialized
|
3304
|
+
-----------------------------------------------------
|
3305
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-SXUhbqeWdy3iBu' LIMIT 1
|
3306
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-HCVarojqy5l1cc' LIMIT 1[0m
|
3307
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3309
|
+
------------------------
|
3310
|
+
UserTest: test_the_truth
|
3311
|
+
------------------------
|
3312
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3313
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3314
|
+
-------------------------------------------
|
3315
|
+
HasPublicId::UtilTest: test_char_set.length
|
3316
|
+
-------------------------------------------
|
3317
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3319
|
+
--------------------------------------------------
|
3320
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3321
|
+
--------------------------------------------------
|
3322
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3324
|
+
----------------------------------------------------------
|
3325
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3326
|
+
----------------------------------------------------------
|
3327
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3329
|
+
------------------------------------------------------------
|
3330
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3331
|
+
------------------------------------------------------------
|
3332
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3333
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3334
|
+
------------------------------------------------------------
|
3335
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3336
|
+
------------------------------------------------------------
|
3337
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3339
|
+
---------------------------------------------------------
|
3340
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3341
|
+
---------------------------------------------------------
|
3342
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3344
|
+
----------------------------------------------------------
|
3345
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3346
|
+
----------------------------------------------------------
|
3347
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3349
|
+
------------------------------------------------------
|
3350
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3351
|
+
------------------------------------------------------
|
3352
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3354
|
+
---------------------------
|
3355
|
+
HasPublicIdTest: test_Mixin
|
3356
|
+
---------------------------
|
3357
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3358
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3359
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
3360
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:57:58', '2014-01-10 17:57:58', 980190962)[0m
|
3361
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:57:58', '2014-01-10 17:57:58', 298486374)
|
3362
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:57:58', '2014-01-10 17:57:58', 113629430)[0m
|
3363
|
+
[1m[35m (0.9ms)[0m commit transaction
|
3364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3365
|
+
-----------------------------------------
|
3366
|
+
UserTest: test_Defines_#find_by_public_id
|
3367
|
+
-----------------------------------------
|
3368
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-0mb9LT7IJcJrgW' LIMIT 1
|
3369
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3370
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00], ["ident", "use-0mb9LT7IJcJrgW"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
|
3371
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3372
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-0mb9LT7IJcJrgW' ORDER BY "users"."id" ASC LIMIT 1
|
3373
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3374
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3375
|
+
------------------------------------------
|
3376
|
+
UserTest: test_Defines_#find_by_public_id!
|
3377
|
+
------------------------------------------
|
3378
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-xzCugw7rgabiPN' LIMIT 1[0m
|
3379
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3380
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00], ["ident", "use-xzCugw7rgabiPN"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
|
3381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3382
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3383
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3384
|
+
---------------------------------------------
|
3385
|
+
UserTest: test_Doesn't_change_on_save,_update
|
3386
|
+
---------------------------------------------
|
3387
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-xQqsbXVGIJ4j4a' LIMIT 1[0m
|
3388
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3389
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00], ["ident", "use-xQqsbXVGIJ4j4a"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
|
3390
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3391
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3392
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3393
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3394
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3395
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3397
|
+
---------------------------------------
|
3398
|
+
UserTest: test_Ident_should_==_to_param
|
3399
|
+
---------------------------------------
|
3400
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YmW7Vx6EgSF1pJ' LIMIT 1[0m
|
3401
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3403
|
+
---------------------------------------------
|
3404
|
+
UserTest: test_Initialize_all_the_public_id's
|
3405
|
+
---------------------------------------------
|
3406
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3407
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
3408
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-EewqJHmSixZbJQ' LIMIT 1
|
3409
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-iyuEfmqiuUlOYo' LIMIT 1[0m
|
3410
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-wL61woLT1mdc3J' LIMIT 1
|
3411
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1pMZe18F7VIlPo' LIMIT 1[0m
|
3412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3413
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-1pMZe18F7VIlPo"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
|
3414
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3415
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-IpiyCac6DS9QNs' LIMIT 1[0m
|
3416
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3417
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-IpiyCac6DS9QNs"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
|
3418
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3419
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tdeV2h8Nsrh8Ye' LIMIT 1[0m
|
3420
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3421
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-tdeV2h8Nsrh8Ye"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
|
3422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3423
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3424
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3426
|
+
----------------------------------------------
|
3427
|
+
UserTest: test_New_users_get_an_ID_initialized
|
3428
|
+
----------------------------------------------
|
3429
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-rV6guuQtK2PEDm' LIMIT 1
|
3430
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Ku2cKn3tE1lavR' LIMIT 1[0m
|
3431
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3432
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3433
|
+
-------------------------------------------
|
3434
|
+
HasPublicId::UtilTest: test_char_set.length
|
3435
|
+
-------------------------------------------
|
3436
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3438
|
+
--------------------------------------------------
|
3439
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3440
|
+
--------------------------------------------------
|
3441
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3443
|
+
----------------------------------------------------------
|
3444
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3445
|
+
----------------------------------------------------------
|
3446
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3448
|
+
------------------------------------------------------------
|
3449
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3450
|
+
------------------------------------------------------------
|
3451
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3453
|
+
------------------------------------------------------------
|
3454
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3455
|
+
------------------------------------------------------------
|
3456
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3457
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3458
|
+
---------------------------------------------------------
|
3459
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3460
|
+
---------------------------------------------------------
|
3461
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3463
|
+
----------------------------------------------------------
|
3464
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3465
|
+
----------------------------------------------------------
|
3466
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3468
|
+
------------------------------------------------------
|
3469
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3470
|
+
------------------------------------------------------
|
3471
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3473
|
+
---------------------------
|
3474
|
+
HasPublicIdTest: test_Mixin
|
3475
|
+
---------------------------
|
3476
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3477
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3478
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
3479
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:59:23', '2014-01-10 17:59:23', 980190962)[0m
|
3480
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:59:23', '2014-01-10 17:59:23', 298486374)
|
3481
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:59:23', '2014-01-10 17:59:23', 113629430)[0m
|
3482
|
+
[1m[35m (0.9ms)[0m commit transaction
|
3483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3484
|
+
--------------------------------------
|
3485
|
+
UserTest: test_.initialize_public_ids!
|
3486
|
+
--------------------------------------
|
3487
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3488
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
3489
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VRnUKPbR7LU1ZK' LIMIT 1
|
3490
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ST9rGXoEhVI9RR' LIMIT 1[0m
|
3491
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-LbxlNcGIeVSktd' LIMIT 1
|
3492
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-4Zgao96EOraYNZ' LIMIT 1[0m
|
3493
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3494
|
+
[1m[36mSQL (3.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-4Zgao96EOraYNZ"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
|
3495
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3496
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-lTjR1b3VyL4djt' LIMIT 1[0m
|
3497
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3498
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-lTjR1b3VyL4djt"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
|
3499
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3500
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ZAOEfy0QaHeK6r' LIMIT 1[0m
|
3501
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3502
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-ZAOEfy0QaHeK6r"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
|
3503
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3504
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3505
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3506
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3507
|
+
--------------------------------
|
3508
|
+
UserTest: test_find_by_public_id
|
3509
|
+
--------------------------------
|
3510
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-PtvnNqxZEBEwDJ' LIMIT 1
|
3511
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3512
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00], ["ident", "use-PtvnNqxZEBEwDJ"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
|
3513
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3514
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-PtvnNqxZEBEwDJ' ORDER BY "users"."id" ASC LIMIT 1
|
3515
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3517
|
+
---------------------------------
|
3518
|
+
UserTest: test_find_by_public_id!
|
3519
|
+
---------------------------------
|
3520
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-W3lwCNlpiPTtSh' LIMIT 1[0m
|
3521
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3522
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00], ["ident", "use-W3lwCNlpiPTtSh"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
|
3523
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3524
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3526
|
+
---------------------------------------
|
3527
|
+
UserTest: test_identifier_doesnt_change
|
3528
|
+
---------------------------------------
|
3529
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-AZLcMcVqJt9DRD' LIMIT 1[0m
|
3530
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3531
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00], ["ident", "use-AZLcMcVqJt9DRD"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
|
3532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3533
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3534
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3535
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3536
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3537
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3538
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3539
|
+
-------------------------------------
|
3540
|
+
UserTest: test_identifier_initializes
|
3541
|
+
-------------------------------------
|
3542
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-36yDnYw45gRKiU' LIMIT 1[0m
|
3543
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-pAOHsTnVpjQDik' LIMIT 1
|
3544
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3545
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3546
|
+
-----------------------
|
3547
|
+
UserTest: test_to_param
|
3548
|
+
-----------------------
|
3549
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8XWyFGkrcXuL38' LIMIT 1[0m
|
3550
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3551
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
3552
|
+
-------------------------------------------
|
3553
|
+
HasPublicId::UtilTest: test_char_set.length
|
3554
|
+
-------------------------------------------
|
3555
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3556
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3557
|
+
--------------------------------------------------
|
3558
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3559
|
+
--------------------------------------------------
|
3560
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3561
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3562
|
+
----------------------------------------------------------
|
3563
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3564
|
+
----------------------------------------------------------
|
3565
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3567
|
+
------------------------------------------------------------
|
3568
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3569
|
+
------------------------------------------------------------
|
3570
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3572
|
+
------------------------------------------------------------
|
3573
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3574
|
+
------------------------------------------------------------
|
3575
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3577
|
+
---------------------------------------------------------
|
3578
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3579
|
+
---------------------------------------------------------
|
3580
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3582
|
+
----------------------------------------------------------
|
3583
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3584
|
+
----------------------------------------------------------
|
3585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3587
|
+
------------------------------------------------------
|
3588
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3589
|
+
------------------------------------------------------
|
3590
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3591
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3592
|
+
---------------------------
|
3593
|
+
HasPublicIdTest: test_Mixin
|
3594
|
+
---------------------------
|
3595
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3596
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3597
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
3598
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 17:59:35', '2014-01-10 17:59:35', 980190962)[0m
|
3599
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 17:59:35', '2014-01-10 17:59:35', 298486374)
|
3600
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 17:59:35', '2014-01-10 17:59:35', 113629430)[0m
|
3601
|
+
[1m[35m (0.8ms)[0m commit transaction
|
3602
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3603
|
+
---------------------------------
|
3604
|
+
UserTest: test_.find_by_public_id
|
3605
|
+
---------------------------------
|
3606
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-AVT1YuTarIPelH' LIMIT 1
|
3607
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3608
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00], ["ident", "use-AVT1YuTarIPelH"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00]]
|
3609
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3610
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-AVT1YuTarIPelH' ORDER BY "users"."id" ASC LIMIT 1
|
3611
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3613
|
+
----------------------------------
|
3614
|
+
UserTest: test_.find_by_public_id!
|
3615
|
+
----------------------------------
|
3616
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Qg91sNVTHsiIN8' LIMIT 1[0m
|
3617
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3618
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00], ["ident", "use-Qg91sNVTHsiIN8"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00]]
|
3619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3620
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3622
|
+
--------------------------------------
|
3623
|
+
UserTest: test_.initialize_public_ids!
|
3624
|
+
--------------------------------------
|
3625
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3626
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
|
3627
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-TsJg8XyT8bL5Do' LIMIT 1[0m
|
3628
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-wUC9UkLHKl0b3d' LIMIT 1
|
3629
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-iHIgV0RL9FSpEM' LIMIT 1[0m
|
3630
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-uTn1OzuRawzLX0' LIMIT 1
|
3631
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3632
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-uTn1OzuRawzLX0"], ["updated_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00]]
|
3633
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3634
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-F8Ipkio13Ip8kS' LIMIT 1
|
3635
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3636
|
+
[1m[35mSQL (1.2ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-F8Ipkio13Ip8kS"], ["updated_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00]]
|
3637
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3638
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7UaiNfKuYGgsbj' LIMIT 1
|
3639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3640
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-7UaiNfKuYGgsbj"], ["updated_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00]]
|
3641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3642
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3643
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3644
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3645
|
+
---------------------------------------
|
3646
|
+
UserTest: test_identifier_doesnt_change
|
3647
|
+
---------------------------------------
|
3648
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-sutDw6rr8q3HPm' LIMIT 1[0m
|
3649
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3650
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00], ["ident", "use-sutDw6rr8q3HPm"], ["updated_at", Fri, 10 Jan 2014 17:59:35 UTC +00:00]]
|
3651
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3652
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3653
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3654
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3655
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3656
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3658
|
+
-------------------------------------
|
3659
|
+
UserTest: test_identifier_initializes
|
3660
|
+
-------------------------------------
|
3661
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-icJZXmM0fROa2z' LIMIT 1[0m
|
3662
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-nXkmJYB7H5JSzD' LIMIT 1
|
3663
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3665
|
+
-----------------------
|
3666
|
+
UserTest: test_to_param
|
3667
|
+
-----------------------
|
3668
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-NYnfPLr1Q3oAB8' LIMIT 1[0m
|
3669
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3670
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3671
|
+
-------------------------------------------
|
3672
|
+
HasPublicId::UtilTest: test_char_set.length
|
3673
|
+
-------------------------------------------
|
3674
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3675
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3676
|
+
--------------------------------------------------
|
3677
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3678
|
+
--------------------------------------------------
|
3679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3681
|
+
----------------------------------------------------------
|
3682
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3683
|
+
----------------------------------------------------------
|
3684
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3685
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3686
|
+
------------------------------------------------------------
|
3687
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3688
|
+
------------------------------------------------------------
|
3689
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3690
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3691
|
+
------------------------------------------------------------
|
3692
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3693
|
+
------------------------------------------------------------
|
3694
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3696
|
+
---------------------------------------------------------
|
3697
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3698
|
+
---------------------------------------------------------
|
3699
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3700
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3701
|
+
----------------------------------------------------------
|
3702
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3703
|
+
----------------------------------------------------------
|
3704
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3705
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3706
|
+
------------------------------------------------------
|
3707
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3708
|
+
------------------------------------------------------
|
3709
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3711
|
+
---------------------------
|
3712
|
+
HasPublicIdTest: test_Mixin
|
3713
|
+
---------------------------
|
3714
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3715
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3716
|
+
-------------------------------------------
|
3717
|
+
HasPublicId::UtilTest: test_char_set.length
|
3718
|
+
-------------------------------------------
|
3719
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3721
|
+
--------------------------------------------------
|
3722
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3723
|
+
--------------------------------------------------
|
3724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3726
|
+
----------------------------------------------------------
|
3727
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3728
|
+
----------------------------------------------------------
|
3729
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3730
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3731
|
+
------------------------------------------------------------
|
3732
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3733
|
+
------------------------------------------------------------
|
3734
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3736
|
+
------------------------------------------------------------
|
3737
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3738
|
+
------------------------------------------------------------
|
3739
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3741
|
+
---------------------------------------------------------
|
3742
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3743
|
+
---------------------------------------------------------
|
3744
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3746
|
+
----------------------------------------------------------
|
3747
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3748
|
+
----------------------------------------------------------
|
3749
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3751
|
+
------------------------------------------------------
|
3752
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3753
|
+
------------------------------------------------------
|
3754
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3756
|
+
---------------------------
|
3757
|
+
HasPublicIdTest: test_Mixin
|
3758
|
+
---------------------------
|
3759
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3761
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
3762
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:00:33', '2014-01-10 18:00:33', 980190962)[0m
|
3763
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:00:33', '2014-01-10 18:00:33', 298486374)
|
3764
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:00:33', '2014-01-10 18:00:33', 113629430)[0m
|
3765
|
+
[1m[35m (0.7ms)[0m commit transaction
|
3766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3767
|
+
--------------------------------
|
3768
|
+
UserTest: test_find_by_public_id
|
3769
|
+
--------------------------------
|
3770
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1uR13nRmGHz58S' LIMIT 1
|
3771
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3772
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00], ["ident", "use-1uR13nRmGHz58S"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00]]
|
3773
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3774
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-1uR13nRmGHz58S' ORDER BY "users"."id" ASC LIMIT 1
|
3775
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3777
|
+
---------------------------------
|
3778
|
+
UserTest: test_find_by_public_id!
|
3779
|
+
---------------------------------
|
3780
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1p2opGJ0NPnoSu' LIMIT 1[0m
|
3781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3782
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00], ["ident", "use-1p2opGJ0NPnoSu"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00]]
|
3783
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3784
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3785
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3786
|
+
---------------------------------------
|
3787
|
+
UserTest: test_identifier_doesnt_change
|
3788
|
+
---------------------------------------
|
3789
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-yuPfmPpxd6wYlM' LIMIT 1[0m
|
3790
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3791
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00], ["ident", "use-yuPfmPpxd6wYlM"], ["updated_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00]]
|
3792
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3793
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3794
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3795
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3796
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3797
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3798
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3799
|
+
-------------------------------------
|
3800
|
+
UserTest: test_identifier_initializes
|
3801
|
+
-------------------------------------
|
3802
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-auPghjv0mEaq7v' LIMIT 1[0m
|
3803
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8rWqKKEejkoQD1' LIMIT 1
|
3804
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3806
|
+
-------------------------------------
|
3807
|
+
UserTest: test_initialize_public_ids!
|
3808
|
+
-------------------------------------
|
3809
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3810
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
|
3811
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-V87SoyuKmaC7vf' LIMIT 1[0m
|
3812
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1qJoOrFRKRjfQU' LIMIT 1
|
3813
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-0LItB5anP6AtGS' LIMIT 1[0m
|
3814
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tc7PH4VezlXOHy' LIMIT 1
|
3815
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3816
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-tc7PH4VezlXOHy"], ["updated_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00]]
|
3817
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3818
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-a83scCklLWsDg0' LIMIT 1
|
3819
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3820
|
+
[1m[35mSQL (1.1ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-a83scCklLWsDg0"], ["updated_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00]]
|
3821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3822
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-UTsNoSNiYnZ7eH' LIMIT 1
|
3823
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3824
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-UTsNoSNiYnZ7eH"], ["updated_at", Fri, 10 Jan 2014 18:00:33 UTC +00:00]]
|
3825
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3826
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3827
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3828
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3829
|
+
------------------------------------------
|
3830
|
+
UserTest: test_to_param_matches_identifier
|
3831
|
+
------------------------------------------
|
3832
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YMxIYgUN9CkaWA' LIMIT 1[0m
|
3833
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3834
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3835
|
+
-------------------------------------------
|
3836
|
+
HasPublicId::UtilTest: test_char_set.length
|
3837
|
+
-------------------------------------------
|
3838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3840
|
+
--------------------------------------------------
|
3841
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3842
|
+
--------------------------------------------------
|
3843
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3845
|
+
----------------------------------------------------------
|
3846
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3847
|
+
----------------------------------------------------------
|
3848
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3850
|
+
------------------------------------------------------------
|
3851
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3852
|
+
------------------------------------------------------------
|
3853
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3854
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3855
|
+
------------------------------------------------------------
|
3856
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3857
|
+
------------------------------------------------------------
|
3858
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3860
|
+
---------------------------------------------------------
|
3861
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3862
|
+
---------------------------------------------------------
|
3863
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3864
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3865
|
+
----------------------------------------------------------
|
3866
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3867
|
+
----------------------------------------------------------
|
3868
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3870
|
+
------------------------------------------------------
|
3871
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3872
|
+
------------------------------------------------------
|
3873
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3875
|
+
---------------------------
|
3876
|
+
HasPublicIdTest: test_Mixin
|
3877
|
+
---------------------------
|
3878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3879
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3880
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
3881
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:01:02', '2014-01-10 18:01:02', 980190962)[0m
|
3882
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:01:02', '2014-01-10 18:01:02', 298486374)
|
3883
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:01:02', '2014-01-10 18:01:02', 113629430)[0m
|
3884
|
+
[1m[35m (0.8ms)[0m commit transaction
|
3885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3886
|
+
--------------------------------
|
3887
|
+
UserTest: test_find_by_public_id
|
3888
|
+
--------------------------------
|
3889
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-GJfEm5NWzrjRAs' LIMIT 1
|
3890
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3891
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00], ["ident", "use-GJfEm5NWzrjRAs"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
|
3892
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3893
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-GJfEm5NWzrjRAs' ORDER BY "users"."id" ASC LIMIT 1
|
3894
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3895
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3896
|
+
---------------------------------
|
3897
|
+
UserTest: test_find_by_public_id!
|
3898
|
+
---------------------------------
|
3899
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-BIUF5SwZxkm6fd' LIMIT 1[0m
|
3900
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3901
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00], ["ident", "use-BIUF5SwZxkm6fd"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
|
3902
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3903
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'use-BIUF5SwZxkm6fd' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3904
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3906
|
+
---------------------------------------
|
3907
|
+
UserTest: test_identifier_doesnt_change
|
3908
|
+
---------------------------------------
|
3909
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-lZL1wyCZqBJjcd' LIMIT 1
|
3910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3911
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00], ["ident", "use-lZL1wyCZqBJjcd"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
|
3912
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3913
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
3914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3915
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3916
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
3917
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3919
|
+
-------------------------------------
|
3920
|
+
UserTest: test_identifier_initializes
|
3921
|
+
-------------------------------------
|
3922
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-t5rh2NfedWXuSj' LIMIT 1
|
3923
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-NqL52Ric536Duq' LIMIT 1[0m
|
3924
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3926
|
+
-------------------------------------
|
3927
|
+
UserTest: test_initialize_public_ids!
|
3928
|
+
-------------------------------------
|
3929
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
3930
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
3931
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-QsLPgQZEyd2fvE' LIMIT 1
|
3932
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-oCyq37FLTSUwev' LIMIT 1[0m
|
3933
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-PdiUcxSRkkjOYp' LIMIT 1
|
3934
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VtEiFKAmXZX31Z' LIMIT 1[0m
|
3935
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3936
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-VtEiFKAmXZX31Z"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
|
3937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3938
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-y5IR416x1ICnaA' LIMIT 1[0m
|
3939
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3940
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-y5IR416x1ICnaA"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
|
3941
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3942
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-kpS3lycbQzzCoh' LIMIT 1[0m
|
3943
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3944
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-kpS3lycbQzzCoh"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
|
3945
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3946
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
3947
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3949
|
+
------------------------------------------
|
3950
|
+
UserTest: test_to_param_matches_identifier
|
3951
|
+
------------------------------------------
|
3952
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-460x8ifECVi8hA' LIMIT 1
|
3953
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3954
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
3955
|
+
-------------------------------------------
|
3956
|
+
HasPublicId::UtilTest: test_char_set.length
|
3957
|
+
-------------------------------------------
|
3958
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3959
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3960
|
+
--------------------------------------------------
|
3961
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
3962
|
+
--------------------------------------------------
|
3963
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3965
|
+
----------------------------------------------------------
|
3966
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
3967
|
+
----------------------------------------------------------
|
3968
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3970
|
+
------------------------------------------------------------
|
3971
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
3972
|
+
------------------------------------------------------------
|
3973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3975
|
+
------------------------------------------------------------
|
3976
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
3977
|
+
------------------------------------------------------------
|
3978
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3979
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3980
|
+
---------------------------------------------------------
|
3981
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
3982
|
+
---------------------------------------------------------
|
3983
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3984
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3985
|
+
----------------------------------------------------------
|
3986
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
3987
|
+
----------------------------------------------------------
|
3988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3990
|
+
------------------------------------------------------
|
3991
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
3992
|
+
------------------------------------------------------
|
3993
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3994
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3995
|
+
---------------------------
|
3996
|
+
HasPublicIdTest: test_Mixin
|
3997
|
+
---------------------------
|
3998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4000
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
4001
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:01:25', '2014-01-10 18:01:25', 980190962)[0m
|
4002
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:01:25', '2014-01-10 18:01:25', 298486374)
|
4003
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:01:25', '2014-01-10 18:01:25', 113629430)[0m
|
4004
|
+
[1m[35m (0.8ms)[0m commit transaction
|
4005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4006
|
+
--------------------------------
|
4007
|
+
UserTest: test_find_by_public_id
|
4008
|
+
--------------------------------
|
4009
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Fvxetm1YOYt8Ru' LIMIT 1
|
4010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4011
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00], ["ident", "use-Fvxetm1YOYt8Ru"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00]]
|
4012
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4013
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-Fvxetm1YOYt8Ru' ORDER BY "users"."id" ASC LIMIT 1
|
4014
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4016
|
+
---------------------------------
|
4017
|
+
UserTest: test_find_by_public_id!
|
4018
|
+
---------------------------------
|
4019
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-TfjT0COm9ShMnG' LIMIT 1[0m
|
4020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4021
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00], ["ident", "use-TfjT0COm9ShMnG"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00]]
|
4022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4023
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'use-TfjT0COm9ShMnG' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4024
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
|
4025
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4027
|
+
---------------------------------------
|
4028
|
+
UserTest: test_identifier_doesnt_change
|
4029
|
+
---------------------------------------
|
4030
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-CFeMnmECbqiB4T' LIMIT 1[0m
|
4031
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4032
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00], ["ident", "use-CFeMnmECbqiB4T"], ["updated_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00]]
|
4033
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4034
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4035
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4037
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4038
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4039
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4040
|
+
-------------------------------------
|
4041
|
+
UserTest: test_identifier_initializes
|
4042
|
+
-------------------------------------
|
4043
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ztFh3Mm78XV4nL' LIMIT 1[0m
|
4044
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ET61IQiQm6tSPw' LIMIT 1
|
4045
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4046
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4047
|
+
-------------------------------------
|
4048
|
+
UserTest: test_initialize_public_ids!
|
4049
|
+
-------------------------------------
|
4050
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4051
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
|
4052
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-aYuvCpIXwDLZrY' LIMIT 1[0m
|
4053
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-zgamAmg0OnCQFM' LIMIT 1
|
4054
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-prlodLNmK7dbMi' LIMIT 1[0m
|
4055
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q8cn1DvDMfRh3G' LIMIT 1
|
4056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4057
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-Q8cn1DvDMfRh3G"], ["updated_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00]]
|
4058
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4059
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-jiQhH4L6GFXLAR' LIMIT 1
|
4060
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4061
|
+
[1m[35mSQL (1.5ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-jiQhH4L6GFXLAR"], ["updated_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00]]
|
4062
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4063
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-j9Dex9FY4jFMek' LIMIT 1
|
4064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4065
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-j9Dex9FY4jFMek"], ["updated_at", Fri, 10 Jan 2014 18:01:25 UTC +00:00]]
|
4066
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4067
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4068
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4069
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4070
|
+
------------------------------------------
|
4071
|
+
UserTest: test_to_param_matches_identifier
|
4072
|
+
------------------------------------------
|
4073
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Rhezxv6r2oTiiK' LIMIT 1[0m
|
4074
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4075
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4076
|
+
-------------------------------------------
|
4077
|
+
HasPublicId::UtilTest: test_char_set.length
|
4078
|
+
-------------------------------------------
|
4079
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4080
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4081
|
+
--------------------------------------------------
|
4082
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
4083
|
+
--------------------------------------------------
|
4084
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4085
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4086
|
+
----------------------------------------------------------
|
4087
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
4088
|
+
----------------------------------------------------------
|
4089
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4091
|
+
------------------------------------------------------------
|
4092
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
4093
|
+
------------------------------------------------------------
|
4094
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4096
|
+
------------------------------------------------------------
|
4097
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
4098
|
+
------------------------------------------------------------
|
4099
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4100
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4101
|
+
---------------------------------------------------------
|
4102
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
4103
|
+
---------------------------------------------------------
|
4104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4106
|
+
----------------------------------------------------------
|
4107
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
4108
|
+
----------------------------------------------------------
|
4109
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4111
|
+
------------------------------------------------------
|
4112
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
4113
|
+
------------------------------------------------------
|
4114
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4116
|
+
---------------------------
|
4117
|
+
HasPublicIdTest: test_Mixin
|
4118
|
+
---------------------------
|
4119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4121
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
4122
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:02:00', '2014-01-10 18:02:00', 980190962)[0m
|
4123
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:02:00', '2014-01-10 18:02:00', 298486374)
|
4124
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:02:00', '2014-01-10 18:02:00', 113629430)[0m
|
4125
|
+
[1m[35m (0.9ms)[0m commit transaction
|
4126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4127
|
+
--------------------------------
|
4128
|
+
UserTest: test_find_by_public_id
|
4129
|
+
--------------------------------
|
4130
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2M9Ix6aAY3rvFW' LIMIT 1
|
4131
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4132
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00], ["ident", "use-2M9Ix6aAY3rvFW"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00]]
|
4133
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4134
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-2M9Ix6aAY3rvFW' ORDER BY "users"."id" ASC LIMIT 1
|
4135
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4137
|
+
---------------------------------
|
4138
|
+
UserTest: test_find_by_public_id!
|
4139
|
+
---------------------------------
|
4140
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tHQiMSY7ymcaqd' LIMIT 1[0m
|
4141
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4142
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00], ["ident", "use-tHQiMSY7ymcaqd"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00]]
|
4143
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4144
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'use-tHQiMSY7ymcaqd' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4145
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
|
4146
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4147
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4148
|
+
---------------------------------------
|
4149
|
+
UserTest: test_identifier_doesnt_change
|
4150
|
+
---------------------------------------
|
4151
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-oj2vNovgshZwao' LIMIT 1[0m
|
4152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4153
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00], ["ident", "use-oj2vNovgshZwao"], ["updated_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00]]
|
4154
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4155
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4157
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4158
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4159
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4160
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4161
|
+
-------------------------------------
|
4162
|
+
UserTest: test_identifier_initializes
|
4163
|
+
-------------------------------------
|
4164
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-DErfNmWwi9FLxM' LIMIT 1[0m
|
4165
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-jvGRNvmKB5TTAn' LIMIT 1
|
4166
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4167
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4168
|
+
-------------------------------------
|
4169
|
+
UserTest: test_initialize_public_ids!
|
4170
|
+
-------------------------------------
|
4171
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4172
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
|
4173
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-mmg7ctCVk9vRHV' LIMIT 1[0m
|
4174
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-AkKF5ItGZDENjw' LIMIT 1
|
4175
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-XyXSovwx9IUiCv' LIMIT 1[0m
|
4176
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-I0MDgvLYj1bMPU' LIMIT 1
|
4177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4178
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-I0MDgvLYj1bMPU"], ["updated_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00]]
|
4179
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4180
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-aYxRGgnm7vxfMW' LIMIT 1
|
4181
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4182
|
+
[1m[35mSQL (1.1ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-aYxRGgnm7vxfMW"], ["updated_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00]]
|
4183
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4184
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b9K4lpEUTYjTLz' LIMIT 1
|
4185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4186
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-b9K4lpEUTYjTLz"], ["updated_at", Fri, 10 Jan 2014 18:02:00 UTC +00:00]]
|
4187
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4188
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4189
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4191
|
+
------------------------------------------
|
4192
|
+
UserTest: test_to_param_matches_identifier
|
4193
|
+
------------------------------------------
|
4194
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q2nLyeaLjWgJ6X' LIMIT 1[0m
|
4195
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4196
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4197
|
+
-------------------------------------------
|
4198
|
+
HasPublicId::UtilTest: test_char_set.length
|
4199
|
+
-------------------------------------------
|
4200
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4202
|
+
--------------------------------------------------
|
4203
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
4204
|
+
--------------------------------------------------
|
4205
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4207
|
+
----------------------------------------------------------
|
4208
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
4209
|
+
----------------------------------------------------------
|
4210
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4212
|
+
------------------------------------------------------------
|
4213
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
4214
|
+
------------------------------------------------------------
|
4215
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4217
|
+
------------------------------------------------------------
|
4218
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
4219
|
+
------------------------------------------------------------
|
4220
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4222
|
+
---------------------------------------------------------
|
4223
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
4224
|
+
---------------------------------------------------------
|
4225
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4226
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4227
|
+
----------------------------------------------------------
|
4228
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
4229
|
+
----------------------------------------------------------
|
4230
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4232
|
+
------------------------------------------------------
|
4233
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
4234
|
+
------------------------------------------------------
|
4235
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4237
|
+
---------------------------
|
4238
|
+
HasPublicIdTest: test_Mixin
|
4239
|
+
---------------------------
|
4240
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4241
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4242
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
4243
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:02:58', '2014-01-10 18:02:58', 980190962)[0m
|
4244
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:02:58', '2014-01-10 18:02:58', 298486374)
|
4245
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:02:58', '2014-01-10 18:02:58', 113629430)[0m
|
4246
|
+
[1m[35m (0.8ms)[0m commit transaction
|
4247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4248
|
+
--------------------------------
|
4249
|
+
UserTest: test_find_by_public_id
|
4250
|
+
--------------------------------
|
4251
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-49MRkGYLTkTw1F' LIMIT 1
|
4252
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4253
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00], ["ident", "use-49MRkGYLTkTw1F"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00]]
|
4254
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4255
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-49MRkGYLTkTw1F' ORDER BY "users"."id" ASC LIMIT 1
|
4256
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4257
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4258
|
+
---------------------------------
|
4259
|
+
UserTest: test_find_by_public_id!
|
4260
|
+
---------------------------------
|
4261
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q6jUoWDyJ6DP5S' LIMIT 1[0m
|
4262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4263
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00], ["ident", "use-q6jUoWDyJ6DP5S"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00]]
|
4264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4265
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'use-q6jUoWDyJ6DP5S' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4266
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
|
4267
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4268
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4269
|
+
---------------------------------------
|
4270
|
+
UserTest: test_identifier_doesnt_change
|
4271
|
+
---------------------------------------
|
4272
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-t6XKQZFd8pRzgx' LIMIT 1[0m
|
4273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4274
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00], ["ident", "use-t6XKQZFd8pRzgx"], ["updated_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00]]
|
4275
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4276
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4278
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4279
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4280
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4282
|
+
-------------------------------------
|
4283
|
+
UserTest: test_identifier_initializes
|
4284
|
+
-------------------------------------
|
4285
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-P81c1526LtXHvJ' LIMIT 1[0m
|
4286
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-QpIiDIdoxXrReo' LIMIT 1
|
4287
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4289
|
+
-------------------------------------
|
4290
|
+
UserTest: test_initialize_public_ids!
|
4291
|
+
-------------------------------------
|
4292
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4293
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
|
4294
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-rLXVpCcQx03ekZ' LIMIT 1[0m
|
4295
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-fCIMeNneU3p4SL' LIMIT 1
|
4296
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-bFv9WaQbkf0CTa' LIMIT 1[0m
|
4297
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-LSP3wf2uy2WXOb' LIMIT 1
|
4298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4299
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-LSP3wf2uy2WXOb"], ["updated_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00]]
|
4300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4301
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-nMSKn7OwxuKs1P' LIMIT 1
|
4302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4303
|
+
[1m[35mSQL (1.2ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-nMSKn7OwxuKs1P"], ["updated_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00]]
|
4304
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4305
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-0cLAHAPdivOKXf' LIMIT 1
|
4306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4307
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-0cLAHAPdivOKXf"], ["updated_at", Fri, 10 Jan 2014 18:02:58 UTC +00:00]]
|
4308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4309
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4310
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4311
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4312
|
+
------------------------------------------
|
4313
|
+
UserTest: test_to_param_matches_identifier
|
4314
|
+
------------------------------------------
|
4315
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-D1vVJN2pi5bRI3' LIMIT 1[0m
|
4316
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4317
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4318
|
+
-------------------------------------------
|
4319
|
+
HasPublicId::UtilTest: test_char_set.length
|
4320
|
+
-------------------------------------------
|
4321
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4323
|
+
--------------------------------------------------
|
4324
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
4325
|
+
--------------------------------------------------
|
4326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4328
|
+
----------------------------------------------------------
|
4329
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
4330
|
+
----------------------------------------------------------
|
4331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4333
|
+
------------------------------------------------------------
|
4334
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
4335
|
+
------------------------------------------------------------
|
4336
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4338
|
+
------------------------------------------------------------
|
4339
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
4340
|
+
------------------------------------------------------------
|
4341
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4343
|
+
---------------------------------------------------------
|
4344
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
4345
|
+
---------------------------------------------------------
|
4346
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4348
|
+
----------------------------------------------------------
|
4349
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
4350
|
+
----------------------------------------------------------
|
4351
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4353
|
+
------------------------------------------------------
|
4354
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
4355
|
+
------------------------------------------------------
|
4356
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4357
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4358
|
+
---------------------------
|
4359
|
+
HasPublicIdTest: test_Mixin
|
4360
|
+
---------------------------
|
4361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4362
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4363
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
4364
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:03:58', '2014-01-10 18:03:58', 980190962)[0m
|
4365
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:03:58', '2014-01-10 18:03:58', 298486374)
|
4366
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:03:58', '2014-01-10 18:03:58', 113629430)[0m
|
4367
|
+
[1m[35m (0.9ms)[0m commit transaction
|
4368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4369
|
+
--------------------------------
|
4370
|
+
UserTest: test_find_by_public_id
|
4371
|
+
--------------------------------
|
4372
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-FHRM6a8uWUqn6W' LIMIT 1
|
4373
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4374
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00], ["ident", "use-FHRM6a8uWUqn6W"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
|
4375
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4376
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-FHRM6a8uWUqn6W' ORDER BY "users"."id" ASC LIMIT 1
|
4377
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4378
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4380
|
+
---------------------------------
|
4381
|
+
UserTest: test_find_by_public_id!
|
4382
|
+
---------------------------------
|
4383
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-hGI5MEg2jOBaaG' LIMIT 1
|
4384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4385
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00], ["ident", "use-hGI5MEg2jOBaaG"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
|
4386
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4387
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-hGI5MEg2jOBaaG' ORDER BY "users"."id" ASC LIMIT 1
|
4388
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4389
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4390
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4391
|
+
---------------------------------------
|
4392
|
+
UserTest: test_identifier_doesnt_change
|
4393
|
+
---------------------------------------
|
4394
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-NrRuQr55THXJTh' LIMIT 1
|
4395
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4396
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00], ["ident", "use-NrRuQr55THXJTh"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
|
4397
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4398
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4399
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4400
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4401
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4402
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4404
|
+
-------------------------------------
|
4405
|
+
UserTest: test_identifier_initializes
|
4406
|
+
-------------------------------------
|
4407
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-zdYxjejmvYPL0y' LIMIT 1
|
4408
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e0CPJUwh8mTZvJ' LIMIT 1[0m
|
4409
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4411
|
+
-------------------------------------
|
4412
|
+
UserTest: test_initialize_public_ids!
|
4413
|
+
-------------------------------------
|
4414
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4415
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
4416
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-xYCvy16tKZLyI3' LIMIT 1
|
4417
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-wvrkHAtCN6GHsB' LIMIT 1[0m
|
4418
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-KTp2xXuXgbYCz8' LIMIT 1
|
4419
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8RmZFZDfRzhcqG' LIMIT 1[0m
|
4420
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4421
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "use-8RmZFZDfRzhcqG"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
|
4422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4423
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-XA1oX4d7tdJc0A' LIMIT 1[0m
|
4424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4425
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "use-XA1oX4d7tdJc0A"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
|
4426
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4427
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-58MzF6i4H74BEM' LIMIT 1[0m
|
4428
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4429
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "use-58MzF6i4H74BEM"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
|
4430
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4431
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4432
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4434
|
+
------------------------------------------
|
4435
|
+
UserTest: test_to_param_matches_identifier
|
4436
|
+
------------------------------------------
|
4437
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tHKKIpqhZ9g7nv' LIMIT 1
|
4438
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4439
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4440
|
+
-------------------------------------------
|
4441
|
+
HasPublicId::UtilTest: test_char_set.length
|
4442
|
+
-------------------------------------------
|
4443
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4445
|
+
--------------------------------------------------
|
4446
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
4447
|
+
--------------------------------------------------
|
4448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4450
|
+
----------------------------------------------------------
|
4451
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
4452
|
+
----------------------------------------------------------
|
4453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4455
|
+
------------------------------------------------------------
|
4456
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
4457
|
+
------------------------------------------------------------
|
4458
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4459
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4460
|
+
------------------------------------------------------------
|
4461
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
4462
|
+
------------------------------------------------------------
|
4463
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4465
|
+
---------------------------------------------------------
|
4466
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
4467
|
+
---------------------------------------------------------
|
4468
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4469
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4470
|
+
----------------------------------------------------------
|
4471
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
4472
|
+
----------------------------------------------------------
|
4473
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4474
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4475
|
+
------------------------------------------------------
|
4476
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
4477
|
+
------------------------------------------------------
|
4478
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4479
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4480
|
+
---------------------------
|
4481
|
+
HasPublicIdTest: test_Mixin
|
4482
|
+
---------------------------
|
4483
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4485
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users"
|
4486
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:05:13', '2014-01-10 18:05:13', 980190962)[0m
|
4487
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:05:13', '2014-01-10 18:05:13', 298486374)
|
4488
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:05:13', '2014-01-10 18:05:13', 113629430)[0m
|
4489
|
+
[1m[35m (0.8ms)[0m commit transaction
|
4490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4491
|
+
--------------------------------
|
4492
|
+
UserTest: test_find_by_public_id
|
4493
|
+
--------------------------------
|
4494
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-bxZNfCOMyiwV8U' LIMIT 1
|
4495
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4496
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00], ["ident", "user-bxZNfCOMyiwV8U"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
|
4497
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4498
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-bxZNfCOMyiwV8U' ORDER BY "users"."id" ASC LIMIT 1
|
4499
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4500
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4502
|
+
---------------------------------
|
4503
|
+
UserTest: test_find_by_public_id!
|
4504
|
+
---------------------------------
|
4505
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-7KEBq0N84IHLRq' LIMIT 1
|
4506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4507
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00], ["ident", "user-7KEBq0N84IHLRq"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
|
4508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4509
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-7KEBq0N84IHLRq' ORDER BY "users"."id" ASC LIMIT 1
|
4510
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4511
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4512
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4513
|
+
---------------------------------------
|
4514
|
+
UserTest: test_identifier_doesnt_change
|
4515
|
+
---------------------------------------
|
4516
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-8qjeZy2yuEWaPm' LIMIT 1
|
4517
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4518
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00], ["ident", "user-8qjeZy2yuEWaPm"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
|
4519
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4520
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4521
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4522
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4523
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4524
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4525
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4526
|
+
-------------------------------------
|
4527
|
+
UserTest: test_identifier_initializes
|
4528
|
+
-------------------------------------
|
4529
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Q4EQmR4NzNdv28' LIMIT 1
|
4530
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-38e4eIhtEIv8pp' LIMIT 1[0m
|
4531
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4533
|
+
-------------------------------------
|
4534
|
+
UserTest: test_initialize_public_ids!
|
4535
|
+
-------------------------------------
|
4536
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4537
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
4538
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-HFoi0Icq1u7UaW' LIMIT 1
|
4539
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-pWKbluIyxmM11H' LIMIT 1[0m
|
4540
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-M1O3I4qU5CGsQd' LIMIT 1
|
4541
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-rfOWrrjMZ6ZBTH' LIMIT 1[0m
|
4542
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4543
|
+
[1m[36mSQL (1.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "user-rfOWrrjMZ6ZBTH"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
|
4544
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4545
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-VLvCGIW88R4qC8' LIMIT 1[0m
|
4546
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4547
|
+
[1m[36mSQL (2.6ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "user-VLvCGIW88R4qC8"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
|
4548
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4549
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-XUq3dVUIRbHi7h' LIMIT 1[0m
|
4550
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4551
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "user-XUq3dVUIRbHi7h"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
|
4552
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4553
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4554
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4555
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4556
|
+
------------------------------------------
|
4557
|
+
UserTest: test_to_param_matches_identifier
|
4558
|
+
------------------------------------------
|
4559
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-RT7ekR2FgVGC7E' LIMIT 1
|
4560
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4561
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4562
|
+
-------------------------------------------
|
4563
|
+
HasPublicId::UtilTest: test_char_set.length
|
4564
|
+
-------------------------------------------
|
4565
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4567
|
+
--------------------------------------------------
|
4568
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
4569
|
+
--------------------------------------------------
|
4570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4572
|
+
----------------------------------------------------------
|
4573
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
4574
|
+
----------------------------------------------------------
|
4575
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4577
|
+
------------------------------------------------------------
|
4578
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
4579
|
+
------------------------------------------------------------
|
4580
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4582
|
+
------------------------------------------------------------
|
4583
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
4584
|
+
------------------------------------------------------------
|
4585
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4587
|
+
---------------------------------------------------------
|
4588
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
4589
|
+
---------------------------------------------------------
|
4590
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4591
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4592
|
+
----------------------------------------------------------
|
4593
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
4594
|
+
----------------------------------------------------------
|
4595
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4596
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4597
|
+
------------------------------------------------------
|
4598
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
4599
|
+
------------------------------------------------------
|
4600
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4602
|
+
---------------------------
|
4603
|
+
HasPublicIdTest: test_Mixin
|
4604
|
+
---------------------------
|
4605
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4606
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4607
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users"
|
4608
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 18:05:30', '2014-01-10 18:05:30', 980190962)[0m
|
4609
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 18:05:30', '2014-01-10 18:05:30', 298486374)
|
4610
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 18:05:30', '2014-01-10 18:05:30', 113629430)[0m
|
4611
|
+
[1m[35m (0.9ms)[0m commit transaction
|
4612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4613
|
+
--------------------------------
|
4614
|
+
UserTest: test_find_by_public_id
|
4615
|
+
--------------------------------
|
4616
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-9PiMG5HZHjGgfj' LIMIT 1
|
4617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4618
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00], ["ident", "user-9PiMG5HZHjGgfj"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
|
4619
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4620
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-9PiMG5HZHjGgfj' ORDER BY "users"."id" ASC LIMIT 1
|
4621
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4622
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4623
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4624
|
+
---------------------------------
|
4625
|
+
UserTest: test_find_by_public_id!
|
4626
|
+
---------------------------------
|
4627
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Hrl5VhFbcXB1Js' LIMIT 1
|
4628
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4629
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00], ["ident", "user-Hrl5VhFbcXB1Js"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
|
4630
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4631
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-Hrl5VhFbcXB1Js' ORDER BY "users"."id" ASC LIMIT 1
|
4632
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4633
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4634
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4635
|
+
---------------------------------------
|
4636
|
+
UserTest: test_identifier_doesnt_change
|
4637
|
+
---------------------------------------
|
4638
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-tCpI5oX4g4zOqk' LIMIT 1
|
4639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4640
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00], ["ident", "user-tCpI5oX4g4zOqk"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
|
4641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4642
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4643
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4644
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4645
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4646
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4647
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4648
|
+
-------------------------------------
|
4649
|
+
UserTest: test_identifier_initializes
|
4650
|
+
-------------------------------------
|
4651
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-9jRULolYTD23SR' LIMIT 1
|
4652
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-YUlHeYfhUG67lz' LIMIT 1[0m
|
4653
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4654
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4655
|
+
-------------------------------------
|
4656
|
+
UserTest: test_initialize_public_ids!
|
4657
|
+
-------------------------------------
|
4658
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4659
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
4660
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-wFh6VFH1rvQd3a' LIMIT 1
|
4661
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-iimJjU30AozhC5' LIMIT 1[0m
|
4662
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-oi9Z2Lhprg4dYS' LIMIT 1
|
4663
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-KNqAL7zw6XL9fX' LIMIT 1[0m
|
4664
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4665
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "user-KNqAL7zw6XL9fX"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
|
4666
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4667
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-7ssLCewfkoNf4S' LIMIT 1[0m
|
4668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4669
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "user-7ssLCewfkoNf4S"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
|
4670
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4671
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-J4LF47ettgvDDX' LIMIT 1[0m
|
4672
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4673
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "user-J4LF47ettgvDDX"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
|
4674
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4675
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4676
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4678
|
+
------------------------------------------
|
4679
|
+
UserTest: test_to_param_matches_identifier
|
4680
|
+
------------------------------------------
|
4681
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-YazBN9NSbzEUCD' LIMIT 1
|
4682
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4683
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4684
|
+
-------------------------------------------
|
4685
|
+
HasPublicId::UtilTest: test_char_set.length
|
4686
|
+
-------------------------------------------
|
4687
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4689
|
+
--------------------------------------------------
|
4690
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
4691
|
+
--------------------------------------------------
|
4692
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4694
|
+
----------------------------------------------------------
|
4695
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
4696
|
+
----------------------------------------------------------
|
4697
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4699
|
+
------------------------------------------------------------
|
4700
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
4701
|
+
------------------------------------------------------------
|
4702
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4703
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4704
|
+
------------------------------------------------------------
|
4705
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
4706
|
+
------------------------------------------------------------
|
4707
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4709
|
+
---------------------------------------------------------
|
4710
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
4711
|
+
---------------------------------------------------------
|
4712
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4714
|
+
----------------------------------------------------------
|
4715
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
4716
|
+
----------------------------------------------------------
|
4717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4719
|
+
------------------------------------------------------
|
4720
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
4721
|
+
------------------------------------------------------
|
4722
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4724
|
+
---------------------------
|
4725
|
+
HasPublicIdTest: test_Mixin
|
4726
|
+
---------------------------
|
4727
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4729
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users"
|
4730
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 21:03:07', '2014-01-10 21:03:07', 980190962)[0m
|
4731
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 21:03:07', '2014-01-10 21:03:07', 298486374)
|
4732
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 21:03:07', '2014-01-10 21:03:07', 113629430)[0m
|
4733
|
+
[1m[35m (0.9ms)[0m commit transaction
|
4734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4735
|
+
--------------------------------
|
4736
|
+
UserTest: test_find_by_public_id
|
4737
|
+
--------------------------------
|
4738
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Oo28nCaf2mc9' LIMIT 1
|
4739
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4740
|
+
[1m[35mSQL (6.1ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00], ["ident", "user-Oo28nCaf2mc9"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
|
4741
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4742
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-Oo28nCaf2mc9' ORDER BY "users"."id" ASC LIMIT 1
|
4743
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4744
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4746
|
+
---------------------------------
|
4747
|
+
UserTest: test_find_by_public_id!
|
4748
|
+
---------------------------------
|
4749
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-s21aRRXMHoUZ' LIMIT 1
|
4750
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4751
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00], ["ident", "user-s21aRRXMHoUZ"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
|
4752
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4753
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-s21aRRXMHoUZ' ORDER BY "users"."id" ASC LIMIT 1
|
4754
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4755
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4756
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4757
|
+
---------------------------------------
|
4758
|
+
UserTest: test_identifier_doesnt_change
|
4759
|
+
---------------------------------------
|
4760
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-SH9kjaRUonb7' LIMIT 1
|
4761
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4762
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00], ["ident", "user-SH9kjaRUonb7"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
|
4763
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4764
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4765
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4766
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4767
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4768
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4770
|
+
-------------------------------------
|
4771
|
+
UserTest: test_identifier_initializes
|
4772
|
+
-------------------------------------
|
4773
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-KCwIp6vVUF4y' LIMIT 1
|
4774
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-iFreZ6gVlQ7V' LIMIT 1[0m
|
4775
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4777
|
+
-------------------------------------
|
4778
|
+
UserTest: test_initialize_public_ids!
|
4779
|
+
-------------------------------------
|
4780
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4781
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
4782
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-gtUEaisebcTO' LIMIT 1
|
4783
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-IO3GRa4tEU7O' LIMIT 1[0m
|
4784
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-OGNDgRLojILE' LIMIT 1
|
4785
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-F8y4xRB6nslo' LIMIT 1[0m
|
4786
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4787
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "user-F8y4xRB6nslo"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
|
4788
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4789
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-01wax7GwCzGE' LIMIT 1[0m
|
4790
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4791
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "user-01wax7GwCzGE"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
|
4792
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4793
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-TpeGUZrq0hwU' LIMIT 1[0m
|
4794
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4795
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "user-TpeGUZrq0hwU"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
|
4796
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4797
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4798
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4800
|
+
----------------------------
|
4801
|
+
UserTest: test_new_public_id
|
4802
|
+
----------------------------
|
4803
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-3RyDUwHN80qD' LIMIT 1
|
4804
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4806
|
+
------------------------------------------
|
4807
|
+
UserTest: test_to_param_matches_identifier
|
4808
|
+
------------------------------------------
|
4809
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-BALK1smhpZnY' LIMIT 1[0m
|
4810
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4811
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4812
|
+
-------------------------------------------
|
4813
|
+
HasPublicId::UtilTest: test_char_set.length
|
4814
|
+
-------------------------------------------
|
4815
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4817
|
+
--------------------------------------------------
|
4818
|
+
HasPublicId::UtilTest: test_generate_random_suffix
|
4819
|
+
--------------------------------------------------
|
4820
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4821
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4822
|
+
----------------------------------------------------------
|
4823
|
+
HasPublicId::UtilTest: test_generate_random_suffix(length)
|
4824
|
+
----------------------------------------------------------
|
4825
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4827
|
+
------------------------------------------------------------
|
4828
|
+
HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
|
4829
|
+
------------------------------------------------------------
|
4830
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4832
|
+
------------------------------------------------------------
|
4833
|
+
HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
|
4834
|
+
------------------------------------------------------------
|
4835
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4836
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4837
|
+
---------------------------------------------------------
|
4838
|
+
HasPublicId::UtilTest: test_new_public_id(with_join_with)
|
4839
|
+
---------------------------------------------------------
|
4840
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4842
|
+
----------------------------------------------------------
|
4843
|
+
HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
|
4844
|
+
----------------------------------------------------------
|
4845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4846
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4847
|
+
------------------------------------------------------
|
4848
|
+
HasPublicId::UtilTest: test_new_public_id(with_prefix)
|
4849
|
+
------------------------------------------------------
|
4850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4852
|
+
---------------------------
|
4853
|
+
HasPublicIdTest: test_Mixin
|
4854
|
+
---------------------------
|
4855
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4857
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
4858
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Sammy', NULL, '2014-01-10 21:03:15', '2014-01-10 21:03:15', 980190962)[0m
|
4859
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Joe', NULL, '2014-01-10 21:03:15', '2014-01-10 21:03:15', 298486374)
|
4860
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "ident", "created_at", "updated_at", "id") VALUES ('Susan', NULL, '2014-01-10 21:03:15', '2014-01-10 21:03:15', 113629430)[0m
|
4861
|
+
[1m[35m (0.9ms)[0m commit transaction
|
4862
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4863
|
+
--------------------------------
|
4864
|
+
UserTest: test_find_by_public_id
|
4865
|
+
--------------------------------
|
4866
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Ic9t1OAIL8ky' LIMIT 1
|
4867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4868
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00], ["ident", "user-Ic9t1OAIL8ky"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
|
4869
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4870
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-Ic9t1OAIL8ky' ORDER BY "users"."id" ASC LIMIT 1
|
4871
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4872
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4873
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4874
|
+
---------------------------------
|
4875
|
+
UserTest: test_find_by_public_id!
|
4876
|
+
---------------------------------
|
4877
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-cXKLyk3wvxH8' LIMIT 1
|
4878
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4879
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00], ["ident", "user-cXKLyk3wvxH8"], ["name", "joey"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
|
4880
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4881
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-cXKLyk3wvxH8' ORDER BY "users"."id" ASC LIMIT 1
|
4882
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1[0m
|
4883
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4885
|
+
---------------------------------------
|
4886
|
+
UserTest: test_identifier_doesnt_change
|
4887
|
+
---------------------------------------
|
4888
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-ldcQ3BNnmp5m' LIMIT 1
|
4889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4890
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00], ["ident", "user-ldcQ3BNnmp5m"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
|
4891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4892
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
|
4893
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4894
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4895
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
4896
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4897
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4898
|
+
-------------------------------------
|
4899
|
+
UserTest: test_identifier_initializes
|
4900
|
+
-------------------------------------
|
4901
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-BGzrRhLDYLDw' LIMIT 1
|
4902
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Zw5SEPyadj10' LIMIT 1[0m
|
4903
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4904
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4905
|
+
-------------------------------------
|
4906
|
+
UserTest: test_initialize_public_ids!
|
4907
|
+
-------------------------------------
|
4908
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
|
4909
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000[0m
|
4910
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-UgcrMwE3ubiD' LIMIT 1
|
4911
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-nYZybyo9CRHK' LIMIT 1[0m
|
4912
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-UMN5blKSKkOA' LIMIT 1
|
4913
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-MZeT9wS3WaCG' LIMIT 1[0m
|
4914
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4915
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430[0m [["ident", "user-MZeT9wS3WaCG"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
|
4916
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4917
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-6A6lrX2tUBnz' LIMIT 1[0m
|
4918
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4919
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374[0m [["ident", "user-6A6lrX2tUBnz"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
|
4920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4921
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-afJitWNhtHMI' LIMIT 1[0m
|
4922
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4923
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962[0m [["ident", "user-afJitWNhtHMI"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
|
4924
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4925
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL[0m
|
4926
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4928
|
+
----------------------------
|
4929
|
+
UserTest: test_new_public_id
|
4930
|
+
----------------------------
|
4931
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-CWCnbqaUggG4' LIMIT 1
|
4932
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4934
|
+
------------------------------------------
|
4935
|
+
UserTest: test_to_param_matches_identifier
|
4936
|
+
------------------------------------------
|
4937
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-0nqgjjrLuQUi' LIMIT 1[0m
|
4938
|
+
[1m[35m (0.0ms)[0m rollback transaction
|