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.
@@ -1877,3 +1877,3062 @@ HasPublicIdTest: test_New_users_get_an_ID_initialized
1877
1877
  User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1rT1BHMJZLPcaA' LIMIT 1
1878
1878
  User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7iH9G-tTWFB74w' LIMIT 1
1879
1879
   (0.0ms) rollback transaction
1880
+  (0.8ms) begin transaction
1881
+ Fixture Delete (1.2ms) DELETE FROM "users"
1882
+ Fixture Insert (0.4ms) INSERT 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)
1883
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
1885
+  (0.8ms) commit transaction
1886
+  (0.1ms) begin transaction
1887
+ ------------------------------------------------------------------
1888
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
1889
+ ------------------------------------------------------------------
1890
+  (0.1ms) rollback transaction
1891
+  (0.1ms) begin transaction
1892
+ -------------------------------------------
1893
+ HasPublicIdTest: test_Default_character_set
1894
+ -------------------------------------------
1895
+  (0.0ms) rollback transaction
1896
+  (0.0ms) begin transaction
1897
+ ------------------------------------------------
1898
+ HasPublicIdTest: test_Defines_#find_by_public_id
1899
+ ------------------------------------------------
1900
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-Y-X-T-H-v-o-6-c-I' LIMIT 1
1901
+  (0.1ms) SAVEPOINT active_record_1
1902
+ SQL (6.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1904
+ User Load (0.1ms) 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
+  (0.5ms) rollback transaction
1906
+  (0.1ms) begin transaction
1907
+ -------------------------------------------------
1908
+ HasPublicIdTest: test_Defines_#find_by_public_id!
1909
+ -------------------------------------------------
1910
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-B-4-a-I-b-b-H-t-G-v' LIMIT 1
1911
+  (0.1ms) SAVEPOINT active_record_1
1912
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1914
+  (0.4ms) rollback transaction
1915
+  (0.1ms) begin transaction
1916
+ ----------------------------------------------------
1917
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
1918
+ ----------------------------------------------------
1919
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-X-C-S-y-3-G-q-5-3-2' LIMIT 1
1920
+  (0.0ms) SAVEPOINT active_record_1
1921
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1923
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
1924
+  (0.1ms) SAVEPOINT active_record_1
1925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1926
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
1927
+  (0.5ms) rollback transaction
1928
+  (0.1ms) begin transaction
1929
+ -----------------------------------------------
1930
+ HasPublicIdTest: test_Generates_a_random_suffix
1931
+ -----------------------------------------------
1932
+  (0.1ms) rollback transaction
1933
+  (0.1ms) begin transaction
1934
+ ----------------------------------------------
1935
+ HasPublicIdTest: test_Ident_should_==_to_param
1936
+ ----------------------------------------------
1937
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-z-0-1-s-T-F-t-M-s-Y' LIMIT 1
1938
+  (0.1ms) rollback transaction
1939
+  (0.0ms) begin transaction
1940
+ ----------------------------------------------------
1941
+ HasPublicIdTest: test_Initialize_all_the_public_id's
1942
+ ----------------------------------------------------
1943
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
1944
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
1945
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-H-A-x-b-N-7-Q-q-T-9' LIMIT 1
1946
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q-T-q-t-p-E-y-a-D-T' LIMIT 1
1947
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-4-V-f-H-2-k-Y-j-m' LIMIT 1
1948
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q-T-a-p-l-Y-N-K-9-4' LIMIT 1
1949
+  (0.1ms) SAVEPOINT active_record_1
1950
+ SQL (0.5ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1952
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Y-t-L-2-h-C-S-k-l-q' LIMIT 1
1953
+  (0.0ms) SAVEPOINT active_record_1
1954
+ SQL (1.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1956
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Y-7-Q-I-u-O-6-C-x-x' LIMIT 1
1957
+  (0.0ms) SAVEPOINT active_record_1
1958
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1960
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
1961
+  (0.5ms) rollback transaction
1962
+  (0.1ms) begin transaction
1963
+ -----------------------------------------------------
1964
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
1965
+ -----------------------------------------------------
1966
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b-F-h-B-U-k-b-z-x-0' LIMIT 1
1967
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-l-p-u-O-i-Q-q-4-C-9' LIMIT 1
1968
+  (0.1ms) rollback transaction
1969
+  (0.0ms) begin transaction
1970
+ ---------------------------------------
1971
+ HasPublicIdTest: test_Setting_join_with
1972
+ ---------------------------------------
1973
+  (0.0ms) rollback transaction
1974
+  (0.0ms) begin transaction
1975
+ -------------------------------------------------
1976
+ HasPublicIdTest: test_Setting_prefix_empty_string
1977
+ -------------------------------------------------
1978
+  (0.0ms) rollback transaction
1979
+  (0.0ms) begin transaction
1980
+ ------------------------------------------
1981
+ HasPublicIdTest: test_Setting_prefix_false
1982
+ ------------------------------------------
1983
+  (0.0ms) rollback transaction
1984
+  (0.0ms) begin transaction
1985
+ ----------------------------------------
1986
+ HasPublicIdTest: test_Setting_prefix_nil
1987
+ ----------------------------------------
1988
+  (0.1ms) rollback transaction
1989
+  (0.0ms) begin transaction
1990
+ ----------------------------------------
1991
+ HasPublicIdTest: test_Setting_the_prefix
1992
+ ----------------------------------------
1993
+  (0.1ms) rollback transaction
1994
+  (0.0ms) begin transaction
1995
+ ------------------------------------------------------
1996
+ HasPublicIdTest: test_Suffix_length_works_as_specified
1997
+ ------------------------------------------------------
1998
+  (0.0ms) rollback transaction
1999
+  (0.5ms) begin transaction
2000
+ Fixture Delete (0.7ms) DELETE FROM "users"
2001
+ Fixture Insert (0.3ms) INSERT 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)
2002
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2004
+  (0.9ms) commit transaction
2005
+  (0.1ms) begin transaction
2006
+ ------------------------------------------------------------------
2007
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2008
+ ------------------------------------------------------------------
2009
+  (0.1ms) rollback transaction
2010
+  (0.1ms) begin transaction
2011
+ -------------------------------------------
2012
+ HasPublicIdTest: test_Default_character_set
2013
+ -------------------------------------------
2014
+  (0.1ms) rollback transaction
2015
+  (0.1ms) begin transaction
2016
+ ------------------------------------------------
2017
+ HasPublicIdTest: test_Defines_#find_by_public_id
2018
+ ------------------------------------------------
2019
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-V-w-1-o-g-e-V-T-X' LIMIT 1
2020
+  (0.1ms) SAVEPOINT active_record_1
2021
+ SQL (3.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2023
+ User Load (0.1ms) 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
+  (0.5ms) rollback transaction
2025
+  (0.1ms) begin transaction
2026
+ -------------------------------------------------
2027
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2028
+ -------------------------------------------------
2029
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e-Q-f-W-C-m-f-q-f-e' LIMIT 1
2030
+  (0.0ms) SAVEPOINT active_record_1
2031
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2033
+  (0.5ms) rollback transaction
2034
+  (0.1ms) begin transaction
2035
+ ----------------------------------------------------
2036
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2037
+ ----------------------------------------------------
2038
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-K-1-Q-v-n-V-0-b-p-b' LIMIT 1
2039
+  (0.0ms) SAVEPOINT active_record_1
2040
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2042
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2043
+  (0.0ms) SAVEPOINT active_record_1
2044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2045
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2046
+  (0.5ms) rollback transaction
2047
+  (0.1ms) begin transaction
2048
+ -----------------------------------------------
2049
+ HasPublicIdTest: test_Generates_a_random_suffix
2050
+ -----------------------------------------------
2051
+  (0.1ms) rollback transaction
2052
+  (0.1ms) begin transaction
2053
+ ----------------------------------------------
2054
+ HasPublicIdTest: test_Ident_should_==_to_param
2055
+ ----------------------------------------------
2056
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-s-I-9-g-V-Y-D-1-t-w' LIMIT 1
2057
+  (0.1ms) rollback transaction
2058
+  (0.1ms) begin transaction
2059
+ ----------------------------------------------------
2060
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2061
+ ----------------------------------------------------
2062
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2064
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-D-y-V-g-Y-2-C-4-u-M' LIMIT 1
2065
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-f-p-O-X-y-G-p-D-x-o' LIMIT 1
2066
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-C-q-l-I-Z-m-l-K-y-r' LIMIT 1
2067
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-V-c-R-8-m-n-x-V-g-3' LIMIT 1
2068
+  (0.0ms) SAVEPOINT active_record_1
2069
+ SQL (0.6ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2071
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-c-t-f-w-6-G-N-y-R-n' LIMIT 1
2072
+  (0.1ms) SAVEPOINT active_record_1
2073
+ SQL (1.0ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2075
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-A-l-V-S-C-w-A-Q-D' LIMIT 1
2076
+  (0.0ms) SAVEPOINT active_record_1
2077
+ SQL (0.3ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2079
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2080
+  (0.4ms) rollback transaction
2081
+  (0.1ms) begin transaction
2082
+ -----------------------------------------------------
2083
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2084
+ -----------------------------------------------------
2085
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-h-E-b-x-s-7-k-3-v-O' LIMIT 1
2086
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-i-y-G-M-q-v-K-e-x-b' LIMIT 1
2087
+  (0.0ms) rollback transaction
2088
+  (0.1ms) begin transaction
2089
+ ---------------------------------------
2090
+ HasPublicIdTest: test_Setting_join_with
2091
+ ---------------------------------------
2092
+  (0.0ms) rollback transaction
2093
+  (0.1ms) begin transaction
2094
+ -------------------------------------------------
2095
+ HasPublicIdTest: test_Setting_prefix_empty_string
2096
+ -------------------------------------------------
2097
+  (0.1ms) rollback transaction
2098
+  (0.1ms) begin transaction
2099
+ ------------------------------------------
2100
+ HasPublicIdTest: test_Setting_prefix_false
2101
+ ------------------------------------------
2102
+  (0.0ms) rollback transaction
2103
+  (0.0ms) begin transaction
2104
+ ----------------------------------------
2105
+ HasPublicIdTest: test_Setting_prefix_nil
2106
+ ----------------------------------------
2107
+  (0.1ms) rollback transaction
2108
+  (0.1ms) begin transaction
2109
+ ----------------------------------------
2110
+ HasPublicIdTest: test_Setting_the_prefix
2111
+ ----------------------------------------
2112
+  (0.0ms) rollback transaction
2113
+  (0.1ms) begin transaction
2114
+ ------------------------------------------------------
2115
+ HasPublicIdTest: test_Suffix_length_works_as_specified
2116
+ ------------------------------------------------------
2117
+  (0.0ms) rollback transaction
2118
+  (0.4ms) begin transaction
2119
+ Fixture Delete (0.6ms) DELETE FROM "users"
2120
+ Fixture Insert (0.3ms) INSERT 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)
2121
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2123
+  (1.0ms) commit transaction
2124
+  (0.1ms) begin transaction
2125
+ ------------------------------------------------------------------
2126
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2127
+ ------------------------------------------------------------------
2128
+  (0.1ms) rollback transaction
2129
+  (0.1ms) begin transaction
2130
+ -------------------------------------------
2131
+ HasPublicIdTest: test_Default_character_set
2132
+ -------------------------------------------
2133
+  (0.1ms) rollback transaction
2134
+  (0.1ms) begin transaction
2135
+ ------------------------------------------------
2136
+ HasPublicIdTest: test_Defines_#find_by_public_id
2137
+ ------------------------------------------------
2138
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-z-e-G-u-l-3-v-i-v-h' LIMIT 1
2139
+  (0.1ms) SAVEPOINT active_record_1
2140
+ SQL (3.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2142
+ User Load (0.2ms) 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
+  (0.5ms) rollback transaction
2144
+  (0.1ms) begin transaction
2145
+ -------------------------------------------------
2146
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2147
+ -------------------------------------------------
2148
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-r-8-e-u-t-g-S-t-Q-7' LIMIT 1
2149
+  (0.0ms) SAVEPOINT active_record_1
2150
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2152
+  (0.4ms) rollback transaction
2153
+  (0.1ms) begin transaction
2154
+ ----------------------------------------------------
2155
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2156
+ ----------------------------------------------------
2157
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-H-S-W-u-1-C-P-3-G-o' LIMIT 1
2158
+  (0.0ms) SAVEPOINT active_record_1
2159
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2161
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2162
+  (0.1ms) SAVEPOINT active_record_1
2163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2164
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2165
+  (0.4ms) rollback transaction
2166
+  (0.1ms) begin transaction
2167
+ -----------------------------------------------
2168
+ HasPublicIdTest: test_Generates_a_random_suffix
2169
+ -----------------------------------------------
2170
+  (0.1ms) rollback transaction
2171
+  (0.1ms) begin transaction
2172
+ ----------------------------------------------
2173
+ HasPublicIdTest: test_Ident_should_==_to_param
2174
+ ----------------------------------------------
2175
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q-O-a-Y-7-u-L-m-R-1' LIMIT 1
2176
+  (0.1ms) rollback transaction
2177
+  (0.1ms) begin transaction
2178
+ ----------------------------------------------------
2179
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2180
+ ----------------------------------------------------
2181
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2182
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2183
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8-V-D-2-r-d-i-t-M-4' LIMIT 1
2184
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e-u-N-A-z-n-H-a-M-5' LIMIT 1
2185
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e-i-j-h-Z-h-5-o-Y-d' LIMIT 1
2186
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-6-e-m-f-u-f-T-z-N-f' LIMIT 1
2187
+  (0.0ms) SAVEPOINT active_record_1
2188
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2190
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-N-O-u-7-Y-z-P-k-7-P' LIMIT 1
2191
+  (0.0ms) SAVEPOINT active_record_1
2192
+ SQL (1.0ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2194
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-r-8-Y-9-D-D-V-s-m-4' LIMIT 1
2195
+  (0.0ms) SAVEPOINT active_record_1
2196
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2198
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2199
+  (0.4ms) rollback transaction
2200
+  (0.1ms) begin transaction
2201
+ -----------------------------------------------------
2202
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2203
+ -----------------------------------------------------
2204
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-3-T-D-6-g-m-s-s-W-0' LIMIT 1
2205
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b-g-h-N-U-J-O-i-e-m' LIMIT 1
2206
+  (0.0ms) rollback transaction
2207
+  (0.1ms) begin transaction
2208
+ ---------------------------------------
2209
+ HasPublicIdTest: test_Setting_join_with
2210
+ ---------------------------------------
2211
+  (0.0ms) rollback transaction
2212
+  (0.1ms) begin transaction
2213
+ -------------------------------------------------
2214
+ HasPublicIdTest: test_Setting_prefix_empty_string
2215
+ -------------------------------------------------
2216
+  (0.2ms) rollback transaction
2217
+  (0.1ms) begin transaction
2218
+ ------------------------------------------
2219
+ HasPublicIdTest: test_Setting_prefix_false
2220
+ ------------------------------------------
2221
+  (0.1ms) rollback transaction
2222
+  (0.1ms) begin transaction
2223
+ ----------------------------------------
2224
+ HasPublicIdTest: test_Setting_prefix_nil
2225
+ ----------------------------------------
2226
+  (0.1ms) rollback transaction
2227
+  (0.1ms) begin transaction
2228
+ ----------------------------------------
2229
+ HasPublicIdTest: test_Setting_the_prefix
2230
+ ----------------------------------------
2231
+  (0.0ms) rollback transaction
2232
+  (0.1ms) begin transaction
2233
+ ------------------------------------------------------
2234
+ HasPublicIdTest: test_Suffix_length_works_as_specified
2235
+ ------------------------------------------------------
2236
+  (0.0ms) rollback transaction
2237
+  (0.4ms) begin transaction
2238
+ ------------------------------------------------
2239
+ HasPublicId::UtilTest: test_Setting_prefix_false
2240
+ ------------------------------------------------
2241
+  (0.1ms) rollback transaction
2242
+  (0.1ms) begin transaction
2243
+ ----------------------------------------------
2244
+ HasPublicId::UtilTest: test_Setting_prefix_nil
2245
+ ----------------------------------------------
2246
+  (0.0ms) rollback transaction
2247
+  (0.0ms) begin transaction
2248
+ -------------------------------------------
2249
+ HasPublicId::UtilTest: test_char_set.length
2250
+ -------------------------------------------
2251
+  (0.0ms) rollback transaction
2252
+  (0.1ms) begin transaction
2253
+ --------------------------------------------------
2254
+ HasPublicId::UtilTest: test_generate_random_suffix
2255
+ --------------------------------------------------
2256
+  (0.1ms) rollback transaction
2257
+  (0.1ms) begin transaction
2258
+ ----------------------------------------------------------
2259
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
2260
+ ----------------------------------------------------------
2261
+  (0.1ms) rollback transaction
2262
+  (0.1ms) begin transaction
2263
+ -----------------------------------------
2264
+ HasPublicId::UtilTest: test_new_public_id
2265
+ -----------------------------------------
2266
+  (0.0ms) rollback transaction
2267
+  (0.1ms) begin transaction
2268
+ ------------------------------------------------------------
2269
+ HasPublicId::UtilTest: test_new_public_id(option:_join_with)
2270
+ ------------------------------------------------------------
2271
+  (0.1ms) rollback transaction
2272
+  (0.1ms) begin transaction
2273
+ -------------------------------------------------------------
2274
+ HasPublicId::UtilTest: test_new_public_id(option:_prefix:_'')
2275
+ -------------------------------------------------------------
2276
+  (0.0ms) rollback transaction
2277
+  (0.1ms) begin transaction
2278
+ Fixture Delete (0.7ms) DELETE FROM "users"
2279
+ Fixture Insert (0.2ms) INSERT 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)
2280
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2282
+  (0.9ms) commit transaction
2283
+  (0.1ms) begin transaction
2284
+ ------------------------------------------------------------------
2285
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2286
+ ------------------------------------------------------------------
2287
+  (0.1ms) rollback transaction
2288
+  (0.1ms) begin transaction
2289
+ ------------------------------------------------
2290
+ HasPublicIdTest: test_Defines_#find_by_public_id
2291
+ ------------------------------------------------
2292
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1-2-N-b-C-7-o-A-A-l' LIMIT 1
2293
+  (0.1ms) SAVEPOINT active_record_1
2294
+ SQL (3.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2296
+ User Load (0.2ms) 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
+  (0.5ms) rollback transaction
2298
+  (0.1ms) begin transaction
2299
+ -------------------------------------------------
2300
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2301
+ -------------------------------------------------
2302
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-E-0-b-O-O-6-q-Q-8-E' LIMIT 1
2303
+  (0.0ms) SAVEPOINT active_record_1
2304
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2306
+  (0.4ms) rollback transaction
2307
+  (0.0ms) begin transaction
2308
+ ----------------------------------------------------
2309
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2310
+ ----------------------------------------------------
2311
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-s-V-U-W-O-b-o-p-I-D' LIMIT 1
2312
+  (0.0ms) SAVEPOINT active_record_1
2313
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2316
+  (0.1ms) SAVEPOINT active_record_1
2317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2318
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2319
+  (0.4ms) rollback transaction
2320
+  (0.1ms) begin transaction
2321
+ ----------------------------------------------
2322
+ HasPublicIdTest: test_Ident_should_==_to_param
2323
+ ----------------------------------------------
2324
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-p-m-Y-W-K-x-6-x-i-s' LIMIT 1
2325
+  (0.0ms) rollback transaction
2326
+  (0.1ms) begin transaction
2327
+ ----------------------------------------------------
2328
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2329
+ ----------------------------------------------------
2330
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2331
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2332
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-G-z-D-y-a-d-U-j-J-8' LIMIT 1
2333
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-L-2-3-T-7-o-o-k-Z-4' LIMIT 1
2334
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-c-9-k-y-l-N-V-7-8-p' LIMIT 1
2335
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q-e-4-n-0-x-5-A-E-d' LIMIT 1
2336
+  (0.0ms) SAVEPOINT active_record_1
2337
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2339
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7-u-h-G-D-x-I-h-D-J' LIMIT 1
2340
+  (0.1ms) SAVEPOINT active_record_1
2341
+ SQL (1.9ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2343
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-n-U-z-B-s-O-t-0-J-f' LIMIT 1
2344
+  (0.1ms) SAVEPOINT active_record_1
2345
+ SQL (0.3ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2347
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2348
+  (0.5ms) rollback transaction
2349
+  (0.1ms) begin transaction
2350
+ -----------------------------------------------------
2351
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2352
+ -----------------------------------------------------
2353
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1-g-7-7-c-F-H-D-Z-S' LIMIT 1
2354
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-m-z-W-7-P-P-I-D-0-e' LIMIT 1
2355
+  (0.0ms) rollback transaction
2356
+  (0.4ms) begin transaction
2357
+ -------------------------------------------
2358
+ HasPublicId::UtilTest: test_char_set.length
2359
+ -------------------------------------------
2360
+  (0.1ms) rollback transaction
2361
+  (0.1ms) begin transaction
2362
+ --------------------------------------------------
2363
+ HasPublicId::UtilTest: test_generate_random_suffix
2364
+ --------------------------------------------------
2365
+  (0.1ms) rollback transaction
2366
+  (0.1ms) begin transaction
2367
+ ----------------------------------------------------------
2368
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
2369
+ ----------------------------------------------------------
2370
+  (0.1ms) rollback transaction
2371
+  (0.1ms) begin transaction
2372
+ ------------------------------------------------------------
2373
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
2374
+ ------------------------------------------------------------
2375
+  (0.1ms) rollback transaction
2376
+  (0.1ms) begin transaction
2377
+ ------------------------------------------------------------
2378
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
2379
+ ------------------------------------------------------------
2380
+  (0.1ms) rollback transaction
2381
+  (0.1ms) begin transaction
2382
+ ---------------------------------------------------------
2383
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
2384
+ ---------------------------------------------------------
2385
+  (0.0ms) rollback transaction
2386
+  (0.1ms) begin transaction
2387
+ ----------------------------------------------------------
2388
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
2389
+ ----------------------------------------------------------
2390
+  (0.1ms) rollback transaction
2391
+  (0.2ms) begin transaction
2392
+ ------------------------------------------------------
2393
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
2394
+ ------------------------------------------------------
2395
+  (0.0ms) rollback transaction
2396
+  (0.1ms) begin transaction
2397
+ Fixture Delete (0.8ms) DELETE FROM "users"
2398
+ Fixture Insert (0.3ms) INSERT 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)
2399
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2401
+  (0.7ms) commit transaction
2402
+  (0.1ms) begin transaction
2403
+ ------------------------------------------------------------------
2404
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2405
+ ------------------------------------------------------------------
2406
+  (0.1ms) rollback transaction
2407
+  (0.1ms) begin transaction
2408
+ ------------------------------------------------
2409
+ HasPublicIdTest: test_Defines_#find_by_public_id
2410
+ ------------------------------------------------
2411
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-4-j-w-O-R-b-V-B-h-8' LIMIT 1
2412
+  (0.1ms) SAVEPOINT active_record_1
2413
+ SQL (4.0ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2415
+ User Load (0.2ms) 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
+  (0.5ms) rollback transaction
2417
+  (0.1ms) begin transaction
2418
+ -------------------------------------------------
2419
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2420
+ -------------------------------------------------
2421
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-d-N-Z-v-I-w-q-d-2-U' LIMIT 1
2422
+  (0.1ms) SAVEPOINT active_record_1
2423
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2425
+  (0.4ms) rollback transaction
2426
+  (0.1ms) begin transaction
2427
+ ----------------------------------------------------
2428
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2429
+ ----------------------------------------------------
2430
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-d-q-7-o-U-f-4-K-C-1' LIMIT 1
2431
+  (0.1ms) SAVEPOINT active_record_1
2432
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2434
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2435
+  (0.0ms) SAVEPOINT active_record_1
2436
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2437
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2438
+  (0.4ms) rollback transaction
2439
+  (0.1ms) begin transaction
2440
+ ----------------------------------------------
2441
+ HasPublicIdTest: test_Ident_should_==_to_param
2442
+ ----------------------------------------------
2443
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-k-l-N-N-1-m-J-S-4-x' LIMIT 1
2444
+  (0.1ms) rollback transaction
2445
+  (0.1ms) begin transaction
2446
+ ----------------------------------------------------
2447
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2448
+ ----------------------------------------------------
2449
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2450
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2451
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-6-3-V-j-6-v-N-x-e-H' LIMIT 1
2452
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-D-I-l-c-f-1-1-r-N-R' LIMIT 1
2453
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-U-y-Y-y-s-P-d-I-y-C' LIMIT 1
2454
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-y-2-a-5-t-D-o-q-A-r' LIMIT 1
2455
+  (0.1ms) SAVEPOINT active_record_1
2456
+ SQL (0.5ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2458
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q-L-1-c-G-c-Y-E-V-R' LIMIT 1
2459
+  (0.1ms) SAVEPOINT active_record_1
2460
+ SQL (1.1ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2462
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-R-v-Q-B-a-L-s-O-7-A' LIMIT 1
2463
+  (0.0ms) SAVEPOINT active_record_1
2464
+ SQL (0.3ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2466
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2467
+  (0.6ms) rollback transaction
2468
+  (0.1ms) begin transaction
2469
+ -----------------------------------------------------
2470
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2471
+ -----------------------------------------------------
2472
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-X-X-3-q-t-k-W-s-p-6' LIMIT 1
2473
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-3-B-n-b-J-y-w-j-f-x' LIMIT 1
2474
+  (0.1ms) rollback transaction
2475
+  (0.4ms) begin transaction
2476
+ -------------------------------------------
2477
+ HasPublicId::UtilTest: test_char_set.length
2478
+ -------------------------------------------
2479
+  (0.1ms) rollback transaction
2480
+  (0.1ms) begin transaction
2481
+ --------------------------------------------------
2482
+ HasPublicId::UtilTest: test_generate_random_suffix
2483
+ --------------------------------------------------
2484
+  (0.1ms) rollback transaction
2485
+  (0.0ms) begin transaction
2486
+ ----------------------------------------------------------
2487
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
2488
+ ----------------------------------------------------------
2489
+  (0.0ms) rollback transaction
2490
+  (0.0ms) begin transaction
2491
+ ------------------------------------------------------------
2492
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
2493
+ ------------------------------------------------------------
2494
+  (0.2ms) rollback transaction
2495
+  (0.1ms) begin transaction
2496
+ ------------------------------------------------------------
2497
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
2498
+ ------------------------------------------------------------
2499
+  (0.1ms) rollback transaction
2500
+  (0.1ms) begin transaction
2501
+ ---------------------------------------------------------
2502
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
2503
+ ---------------------------------------------------------
2504
+  (0.0ms) rollback transaction
2505
+  (0.1ms) begin transaction
2506
+ ----------------------------------------------------------
2507
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
2508
+ ----------------------------------------------------------
2509
+  (0.0ms) rollback transaction
2510
+  (0.1ms) begin transaction
2511
+ ------------------------------------------------------
2512
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
2513
+ ------------------------------------------------------
2514
+  (0.0ms) rollback transaction
2515
+  (0.1ms) begin transaction
2516
+ Fixture Delete (0.8ms) DELETE FROM "users"
2517
+ Fixture Insert (0.3ms) INSERT 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)
2518
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2520
+  (0.7ms) commit transaction
2521
+  (0.1ms) begin transaction
2522
+ ------------------------------------------------------------------
2523
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2524
+ ------------------------------------------------------------------
2525
+  (0.1ms) rollback transaction
2526
+  (0.1ms) begin transaction
2527
+ ------------------------------------------------
2528
+ HasPublicIdTest: test_Defines_#find_by_public_id
2529
+ ------------------------------------------------
2530
+ User Exists (0.2ms) 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
+  (0.0ms) SAVEPOINT active_record_1
2532
+ SQL (3.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2534
+ User Load (0.1ms) 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
+  (0.4ms) rollback transaction
2536
+  (0.1ms) begin transaction
2537
+ -------------------------------------------------
2538
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2539
+ -------------------------------------------------
2540
+ User Exists (0.1ms) SELECT 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
2541
+  (0.0ms) SAVEPOINT active_record_1
2542
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2544
+  (0.4ms) rollback transaction
2545
+  (0.0ms) begin transaction
2546
+ ----------------------------------------------------
2547
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2548
+ ----------------------------------------------------
2549
+ User Exists (0.1ms) SELECT 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
2550
+  (0.0ms) SAVEPOINT active_record_1
2551
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2553
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2554
+  (0.0ms) SAVEPOINT active_record_1
2555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2556
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2557
+  (0.4ms) rollback transaction
2558
+  (0.1ms) begin transaction
2559
+ ----------------------------------------------
2560
+ HasPublicIdTest: test_Ident_should_==_to_param
2561
+ ----------------------------------------------
2562
+ User Exists (0.2ms) SELECT 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
2563
+  (0.0ms) rollback transaction
2564
+  (0.1ms) begin transaction
2565
+ ----------------------------------------------------
2566
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2567
+ ----------------------------------------------------
2568
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2569
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2570
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2572
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2574
+  (0.0ms) SAVEPOINT active_record_1
2575
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2577
+ User Exists (0.1ms) SELECT 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
2578
+  (0.1ms) SAVEPOINT active_record_1
2579
+ SQL (1.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2581
+ User Exists (0.1ms) SELECT 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
2582
+  (0.0ms) SAVEPOINT active_record_1
2583
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2585
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2586
+  (0.4ms) rollback transaction
2587
+  (0.1ms) begin transaction
2588
+ -----------------------------------------------------
2589
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2590
+ -----------------------------------------------------
2591
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2593
+  (0.0ms) rollback transaction
2594
+  (0.4ms) begin transaction
2595
+ -------------------------------------------
2596
+ HasPublicId::UtilTest: test_char_set.length
2597
+ -------------------------------------------
2598
+  (0.1ms) rollback transaction
2599
+  (0.1ms) begin transaction
2600
+ --------------------------------------------------
2601
+ HasPublicId::UtilTest: test_generate_random_suffix
2602
+ --------------------------------------------------
2603
+  (0.1ms) rollback transaction
2604
+  (0.1ms) begin transaction
2605
+ ----------------------------------------------------------
2606
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
2607
+ ----------------------------------------------------------
2608
+  (0.0ms) rollback transaction
2609
+  (0.1ms) begin transaction
2610
+ ------------------------------------------------------------
2611
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
2612
+ ------------------------------------------------------------
2613
+  (0.0ms) rollback transaction
2614
+  (0.1ms) begin transaction
2615
+ ------------------------------------------------------------
2616
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
2617
+ ------------------------------------------------------------
2618
+  (0.1ms) rollback transaction
2619
+  (0.1ms) begin transaction
2620
+ ---------------------------------------------------------
2621
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
2622
+ ---------------------------------------------------------
2623
+  (0.1ms) rollback transaction
2624
+  (0.1ms) begin transaction
2625
+ ----------------------------------------------------------
2626
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
2627
+ ----------------------------------------------------------
2628
+  (0.1ms) rollback transaction
2629
+  (0.1ms) begin transaction
2630
+ ------------------------------------------------------
2631
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
2632
+ ------------------------------------------------------
2633
+  (0.0ms) rollback transaction
2634
+  (0.1ms) begin transaction
2635
+ Fixture Delete (0.8ms) DELETE FROM "users"
2636
+ Fixture Insert (0.3ms) INSERT 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)
2637
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2639
+  (0.9ms) commit transaction
2640
+  (0.1ms) begin transaction
2641
+ ------------------------------------------------------------------
2642
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2643
+ ------------------------------------------------------------------
2644
+  (0.1ms) rollback transaction
2645
+  (0.1ms) begin transaction
2646
+ ------------------------------------------------
2647
+ HasPublicIdTest: test_Defines_#find_by_public_id
2648
+ ------------------------------------------------
2649
+ User Exists (0.2ms) 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
+  (0.1ms) SAVEPOINT active_record_1
2651
+ SQL (3.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2653
+ User Load (0.1ms) 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
+  (0.4ms) rollback transaction
2655
+  (0.1ms) begin transaction
2656
+ -------------------------------------------------
2657
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2658
+ -------------------------------------------------
2659
+ User Exists (0.1ms) SELECT 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
2660
+  (0.0ms) SAVEPOINT active_record_1
2661
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2663
+  (0.5ms) rollback transaction
2664
+  (0.1ms) begin transaction
2665
+ ----------------------------------------------------
2666
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2667
+ ----------------------------------------------------
2668
+ User Exists (0.1ms) SELECT 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
2669
+  (0.0ms) SAVEPOINT active_record_1
2670
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2672
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2673
+  (0.0ms) SAVEPOINT active_record_1
2674
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2675
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2676
+  (0.5ms) rollback transaction
2677
+  (0.1ms) begin transaction
2678
+ ----------------------------------------------
2679
+ HasPublicIdTest: test_Ident_should_==_to_param
2680
+ ----------------------------------------------
2681
+ User Exists (0.1ms) SELECT 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
2682
+  (0.1ms) rollback transaction
2683
+  (0.1ms) begin transaction
2684
+ ----------------------------------------------------
2685
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2686
+ ----------------------------------------------------
2687
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2688
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2689
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2691
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2693
+  (0.1ms) SAVEPOINT active_record_1
2694
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2696
+ User Exists (0.1ms) SELECT 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
2697
+  (0.0ms) SAVEPOINT active_record_1
2698
+ SQL (1.0ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2700
+ User Exists (0.1ms) SELECT 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
2701
+  (0.0ms) SAVEPOINT active_record_1
2702
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2704
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2705
+  (0.5ms) rollback transaction
2706
+  (0.1ms) begin transaction
2707
+ -----------------------------------------------------
2708
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2709
+ -----------------------------------------------------
2710
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2712
+  (0.0ms) rollback transaction
2713
+  (0.4ms) begin transaction
2714
+ -------------------------------------------
2715
+ HasPublicId::UtilTest: test_char_set.length
2716
+ -------------------------------------------
2717
+  (0.1ms) rollback transaction
2718
+  (0.1ms) begin transaction
2719
+ --------------------------------------------------
2720
+ HasPublicId::UtilTest: test_generate_random_suffix
2721
+ --------------------------------------------------
2722
+  (0.1ms) rollback transaction
2723
+  (0.1ms) begin transaction
2724
+ ----------------------------------------------------------
2725
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
2726
+ ----------------------------------------------------------
2727
+  (0.0ms) rollback transaction
2728
+  (0.1ms) begin transaction
2729
+ ------------------------------------------------------------
2730
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
2731
+ ------------------------------------------------------------
2732
+  (0.0ms) rollback transaction
2733
+  (0.1ms) begin transaction
2734
+ ------------------------------------------------------------
2735
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
2736
+ ------------------------------------------------------------
2737
+  (0.0ms) rollback transaction
2738
+  (0.1ms) begin transaction
2739
+ ---------------------------------------------------------
2740
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
2741
+ ---------------------------------------------------------
2742
+  (0.0ms) rollback transaction
2743
+  (0.1ms) begin transaction
2744
+ ----------------------------------------------------------
2745
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
2746
+ ----------------------------------------------------------
2747
+  (0.0ms) rollback transaction
2748
+  (0.1ms) begin transaction
2749
+ ------------------------------------------------------
2750
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
2751
+ ------------------------------------------------------
2752
+  (0.0ms) rollback transaction
2753
+  (0.1ms) begin transaction
2754
+ Fixture Delete (0.3ms) DELETE FROM "users"
2755
+ Fixture Insert (0.2ms) INSERT 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)
2756
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2758
+  (2.0ms) commit transaction
2759
+  (0.1ms) begin transaction
2760
+ ------------------------------------------------------------------
2761
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2762
+ ------------------------------------------------------------------
2763
+  (0.1ms) rollback transaction
2764
+  (0.1ms) begin transaction
2765
+ ------------------------------------------------
2766
+ HasPublicIdTest: test_Defines_#find_by_public_id
2767
+ ------------------------------------------------
2768
+ User Exists (0.2ms) 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
+  (0.1ms) SAVEPOINT active_record_1
2770
+ SQL (2.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2772
+ User Load (0.1ms) 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
+  (0.5ms) rollback transaction
2774
+  (0.1ms) begin transaction
2775
+ -------------------------------------------------
2776
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2777
+ -------------------------------------------------
2778
+ User Exists (0.3ms) SELECT 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
2779
+  (0.1ms) SAVEPOINT active_record_1
2780
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2782
+  (0.5ms) rollback transaction
2783
+  (0.1ms) begin transaction
2784
+ ----------------------------------------------------
2785
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2786
+ ----------------------------------------------------
2787
+ User Exists (0.2ms) SELECT 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
2788
+  (0.0ms) SAVEPOINT active_record_1
2789
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2791
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2792
+  (0.0ms) SAVEPOINT active_record_1
2793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2794
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2795
+  (0.4ms) rollback transaction
2796
+  (0.1ms) begin transaction
2797
+ ----------------------------------------------
2798
+ HasPublicIdTest: test_Ident_should_==_to_param
2799
+ ----------------------------------------------
2800
+ User Exists (0.1ms) SELECT 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
2801
+  (0.0ms) rollback transaction
2802
+  (0.1ms) begin transaction
2803
+ ----------------------------------------------------
2804
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2805
+ ----------------------------------------------------
2806
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2807
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2808
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2810
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2812
+  (0.1ms) SAVEPOINT active_record_1
2813
+ SQL (0.5ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2815
+ User Exists (0.1ms) SELECT 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
2816
+  (0.0ms) SAVEPOINT active_record_1
2817
+ SQL (1.0ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2819
+ User Exists (0.1ms) SELECT 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
2820
+  (0.0ms) SAVEPOINT active_record_1
2821
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2823
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2824
+  (0.5ms) rollback transaction
2825
+  (0.1ms) begin transaction
2826
+ -----------------------------------------------------
2827
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2828
+ -----------------------------------------------------
2829
+ User Exists (0.1ms) 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
+ User Exists (0.1ms) SELECT 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
2831
+  (0.1ms) rollback transaction
2832
+  (0.4ms) begin transaction
2833
+ -------------------------------------------
2834
+ HasPublicId::UtilTest: test_char_set.length
2835
+ -------------------------------------------
2836
+  (0.1ms) rollback transaction
2837
+  (0.1ms) begin transaction
2838
+ --------------------------------------------------
2839
+ HasPublicId::UtilTest: test_generate_random_suffix
2840
+ --------------------------------------------------
2841
+  (0.1ms) rollback transaction
2842
+  (0.1ms) begin transaction
2843
+ ----------------------------------------------------------
2844
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
2845
+ ----------------------------------------------------------
2846
+  (0.0ms) rollback transaction
2847
+  (0.0ms) begin transaction
2848
+ ------------------------------------------------------------
2849
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
2850
+ ------------------------------------------------------------
2851
+  (0.1ms) rollback transaction
2852
+  (0.0ms) begin transaction
2853
+ ------------------------------------------------------------
2854
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
2855
+ ------------------------------------------------------------
2856
+  (0.0ms) rollback transaction
2857
+  (0.0ms) begin transaction
2858
+ ---------------------------------------------------------
2859
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
2860
+ ---------------------------------------------------------
2861
+  (0.0ms) rollback transaction
2862
+  (0.0ms) begin transaction
2863
+ ----------------------------------------------------------
2864
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
2865
+ ----------------------------------------------------------
2866
+  (0.0ms) rollback transaction
2867
+  (0.1ms) begin transaction
2868
+ ------------------------------------------------------
2869
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
2870
+ ------------------------------------------------------
2871
+  (0.1ms) rollback transaction
2872
+  (0.2ms) begin transaction
2873
+ Fixture Delete (0.9ms) DELETE FROM "users"
2874
+ Fixture Insert (0.2ms) INSERT 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)
2875
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2877
+  (0.9ms) commit transaction
2878
+  (0.1ms) begin transaction
2879
+ ------------------------------------------------------------------
2880
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
2881
+ ------------------------------------------------------------------
2882
+  (0.1ms) rollback transaction
2883
+  (0.1ms) begin transaction
2884
+ ------------------------------------------------
2885
+ HasPublicIdTest: test_Defines_#find_by_public_id
2886
+ ------------------------------------------------
2887
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-4tDr9Nlf67nhBG' LIMIT 1
2888
+  (0.0ms) SAVEPOINT active_record_1
2889
+ SQL (3.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2891
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-4tDr9Nlf67nhBG' ORDER BY "users"."id" ASC LIMIT 1
2892
+  (0.6ms) rollback transaction
2893
+  (0.1ms) begin transaction
2894
+ -------------------------------------------------
2895
+ HasPublicIdTest: test_Defines_#find_by_public_id!
2896
+ -------------------------------------------------
2897
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-cvJcDepvhr50Wa' LIMIT 1
2898
+  (0.0ms) SAVEPOINT active_record_1
2899
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2901
+  (0.6ms) rollback transaction
2902
+  (0.1ms) begin transaction
2903
+ ----------------------------------------------------
2904
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
2905
+ ----------------------------------------------------
2906
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-CBSzO34oNvSiUR' LIMIT 1
2907
+  (0.0ms) SAVEPOINT active_record_1
2908
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2910
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2911
+  (0.0ms) SAVEPOINT active_record_1
2912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2913
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
2914
+  (0.5ms) rollback transaction
2915
+  (0.1ms) begin transaction
2916
+ ----------------------------------------------
2917
+ HasPublicIdTest: test_Ident_should_==_to_param
2918
+ ----------------------------------------------
2919
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-y4CUO3pt9Icbbt' LIMIT 1
2920
+  (0.1ms) rollback transaction
2921
+  (0.1ms) begin transaction
2922
+ ----------------------------------------------------
2923
+ HasPublicIdTest: test_Initialize_all_the_public_id's
2924
+ ----------------------------------------------------
2925
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2926
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
2927
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-abcKidThbfoJA1' LIMIT 1
2928
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2GW6MrfcYJkvWn' LIMIT 1
2929
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ieT5Kxm5UnBGSy' LIMIT 1
2930
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-iUjT1Jn8VtbtGM' LIMIT 1
2931
+  (0.1ms) SAVEPOINT active_record_1
2932
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-iUjT1Jn8VtbtGM"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
2933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2934
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-u64Fq7zWeinEMx' LIMIT 1
2935
+  (0.0ms) SAVEPOINT active_record_1
2936
+ SQL (1.0ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-u64Fq7zWeinEMx"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
2937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2938
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-RIxLv2dzXFuTa3' LIMIT 1
2939
+  (0.0ms) SAVEPOINT active_record_1
2940
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-RIxLv2dzXFuTa3"], ["updated_at", Fri, 10 Jan 2014 17:51:03 UTC +00:00]]
2941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2942
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
2943
+  (0.5ms) rollback transaction
2944
+  (0.1ms) begin transaction
2945
+ -----------------------------------------------------
2946
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
2947
+ -----------------------------------------------------
2948
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-KBFNDylvtY7Ecy' LIMIT 1
2949
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-k8WA7tvRR3IfEk' LIMIT 1
2950
+  (0.1ms) rollback transaction
2951
+  (0.6ms) begin transaction
2952
+ -------------------------------------------
2953
+ HasPublicId::UtilTest: test_char_set.length
2954
+ -------------------------------------------
2955
+  (0.1ms) rollback transaction
2956
+  (0.1ms) begin transaction
2957
+ --------------------------------------------------
2958
+ HasPublicId::UtilTest: test_generate_random_suffix
2959
+ --------------------------------------------------
2960
+  (0.2ms) rollback transaction
2961
+  (0.1ms) begin transaction
2962
+ ----------------------------------------------------------
2963
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
2964
+ ----------------------------------------------------------
2965
+  (0.1ms) rollback transaction
2966
+  (0.1ms) begin transaction
2967
+ ------------------------------------------------------------
2968
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
2969
+ ------------------------------------------------------------
2970
+  (0.1ms) rollback transaction
2971
+  (0.1ms) begin transaction
2972
+ ------------------------------------------------------------
2973
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
2974
+ ------------------------------------------------------------
2975
+  (0.1ms) rollback transaction
2976
+  (0.1ms) begin transaction
2977
+ ---------------------------------------------------------
2978
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
2979
+ ---------------------------------------------------------
2980
+  (0.1ms) rollback transaction
2981
+  (0.1ms) begin transaction
2982
+ ----------------------------------------------------------
2983
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
2984
+ ----------------------------------------------------------
2985
+  (0.1ms) rollback transaction
2986
+  (0.1ms) begin transaction
2987
+ ------------------------------------------------------
2988
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
2989
+ ------------------------------------------------------
2990
+  (0.1ms) rollback transaction
2991
+  (0.1ms) begin transaction
2992
+ Fixture Delete (0.8ms) DELETE FROM "users"
2993
+ Fixture Insert (0.2ms) INSERT 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)
2994
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
2996
+  (0.8ms) commit transaction
2997
+  (0.1ms) begin transaction
2998
+ ------------------------------------------------------------------
2999
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
3000
+ ------------------------------------------------------------------
3001
+  (0.1ms) rollback transaction
3002
+  (0.1ms) begin transaction
3003
+ ------------------------------------------------
3004
+ HasPublicIdTest: test_Defines_#find_by_public_id
3005
+ ------------------------------------------------
3006
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-27pSLFWhcSnHlg' LIMIT 1
3007
+  (0.1ms) SAVEPOINT active_record_1
3008
+ SQL (3.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3010
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-27pSLFWhcSnHlg' ORDER BY "users"."id" ASC LIMIT 1
3011
+  (0.5ms) rollback transaction
3012
+  (0.1ms) begin transaction
3013
+ -------------------------------------------------
3014
+ HasPublicIdTest: test_Defines_#find_by_public_id!
3015
+ -------------------------------------------------
3016
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ctVfXMtlEsdzfy' LIMIT 1
3017
+  (0.0ms) SAVEPOINT active_record_1
3018
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3020
+  (0.5ms) rollback transaction
3021
+  (0.1ms) begin transaction
3022
+ ----------------------------------------------------
3023
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
3024
+ ----------------------------------------------------
3025
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ZzqyhAwSfyDBbc' LIMIT 1
3026
+  (0.1ms) SAVEPOINT active_record_1
3027
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3029
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3030
+  (0.0ms) SAVEPOINT active_record_1
3031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3032
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3033
+  (0.8ms) rollback transaction
3034
+  (0.1ms) begin transaction
3035
+ ----------------------------------------------
3036
+ HasPublicIdTest: test_Ident_should_==_to_param
3037
+ ----------------------------------------------
3038
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-HKs8XLdtpYtWDd' LIMIT 1
3039
+  (0.1ms) rollback transaction
3040
+  (0.2ms) begin transaction
3041
+ ----------------------------------------------------
3042
+ HasPublicIdTest: test_Initialize_all_the_public_id's
3043
+ ----------------------------------------------------
3044
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3045
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3046
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-kd6uteYEXAF6Dd' LIMIT 1
3047
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-hF7dvuau9QwGRm' LIMIT 1
3048
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-UKeNF0G9PPbK9M' LIMIT 1
3049
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-x3JMQo67qqYj2i' LIMIT 1
3050
+  (0.0ms) SAVEPOINT active_record_1
3051
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-x3JMQo67qqYj2i"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
3052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3053
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7grQl5FYvfqV7G' LIMIT 1
3054
+  (0.1ms) SAVEPOINT active_record_1
3055
+ SQL (1.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-7grQl5FYvfqV7G"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
3056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3057
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-RrkTc7O0uEqlJk' LIMIT 1
3058
+  (0.1ms) SAVEPOINT active_record_1
3059
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-RrkTc7O0uEqlJk"], ["updated_at", Fri, 10 Jan 2014 17:53:59 UTC +00:00]]
3060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3061
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3062
+  (0.4ms) rollback transaction
3063
+  (0.1ms) begin transaction
3064
+ -----------------------------------------------------
3065
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
3066
+ -----------------------------------------------------
3067
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-RbignESBvPiLwP' LIMIT 1
3068
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-nQJs8PzBIciiWO' LIMIT 1
3069
+  (0.1ms) rollback transaction
3070
+  (0.4ms) begin transaction
3071
+ -------------------------------------------
3072
+ HasPublicId::UtilTest: test_char_set.length
3073
+ -------------------------------------------
3074
+  (0.1ms) rollback transaction
3075
+  (0.1ms) begin transaction
3076
+ --------------------------------------------------
3077
+ HasPublicId::UtilTest: test_generate_random_suffix
3078
+ --------------------------------------------------
3079
+  (0.1ms) rollback transaction
3080
+  (0.1ms) begin transaction
3081
+ ----------------------------------------------------------
3082
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3083
+ ----------------------------------------------------------
3084
+  (0.1ms) rollback transaction
3085
+  (0.1ms) begin transaction
3086
+ ------------------------------------------------------------
3087
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3088
+ ------------------------------------------------------------
3089
+  (0.0ms) rollback transaction
3090
+  (0.0ms) begin transaction
3091
+ ------------------------------------------------------------
3092
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3093
+ ------------------------------------------------------------
3094
+  (0.0ms) rollback transaction
3095
+  (0.1ms) begin transaction
3096
+ ---------------------------------------------------------
3097
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3098
+ ---------------------------------------------------------
3099
+  (0.1ms) rollback transaction
3100
+  (0.0ms) begin transaction
3101
+ ----------------------------------------------------------
3102
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3103
+ ----------------------------------------------------------
3104
+  (0.0ms) rollback transaction
3105
+  (0.1ms) begin transaction
3106
+ ------------------------------------------------------
3107
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3108
+ ------------------------------------------------------
3109
+  (0.1ms) rollback transaction
3110
+  (0.1ms) begin transaction
3111
+ Fixture Delete (0.3ms) DELETE FROM "users"
3112
+ Fixture Insert (0.2ms) INSERT 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)
3113
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
3115
+  (2.1ms) commit transaction
3116
+  (0.1ms) begin transaction
3117
+ ------------------------------------------------------------------
3118
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
3119
+ ------------------------------------------------------------------
3120
+  (0.1ms) rollback transaction
3121
+  (0.1ms) begin transaction
3122
+ ------------------------------------------------
3123
+ HasPublicIdTest: test_Defines_#find_by_public_id
3124
+ ------------------------------------------------
3125
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-OcYl99oaHx1C4Z' LIMIT 1
3126
+  (0.0ms) SAVEPOINT active_record_1
3127
+ SQL (3.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3129
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-OcYl99oaHx1C4Z' ORDER BY "users"."id" ASC LIMIT 1
3130
+  (0.4ms) rollback transaction
3131
+  (0.1ms) begin transaction
3132
+ -------------------------------------------------
3133
+ HasPublicIdTest: test_Defines_#find_by_public_id!
3134
+ -------------------------------------------------
3135
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-mM5VAaHMzS3tYh' LIMIT 1
3136
+  (0.0ms) SAVEPOINT active_record_1
3137
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3139
+  (0.4ms) rollback transaction
3140
+  (0.1ms) begin transaction
3141
+ ----------------------------------------------------
3142
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
3143
+ ----------------------------------------------------
3144
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YmEN27LukeBFIG' LIMIT 1
3145
+  (0.0ms) SAVEPOINT active_record_1
3146
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3148
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3149
+  (0.1ms) SAVEPOINT active_record_1
3150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3151
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3152
+  (0.5ms) rollback transaction
3153
+  (0.1ms) begin transaction
3154
+ ----------------------------------------------
3155
+ HasPublicIdTest: test_Ident_should_==_to_param
3156
+ ----------------------------------------------
3157
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-awKsIVKqx0b9xY' LIMIT 1
3158
+  (0.0ms) rollback transaction
3159
+  (0.0ms) begin transaction
3160
+ ----------------------------------------------------
3161
+ HasPublicIdTest: test_Initialize_all_the_public_id's
3162
+ ----------------------------------------------------
3163
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3164
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3165
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VX5yWCfC1FNW00' LIMIT 1
3166
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-TrQUFXqIvoNrBc' LIMIT 1
3167
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VzQzGDRnr8oRC3' LIMIT 1
3168
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Kur8QDR5eNfGQg' LIMIT 1
3169
+  (0.1ms) SAVEPOINT active_record_1
3170
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-Kur8QDR5eNfGQg"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
3171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3172
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-XOeNr5cODIFQBH' LIMIT 1
3173
+  (0.0ms) SAVEPOINT active_record_1
3174
+ SQL (1.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-XOeNr5cODIFQBH"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
3175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3176
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2sVSSoBjFccRMX' LIMIT 1
3177
+  (0.0ms) SAVEPOINT active_record_1
3178
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-2sVSSoBjFccRMX"], ["updated_at", Fri, 10 Jan 2014 17:54:34 UTC +00:00]]
3179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3180
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3181
+  (0.5ms) rollback transaction
3182
+  (0.1ms) begin transaction
3183
+ -----------------------------------------------------
3184
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
3185
+ -----------------------------------------------------
3186
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-lt5S6Hau83D36G' LIMIT 1
3187
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-cRhZWnI8wm4Ixr' LIMIT 1
3188
+  (0.1ms) rollback transaction
3189
+  (0.4ms) begin transaction
3190
+ -------------------------------------------
3191
+ HasPublicId::UtilTest: test_char_set.length
3192
+ -------------------------------------------
3193
+  (0.1ms) rollback transaction
3194
+  (0.1ms) begin transaction
3195
+ --------------------------------------------------
3196
+ HasPublicId::UtilTest: test_generate_random_suffix
3197
+ --------------------------------------------------
3198
+  (0.1ms) rollback transaction
3199
+  (0.0ms) begin transaction
3200
+ ----------------------------------------------------------
3201
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3202
+ ----------------------------------------------------------
3203
+  (0.0ms) rollback transaction
3204
+  (0.0ms) begin transaction
3205
+ ------------------------------------------------------------
3206
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3207
+ ------------------------------------------------------------
3208
+  (0.0ms) rollback transaction
3209
+  (0.0ms) begin transaction
3210
+ ------------------------------------------------------------
3211
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3212
+ ------------------------------------------------------------
3213
+  (0.0ms) rollback transaction
3214
+  (0.0ms) begin transaction
3215
+ ---------------------------------------------------------
3216
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3217
+ ---------------------------------------------------------
3218
+  (0.1ms) rollback transaction
3219
+  (0.0ms) begin transaction
3220
+ ----------------------------------------------------------
3221
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3222
+ ----------------------------------------------------------
3223
+  (0.0ms) rollback transaction
3224
+  (0.1ms) begin transaction
3225
+ ------------------------------------------------------
3226
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3227
+ ------------------------------------------------------
3228
+  (0.0ms) rollback transaction
3229
+  (0.1ms) begin transaction
3230
+ Fixture Delete (0.8ms) DELETE FROM "users"
3231
+ Fixture Insert (0.3ms) INSERT 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)
3232
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
3234
+  (0.9ms) commit transaction
3235
+  (0.1ms) begin transaction
3236
+ ------------------------------------------------------------------
3237
+ HasPublicIdTest: test_ActiveRecord::Base_responds_to_has_public_id
3238
+ ------------------------------------------------------------------
3239
+  (0.1ms) rollback transaction
3240
+  (0.1ms) begin transaction
3241
+ ------------------------------------------------
3242
+ HasPublicIdTest: test_Defines_#find_by_public_id
3243
+ ------------------------------------------------
3244
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-mRP0cNlg9iugOf' LIMIT 1
3245
+  (0.1ms) SAVEPOINT active_record_1
3246
+ SQL (2.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3248
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-mRP0cNlg9iugOf' ORDER BY "users"."id" ASC LIMIT 1
3249
+  (0.5ms) rollback transaction
3250
+  (0.1ms) begin transaction
3251
+ -------------------------------------------------
3252
+ HasPublicIdTest: test_Defines_#find_by_public_id!
3253
+ -------------------------------------------------
3254
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ywGrcZqfsEv6oG' LIMIT 1
3255
+  (0.0ms) SAVEPOINT active_record_1
3256
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3258
+  (0.4ms) rollback transaction
3259
+  (0.1ms) begin transaction
3260
+ ----------------------------------------------------
3261
+ HasPublicIdTest: test_Doesn't_change_on_save,_update
3262
+ ----------------------------------------------------
3263
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-sXz4vkuUU36MST' LIMIT 1
3264
+  (0.0ms) SAVEPOINT active_record_1
3265
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3267
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3268
+  (0.0ms) SAVEPOINT active_record_1
3269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3270
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3271
+  (0.5ms) rollback transaction
3272
+  (0.1ms) begin transaction
3273
+ ----------------------------------------------
3274
+ HasPublicIdTest: test_Ident_should_==_to_param
3275
+ ----------------------------------------------
3276
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-IVKjKeM6aYMndH' LIMIT 1
3277
+  (0.1ms) rollback transaction
3278
+  (0.1ms) begin transaction
3279
+ ----------------------------------------------------
3280
+ HasPublicIdTest: test_Initialize_all_the_public_id's
3281
+ ----------------------------------------------------
3282
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3283
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3284
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-dak6ymXcZ9dfUM' LIMIT 1
3285
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2wbHaqoO9Wfw0J' LIMIT 1
3286
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-LLXCxxXj1s3IQU' LIMIT 1
3287
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-OQ8Zss3uPSbdcd' LIMIT 1
3288
+  (0.0ms) SAVEPOINT active_record_1
3289
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-OQ8Zss3uPSbdcd"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
3290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3291
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-n5zNoclYK1BdaL' LIMIT 1
3292
+  (0.1ms) SAVEPOINT active_record_1
3293
+ SQL (1.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-n5zNoclYK1BdaL"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
3294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3295
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YR1BRXx9mz0f3h' LIMIT 1
3296
+  (0.0ms) SAVEPOINT active_record_1
3297
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-YR1BRXx9mz0f3h"], ["updated_at", Fri, 10 Jan 2014 17:55:08 UTC +00:00]]
3298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3299
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3300
+  (0.5ms) rollback transaction
3301
+  (0.1ms) begin transaction
3302
+ -----------------------------------------------------
3303
+ HasPublicIdTest: test_New_users_get_an_ID_initialized
3304
+ -----------------------------------------------------
3305
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-SXUhbqeWdy3iBu' LIMIT 1
3306
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-HCVarojqy5l1cc' LIMIT 1
3307
+  (0.1ms) rollback transaction
3308
+  (0.0ms) begin transaction
3309
+ ------------------------
3310
+ UserTest: test_the_truth
3311
+ ------------------------
3312
+  (0.1ms) rollback transaction
3313
+  (0.4ms) begin transaction
3314
+ -------------------------------------------
3315
+ HasPublicId::UtilTest: test_char_set.length
3316
+ -------------------------------------------
3317
+  (0.1ms) rollback transaction
3318
+  (0.1ms) begin transaction
3319
+ --------------------------------------------------
3320
+ HasPublicId::UtilTest: test_generate_random_suffix
3321
+ --------------------------------------------------
3322
+  (0.1ms) rollback transaction
3323
+  (0.0ms) begin transaction
3324
+ ----------------------------------------------------------
3325
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3326
+ ----------------------------------------------------------
3327
+  (0.0ms) rollback transaction
3328
+  (0.0ms) begin transaction
3329
+ ------------------------------------------------------------
3330
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3331
+ ------------------------------------------------------------
3332
+  (0.0ms) rollback transaction
3333
+  (0.0ms) begin transaction
3334
+ ------------------------------------------------------------
3335
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3336
+ ------------------------------------------------------------
3337
+  (0.0ms) rollback transaction
3338
+  (0.0ms) begin transaction
3339
+ ---------------------------------------------------------
3340
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3341
+ ---------------------------------------------------------
3342
+  (0.1ms) rollback transaction
3343
+  (0.0ms) begin transaction
3344
+ ----------------------------------------------------------
3345
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3346
+ ----------------------------------------------------------
3347
+  (0.0ms) rollback transaction
3348
+  (0.0ms) begin transaction
3349
+ ------------------------------------------------------
3350
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3351
+ ------------------------------------------------------
3352
+  (0.0ms) rollback transaction
3353
+  (0.0ms) begin transaction
3354
+ ---------------------------
3355
+ HasPublicIdTest: test_Mixin
3356
+ ---------------------------
3357
+  (0.1ms) rollback transaction
3358
+  (0.3ms) begin transaction
3359
+ Fixture Delete (0.7ms) DELETE FROM "users"
3360
+ Fixture Insert (0.3ms) INSERT 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)
3361
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
3363
+  (0.9ms) commit transaction
3364
+  (0.1ms) begin transaction
3365
+ -----------------------------------------
3366
+ UserTest: test_Defines_#find_by_public_id
3367
+ -----------------------------------------
3368
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-0mb9LT7IJcJrgW' LIMIT 1
3369
+  (0.1ms) SAVEPOINT active_record_1
3370
+ SQL (3.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3372
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-0mb9LT7IJcJrgW' ORDER BY "users"."id" ASC LIMIT 1
3373
+  (0.6ms) rollback transaction
3374
+  (0.1ms) begin transaction
3375
+ ------------------------------------------
3376
+ UserTest: test_Defines_#find_by_public_id!
3377
+ ------------------------------------------
3378
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-xzCugw7rgabiPN' LIMIT 1
3379
+  (0.1ms) SAVEPOINT active_record_1
3380
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3382
+  (0.5ms) rollback transaction
3383
+  (0.1ms) begin transaction
3384
+ ---------------------------------------------
3385
+ UserTest: test_Doesn't_change_on_save,_update
3386
+ ---------------------------------------------
3387
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-xQqsbXVGIJ4j4a' LIMIT 1
3388
+  (0.0ms) SAVEPOINT active_record_1
3389
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3391
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3392
+  (0.0ms) SAVEPOINT active_record_1
3393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3394
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3395
+  (0.4ms) rollback transaction
3396
+  (0.1ms) begin transaction
3397
+ ---------------------------------------
3398
+ UserTest: test_Ident_should_==_to_param
3399
+ ---------------------------------------
3400
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YmW7Vx6EgSF1pJ' LIMIT 1
3401
+  (0.1ms) rollback transaction
3402
+  (0.1ms) begin transaction
3403
+ ---------------------------------------------
3404
+ UserTest: test_Initialize_all_the_public_id's
3405
+ ---------------------------------------------
3406
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3407
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3408
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-EewqJHmSixZbJQ' LIMIT 1
3409
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-iyuEfmqiuUlOYo' LIMIT 1
3410
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-wL61woLT1mdc3J' LIMIT 1
3411
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1pMZe18F7VIlPo' LIMIT 1
3412
+  (0.0ms) SAVEPOINT active_record_1
3413
+ SQL (0.5ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-1pMZe18F7VIlPo"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
3414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3415
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-IpiyCac6DS9QNs' LIMIT 1
3416
+  (0.0ms) SAVEPOINT active_record_1
3417
+ SQL (1.1ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-IpiyCac6DS9QNs"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
3418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3419
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tdeV2h8Nsrh8Ye' LIMIT 1
3420
+  (0.0ms) SAVEPOINT active_record_1
3421
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-tdeV2h8Nsrh8Ye"], ["updated_at", Fri, 10 Jan 2014 17:57:58 UTC +00:00]]
3422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3423
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3424
+  (0.4ms) rollback transaction
3425
+  (0.1ms) begin transaction
3426
+ ----------------------------------------------
3427
+ UserTest: test_New_users_get_an_ID_initialized
3428
+ ----------------------------------------------
3429
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-rV6guuQtK2PEDm' LIMIT 1
3430
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Ku2cKn3tE1lavR' LIMIT 1
3431
+  (0.1ms) rollback transaction
3432
+  (0.4ms) begin transaction
3433
+ -------------------------------------------
3434
+ HasPublicId::UtilTest: test_char_set.length
3435
+ -------------------------------------------
3436
+  (0.1ms) rollback transaction
3437
+  (0.1ms) begin transaction
3438
+ --------------------------------------------------
3439
+ HasPublicId::UtilTest: test_generate_random_suffix
3440
+ --------------------------------------------------
3441
+  (0.1ms) rollback transaction
3442
+  (0.0ms) begin transaction
3443
+ ----------------------------------------------------------
3444
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3445
+ ----------------------------------------------------------
3446
+  (0.0ms) rollback transaction
3447
+  (0.0ms) begin transaction
3448
+ ------------------------------------------------------------
3449
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3450
+ ------------------------------------------------------------
3451
+  (0.1ms) rollback transaction
3452
+  (0.0ms) begin transaction
3453
+ ------------------------------------------------------------
3454
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3455
+ ------------------------------------------------------------
3456
+  (0.0ms) rollback transaction
3457
+  (0.0ms) begin transaction
3458
+ ---------------------------------------------------------
3459
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3460
+ ---------------------------------------------------------
3461
+  (0.1ms) rollback transaction
3462
+  (0.0ms) begin transaction
3463
+ ----------------------------------------------------------
3464
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3465
+ ----------------------------------------------------------
3466
+  (0.0ms) rollback transaction
3467
+  (0.0ms) begin transaction
3468
+ ------------------------------------------------------
3469
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3470
+ ------------------------------------------------------
3471
+  (0.0ms) rollback transaction
3472
+  (0.0ms) begin transaction
3473
+ ---------------------------
3474
+ HasPublicIdTest: test_Mixin
3475
+ ---------------------------
3476
+  (0.1ms) rollback transaction
3477
+  (0.1ms) begin transaction
3478
+ Fixture Delete (0.8ms) DELETE FROM "users"
3479
+ Fixture Insert (0.2ms) INSERT 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)
3480
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
3482
+  (0.9ms) commit transaction
3483
+  (0.1ms) begin transaction
3484
+ --------------------------------------
3485
+ UserTest: test_.initialize_public_ids!
3486
+ --------------------------------------
3487
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3488
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3489
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VRnUKPbR7LU1ZK' LIMIT 1
3490
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ST9rGXoEhVI9RR' LIMIT 1
3491
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-LbxlNcGIeVSktd' LIMIT 1
3492
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-4Zgao96EOraYNZ' LIMIT 1
3493
+  (0.0ms) SAVEPOINT active_record_1
3494
+ SQL (3.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-4Zgao96EOraYNZ"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
3495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3496
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-lTjR1b3VyL4djt' LIMIT 1
3497
+  (0.0ms) SAVEPOINT active_record_1
3498
+ SQL (1.1ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-lTjR1b3VyL4djt"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
3499
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3500
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ZAOEfy0QaHeK6r' LIMIT 1
3501
+  (0.0ms) SAVEPOINT active_record_1
3502
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-ZAOEfy0QaHeK6r"], ["updated_at", Fri, 10 Jan 2014 17:59:23 UTC +00:00]]
3503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3504
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3505
+  (0.5ms) rollback transaction
3506
+  (0.1ms) begin transaction
3507
+ --------------------------------
3508
+ UserTest: test_find_by_public_id
3509
+ --------------------------------
3510
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-PtvnNqxZEBEwDJ' LIMIT 1
3511
+  (0.0ms) SAVEPOINT active_record_1
3512
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3514
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-PtvnNqxZEBEwDJ' ORDER BY "users"."id" ASC LIMIT 1
3515
+  (0.5ms) rollback transaction
3516
+  (0.1ms) begin transaction
3517
+ ---------------------------------
3518
+ UserTest: test_find_by_public_id!
3519
+ ---------------------------------
3520
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-W3lwCNlpiPTtSh' LIMIT 1
3521
+  (0.1ms) SAVEPOINT active_record_1
3522
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3524
+  (0.4ms) rollback transaction
3525
+  (0.1ms) begin transaction
3526
+ ---------------------------------------
3527
+ UserTest: test_identifier_doesnt_change
3528
+ ---------------------------------------
3529
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-AZLcMcVqJt9DRD' LIMIT 1
3530
+  (0.1ms) SAVEPOINT active_record_1
3531
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3533
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3534
+  (0.1ms) SAVEPOINT active_record_1
3535
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3536
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3537
+  (0.4ms) rollback transaction
3538
+  (0.1ms) begin transaction
3539
+ -------------------------------------
3540
+ UserTest: test_identifier_initializes
3541
+ -------------------------------------
3542
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-36yDnYw45gRKiU' LIMIT 1
3543
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-pAOHsTnVpjQDik' LIMIT 1
3544
+  (0.1ms) rollback transaction
3545
+  (0.1ms) begin transaction
3546
+ -----------------------
3547
+ UserTest: test_to_param
3548
+ -----------------------
3549
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8XWyFGkrcXuL38' LIMIT 1
3550
+  (0.1ms) rollback transaction
3551
+  (0.6ms) begin transaction
3552
+ -------------------------------------------
3553
+ HasPublicId::UtilTest: test_char_set.length
3554
+ -------------------------------------------
3555
+  (0.1ms) rollback transaction
3556
+  (0.1ms) begin transaction
3557
+ --------------------------------------------------
3558
+ HasPublicId::UtilTest: test_generate_random_suffix
3559
+ --------------------------------------------------
3560
+  (0.1ms) rollback transaction
3561
+  (0.1ms) begin transaction
3562
+ ----------------------------------------------------------
3563
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3564
+ ----------------------------------------------------------
3565
+  (0.0ms) rollback transaction
3566
+  (0.1ms) begin transaction
3567
+ ------------------------------------------------------------
3568
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3569
+ ------------------------------------------------------------
3570
+  (0.0ms) rollback transaction
3571
+  (0.1ms) begin transaction
3572
+ ------------------------------------------------------------
3573
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3574
+ ------------------------------------------------------------
3575
+  (0.0ms) rollback transaction
3576
+  (0.1ms) begin transaction
3577
+ ---------------------------------------------------------
3578
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3579
+ ---------------------------------------------------------
3580
+  (0.1ms) rollback transaction
3581
+  (0.1ms) begin transaction
3582
+ ----------------------------------------------------------
3583
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3584
+ ----------------------------------------------------------
3585
+  (0.1ms) rollback transaction
3586
+  (0.1ms) begin transaction
3587
+ ------------------------------------------------------
3588
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3589
+ ------------------------------------------------------
3590
+  (0.0ms) rollback transaction
3591
+  (0.0ms) begin transaction
3592
+ ---------------------------
3593
+ HasPublicIdTest: test_Mixin
3594
+ ---------------------------
3595
+  (0.1ms) rollback transaction
3596
+  (0.1ms) begin transaction
3597
+ Fixture Delete (0.7ms) DELETE FROM "users"
3598
+ Fixture Insert (0.2ms) INSERT 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)
3599
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
3601
+  (0.8ms) commit transaction
3602
+  (0.1ms) begin transaction
3603
+ ---------------------------------
3604
+ UserTest: test_.find_by_public_id
3605
+ ---------------------------------
3606
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-AVT1YuTarIPelH' LIMIT 1
3607
+  (0.1ms) SAVEPOINT active_record_1
3608
+ SQL (3.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3610
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-AVT1YuTarIPelH' ORDER BY "users"."id" ASC LIMIT 1
3611
+  (0.5ms) rollback transaction
3612
+  (0.1ms) begin transaction
3613
+ ----------------------------------
3614
+ UserTest: test_.find_by_public_id!
3615
+ ----------------------------------
3616
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Qg91sNVTHsiIN8' LIMIT 1
3617
+  (0.0ms) SAVEPOINT active_record_1
3618
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3620
+  (0.5ms) rollback transaction
3621
+  (0.1ms) begin transaction
3622
+ --------------------------------------
3623
+ UserTest: test_.initialize_public_ids!
3624
+ --------------------------------------
3625
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3627
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-TsJg8XyT8bL5Do' LIMIT 1
3628
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-wUC9UkLHKl0b3d' LIMIT 1
3629
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-iHIgV0RL9FSpEM' LIMIT 1
3630
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-uTn1OzuRawzLX0' LIMIT 1
3631
+  (0.0ms) SAVEPOINT active_record_1
3632
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3634
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-F8Ipkio13Ip8kS' LIMIT 1
3635
+  (0.0ms) SAVEPOINT active_record_1
3636
+ SQL (1.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3638
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-7UaiNfKuYGgsbj' LIMIT 1
3639
+  (0.0ms) SAVEPOINT active_record_1
3640
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3642
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3643
+  (0.5ms) rollback transaction
3644
+  (0.1ms) begin transaction
3645
+ ---------------------------------------
3646
+ UserTest: test_identifier_doesnt_change
3647
+ ---------------------------------------
3648
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-sutDw6rr8q3HPm' LIMIT 1
3649
+  (0.1ms) SAVEPOINT active_record_1
3650
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3652
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3653
+  (0.0ms) SAVEPOINT active_record_1
3654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3655
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3656
+  (0.5ms) rollback transaction
3657
+  (0.1ms) begin transaction
3658
+ -------------------------------------
3659
+ UserTest: test_identifier_initializes
3660
+ -------------------------------------
3661
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-icJZXmM0fROa2z' LIMIT 1
3662
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-nXkmJYB7H5JSzD' LIMIT 1
3663
+  (0.1ms) rollback transaction
3664
+  (0.1ms) begin transaction
3665
+ -----------------------
3666
+ UserTest: test_to_param
3667
+ -----------------------
3668
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-NYnfPLr1Q3oAB8' LIMIT 1
3669
+  (0.1ms) rollback transaction
3670
+  (0.4ms) begin transaction
3671
+ -------------------------------------------
3672
+ HasPublicId::UtilTest: test_char_set.length
3673
+ -------------------------------------------
3674
+  (0.1ms) rollback transaction
3675
+  (0.1ms) begin transaction
3676
+ --------------------------------------------------
3677
+ HasPublicId::UtilTest: test_generate_random_suffix
3678
+ --------------------------------------------------
3679
+  (0.1ms) rollback transaction
3680
+  (0.0ms) begin transaction
3681
+ ----------------------------------------------------------
3682
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3683
+ ----------------------------------------------------------
3684
+  (0.0ms) rollback transaction
3685
+  (0.0ms) begin transaction
3686
+ ------------------------------------------------------------
3687
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3688
+ ------------------------------------------------------------
3689
+  (0.1ms) rollback transaction
3690
+  (0.0ms) begin transaction
3691
+ ------------------------------------------------------------
3692
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3693
+ ------------------------------------------------------------
3694
+  (0.0ms) rollback transaction
3695
+  (0.0ms) begin transaction
3696
+ ---------------------------------------------------------
3697
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3698
+ ---------------------------------------------------------
3699
+  (0.0ms) rollback transaction
3700
+  (0.0ms) begin transaction
3701
+ ----------------------------------------------------------
3702
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3703
+ ----------------------------------------------------------
3704
+  (0.1ms) rollback transaction
3705
+  (0.1ms) begin transaction
3706
+ ------------------------------------------------------
3707
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3708
+ ------------------------------------------------------
3709
+  (0.0ms) rollback transaction
3710
+  (0.0ms) begin transaction
3711
+ ---------------------------
3712
+ HasPublicIdTest: test_Mixin
3713
+ ---------------------------
3714
+  (0.1ms) rollback transaction
3715
+  (0.4ms) begin transaction
3716
+ -------------------------------------------
3717
+ HasPublicId::UtilTest: test_char_set.length
3718
+ -------------------------------------------
3719
+  (0.1ms) rollback transaction
3720
+  (0.1ms) begin transaction
3721
+ --------------------------------------------------
3722
+ HasPublicId::UtilTest: test_generate_random_suffix
3723
+ --------------------------------------------------
3724
+  (0.1ms) rollback transaction
3725
+  (0.0ms) begin transaction
3726
+ ----------------------------------------------------------
3727
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3728
+ ----------------------------------------------------------
3729
+  (0.0ms) rollback transaction
3730
+  (0.0ms) begin transaction
3731
+ ------------------------------------------------------------
3732
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3733
+ ------------------------------------------------------------
3734
+  (0.0ms) rollback transaction
3735
+  (0.0ms) begin transaction
3736
+ ------------------------------------------------------------
3737
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3738
+ ------------------------------------------------------------
3739
+  (0.0ms) rollback transaction
3740
+  (0.0ms) begin transaction
3741
+ ---------------------------------------------------------
3742
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3743
+ ---------------------------------------------------------
3744
+  (0.0ms) rollback transaction
3745
+  (0.1ms) begin transaction
3746
+ ----------------------------------------------------------
3747
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3748
+ ----------------------------------------------------------
3749
+  (0.0ms) rollback transaction
3750
+  (0.0ms) begin transaction
3751
+ ------------------------------------------------------
3752
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3753
+ ------------------------------------------------------
3754
+  (0.0ms) rollback transaction
3755
+  (0.0ms) begin transaction
3756
+ ---------------------------
3757
+ HasPublicIdTest: test_Mixin
3758
+ ---------------------------
3759
+  (0.1ms) rollback transaction
3760
+  (0.1ms) begin transaction
3761
+ Fixture Delete (0.7ms) DELETE FROM "users"
3762
+ Fixture Insert (0.3ms) INSERT 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)
3763
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
3765
+  (0.7ms) commit transaction
3766
+  (0.1ms) begin transaction
3767
+ --------------------------------
3768
+ UserTest: test_find_by_public_id
3769
+ --------------------------------
3770
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1uR13nRmGHz58S' LIMIT 1
3771
+  (0.1ms) SAVEPOINT active_record_1
3772
+ SQL (3.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3774
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-1uR13nRmGHz58S' ORDER BY "users"."id" ASC LIMIT 1
3775
+  (0.5ms) rollback transaction
3776
+  (0.1ms) begin transaction
3777
+ ---------------------------------
3778
+ UserTest: test_find_by_public_id!
3779
+ ---------------------------------
3780
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1p2opGJ0NPnoSu' LIMIT 1
3781
+  (0.0ms) SAVEPOINT active_record_1
3782
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3784
+  (0.5ms) rollback transaction
3785
+  (0.1ms) begin transaction
3786
+ ---------------------------------------
3787
+ UserTest: test_identifier_doesnt_change
3788
+ ---------------------------------------
3789
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-yuPfmPpxd6wYlM' LIMIT 1
3790
+  (0.1ms) SAVEPOINT active_record_1
3791
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3793
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3794
+  (0.1ms) SAVEPOINT active_record_1
3795
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3796
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3797
+  (0.4ms) rollback transaction
3798
+  (0.1ms) begin transaction
3799
+ -------------------------------------
3800
+ UserTest: test_identifier_initializes
3801
+ -------------------------------------
3802
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-auPghjv0mEaq7v' LIMIT 1
3803
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8rWqKKEejkoQD1' LIMIT 1
3804
+  (0.1ms) rollback transaction
3805
+  (0.1ms) begin transaction
3806
+ -------------------------------------
3807
+ UserTest: test_initialize_public_ids!
3808
+ -------------------------------------
3809
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3810
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3811
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-V87SoyuKmaC7vf' LIMIT 1
3812
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-1qJoOrFRKRjfQU' LIMIT 1
3813
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-0LItB5anP6AtGS' LIMIT 1
3814
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tc7PH4VezlXOHy' LIMIT 1
3815
+  (0.0ms) SAVEPOINT active_record_1
3816
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3818
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-a83scCklLWsDg0' LIMIT 1
3819
+  (0.0ms) SAVEPOINT active_record_1
3820
+ SQL (1.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3822
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-UTsNoSNiYnZ7eH' LIMIT 1
3823
+  (0.1ms) SAVEPOINT active_record_1
3824
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3826
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3827
+  (0.5ms) rollback transaction
3828
+  (0.1ms) begin transaction
3829
+ ------------------------------------------
3830
+ UserTest: test_to_param_matches_identifier
3831
+ ------------------------------------------
3832
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-YMxIYgUN9CkaWA' LIMIT 1
3833
+  (0.0ms) rollback transaction
3834
+  (0.4ms) begin transaction
3835
+ -------------------------------------------
3836
+ HasPublicId::UtilTest: test_char_set.length
3837
+ -------------------------------------------
3838
+  (0.1ms) rollback transaction
3839
+  (0.1ms) begin transaction
3840
+ --------------------------------------------------
3841
+ HasPublicId::UtilTest: test_generate_random_suffix
3842
+ --------------------------------------------------
3843
+  (0.1ms) rollback transaction
3844
+  (0.1ms) begin transaction
3845
+ ----------------------------------------------------------
3846
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3847
+ ----------------------------------------------------------
3848
+  (0.0ms) rollback transaction
3849
+  (0.0ms) begin transaction
3850
+ ------------------------------------------------------------
3851
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3852
+ ------------------------------------------------------------
3853
+  (0.0ms) rollback transaction
3854
+  (0.0ms) begin transaction
3855
+ ------------------------------------------------------------
3856
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3857
+ ------------------------------------------------------------
3858
+  (0.0ms) rollback transaction
3859
+  (0.1ms) begin transaction
3860
+ ---------------------------------------------------------
3861
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3862
+ ---------------------------------------------------------
3863
+  (0.0ms) rollback transaction
3864
+  (0.1ms) begin transaction
3865
+ ----------------------------------------------------------
3866
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3867
+ ----------------------------------------------------------
3868
+  (0.0ms) rollback transaction
3869
+  (0.0ms) begin transaction
3870
+ ------------------------------------------------------
3871
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3872
+ ------------------------------------------------------
3873
+  (0.0ms) rollback transaction
3874
+  (0.0ms) begin transaction
3875
+ ---------------------------
3876
+ HasPublicIdTest: test_Mixin
3877
+ ---------------------------
3878
+  (0.1ms) rollback transaction
3879
+  (0.1ms) begin transaction
3880
+ Fixture Delete (0.7ms) DELETE FROM "users"
3881
+ Fixture Insert (0.3ms) INSERT 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)
3882
+ Fixture Insert (0.2ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
3884
+  (0.8ms) commit transaction
3885
+  (0.1ms) begin transaction
3886
+ --------------------------------
3887
+ UserTest: test_find_by_public_id
3888
+ --------------------------------
3889
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-GJfEm5NWzrjRAs' LIMIT 1
3890
+  (0.0ms) SAVEPOINT active_record_1
3891
+ SQL (3.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3893
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-GJfEm5NWzrjRAs' ORDER BY "users"."id" ASC LIMIT 1
3894
+  (0.5ms) rollback transaction
3895
+  (0.1ms) begin transaction
3896
+ ---------------------------------
3897
+ UserTest: test_find_by_public_id!
3898
+ ---------------------------------
3899
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-BIUF5SwZxkm6fd' LIMIT 1
3900
+  (0.1ms) SAVEPOINT active_record_1
3901
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3903
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-BIUF5SwZxkm6fd' ORDER BY "users"."id" ASC LIMIT 1
3904
+  (0.5ms) rollback transaction
3905
+  (0.1ms) begin transaction
3906
+ ---------------------------------------
3907
+ UserTest: test_identifier_doesnt_change
3908
+ ---------------------------------------
3909
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-lZL1wyCZqBJjcd' LIMIT 1
3910
+  (0.0ms) SAVEPOINT active_record_1
3911
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3913
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3914
+  (0.0ms) SAVEPOINT active_record_1
3915
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3916
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
3917
+  (0.5ms) rollback transaction
3918
+  (0.1ms) begin transaction
3919
+ -------------------------------------
3920
+ UserTest: test_identifier_initializes
3921
+ -------------------------------------
3922
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-t5rh2NfedWXuSj' LIMIT 1
3923
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-NqL52Ric536Duq' LIMIT 1
3924
+  (0.1ms) rollback transaction
3925
+  (0.1ms) begin transaction
3926
+ -------------------------------------
3927
+ UserTest: test_initialize_public_ids!
3928
+ -------------------------------------
3929
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3930
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
3931
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-QsLPgQZEyd2fvE' LIMIT 1
3932
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-oCyq37FLTSUwev' LIMIT 1
3933
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-PdiUcxSRkkjOYp' LIMIT 1
3934
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-VtEiFKAmXZX31Z' LIMIT 1
3935
+  (0.0ms) SAVEPOINT active_record_1
3936
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-VtEiFKAmXZX31Z"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
3937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3938
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-y5IR416x1ICnaA' LIMIT 1
3939
+  (0.1ms) SAVEPOINT active_record_1
3940
+ SQL (1.1ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-y5IR416x1ICnaA"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
3941
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3942
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-kpS3lycbQzzCoh' LIMIT 1
3943
+  (0.1ms) SAVEPOINT active_record_1
3944
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-kpS3lycbQzzCoh"], ["updated_at", Fri, 10 Jan 2014 18:01:02 UTC +00:00]]
3945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3946
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
3947
+  (0.5ms) rollback transaction
3948
+  (0.1ms) begin transaction
3949
+ ------------------------------------------
3950
+ UserTest: test_to_param_matches_identifier
3951
+ ------------------------------------------
3952
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-460x8ifECVi8hA' LIMIT 1
3953
+  (0.0ms) rollback transaction
3954
+  (0.6ms) begin transaction
3955
+ -------------------------------------------
3956
+ HasPublicId::UtilTest: test_char_set.length
3957
+ -------------------------------------------
3958
+  (0.1ms) rollback transaction
3959
+  (0.1ms) begin transaction
3960
+ --------------------------------------------------
3961
+ HasPublicId::UtilTest: test_generate_random_suffix
3962
+ --------------------------------------------------
3963
+  (0.1ms) rollback transaction
3964
+  (0.1ms) begin transaction
3965
+ ----------------------------------------------------------
3966
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
3967
+ ----------------------------------------------------------
3968
+  (0.0ms) rollback transaction
3969
+  (0.1ms) begin transaction
3970
+ ------------------------------------------------------------
3971
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
3972
+ ------------------------------------------------------------
3973
+  (0.1ms) rollback transaction
3974
+  (0.1ms) begin transaction
3975
+ ------------------------------------------------------------
3976
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
3977
+ ------------------------------------------------------------
3978
+  (0.1ms) rollback transaction
3979
+  (0.1ms) begin transaction
3980
+ ---------------------------------------------------------
3981
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
3982
+ ---------------------------------------------------------
3983
+  (0.1ms) rollback transaction
3984
+  (0.1ms) begin transaction
3985
+ ----------------------------------------------------------
3986
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
3987
+ ----------------------------------------------------------
3988
+  (0.1ms) rollback transaction
3989
+  (0.1ms) begin transaction
3990
+ ------------------------------------------------------
3991
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
3992
+ ------------------------------------------------------
3993
+  (0.1ms) rollback transaction
3994
+  (0.1ms) begin transaction
3995
+ ---------------------------
3996
+ HasPublicIdTest: test_Mixin
3997
+ ---------------------------
3998
+  (0.1ms) rollback transaction
3999
+  (0.1ms) begin transaction
4000
+ Fixture Delete (0.7ms) DELETE FROM "users"
4001
+ Fixture Insert (0.4ms) INSERT 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)
4002
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4004
+  (0.8ms) commit transaction
4005
+  (0.1ms) begin transaction
4006
+ --------------------------------
4007
+ UserTest: test_find_by_public_id
4008
+ --------------------------------
4009
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Fvxetm1YOYt8Ru' LIMIT 1
4010
+  (0.0ms) SAVEPOINT active_record_1
4011
+ SQL (2.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4013
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-Fvxetm1YOYt8Ru' ORDER BY "users"."id" ASC LIMIT 1
4014
+  (0.4ms) rollback transaction
4015
+  (0.1ms) begin transaction
4016
+ ---------------------------------
4017
+ UserTest: test_find_by_public_id!
4018
+ ---------------------------------
4019
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-TfjT0COm9ShMnG' LIMIT 1
4020
+  (0.0ms) SAVEPOINT active_record_1
4021
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4023
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-TfjT0COm9ShMnG' ORDER BY "users"."id" ASC LIMIT 1
4024
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4025
+  (0.5ms) rollback transaction
4026
+  (0.1ms) begin transaction
4027
+ ---------------------------------------
4028
+ UserTest: test_identifier_doesnt_change
4029
+ ---------------------------------------
4030
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-CFeMnmECbqiB4T' LIMIT 1
4031
+  (0.0ms) SAVEPOINT active_record_1
4032
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4034
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4035
+  (0.1ms) SAVEPOINT active_record_1
4036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4037
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4038
+  (0.4ms) rollback transaction
4039
+  (0.1ms) begin transaction
4040
+ -------------------------------------
4041
+ UserTest: test_identifier_initializes
4042
+ -------------------------------------
4043
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ztFh3Mm78XV4nL' LIMIT 1
4044
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-ET61IQiQm6tSPw' LIMIT 1
4045
+  (0.0ms) rollback transaction
4046
+  (0.1ms) begin transaction
4047
+ -------------------------------------
4048
+ UserTest: test_initialize_public_ids!
4049
+ -------------------------------------
4050
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4051
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4052
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-aYuvCpIXwDLZrY' LIMIT 1
4053
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-zgamAmg0OnCQFM' LIMIT 1
4054
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-prlodLNmK7dbMi' LIMIT 1
4055
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q8cn1DvDMfRh3G' LIMIT 1
4056
+  (0.0ms) SAVEPOINT active_record_1
4057
+ SQL (0.4ms) 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
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4059
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-jiQhH4L6GFXLAR' LIMIT 1
4060
+  (0.1ms) SAVEPOINT active_record_1
4061
+ SQL (1.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4063
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-j9Dex9FY4jFMek' LIMIT 1
4064
+  (0.0ms) SAVEPOINT active_record_1
4065
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4067
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4068
+  (0.4ms) rollback transaction
4069
+  (0.1ms) begin transaction
4070
+ ------------------------------------------
4071
+ UserTest: test_to_param_matches_identifier
4072
+ ------------------------------------------
4073
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Rhezxv6r2oTiiK' LIMIT 1
4074
+  (0.0ms) rollback transaction
4075
+  (0.4ms) begin transaction
4076
+ -------------------------------------------
4077
+ HasPublicId::UtilTest: test_char_set.length
4078
+ -------------------------------------------
4079
+  (0.1ms) rollback transaction
4080
+  (0.1ms) begin transaction
4081
+ --------------------------------------------------
4082
+ HasPublicId::UtilTest: test_generate_random_suffix
4083
+ --------------------------------------------------
4084
+  (0.1ms) rollback transaction
4085
+  (0.2ms) begin transaction
4086
+ ----------------------------------------------------------
4087
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
4088
+ ----------------------------------------------------------
4089
+  (0.1ms) rollback transaction
4090
+  (0.0ms) begin transaction
4091
+ ------------------------------------------------------------
4092
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
4093
+ ------------------------------------------------------------
4094
+  (0.0ms) rollback transaction
4095
+  (0.1ms) begin transaction
4096
+ ------------------------------------------------------------
4097
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
4098
+ ------------------------------------------------------------
4099
+  (0.1ms) rollback transaction
4100
+  (0.0ms) begin transaction
4101
+ ---------------------------------------------------------
4102
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
4103
+ ---------------------------------------------------------
4104
+  (0.0ms) rollback transaction
4105
+  (0.1ms) begin transaction
4106
+ ----------------------------------------------------------
4107
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
4108
+ ----------------------------------------------------------
4109
+  (0.1ms) rollback transaction
4110
+  (0.0ms) begin transaction
4111
+ ------------------------------------------------------
4112
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
4113
+ ------------------------------------------------------
4114
+  (0.0ms) rollback transaction
4115
+  (0.1ms) begin transaction
4116
+ ---------------------------
4117
+ HasPublicIdTest: test_Mixin
4118
+ ---------------------------
4119
+  (0.1ms) rollback transaction
4120
+  (0.1ms) begin transaction
4121
+ Fixture Delete (0.8ms) DELETE FROM "users"
4122
+ Fixture Insert (0.3ms) INSERT 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)
4123
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4125
+  (0.9ms) commit transaction
4126
+  (0.1ms) begin transaction
4127
+ --------------------------------
4128
+ UserTest: test_find_by_public_id
4129
+ --------------------------------
4130
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-2M9Ix6aAY3rvFW' LIMIT 1
4131
+  (0.1ms) SAVEPOINT active_record_1
4132
+ SQL (3.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4134
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-2M9Ix6aAY3rvFW' ORDER BY "users"."id" ASC LIMIT 1
4135
+  (0.4ms) rollback transaction
4136
+  (0.1ms) begin transaction
4137
+ ---------------------------------
4138
+ UserTest: test_find_by_public_id!
4139
+ ---------------------------------
4140
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tHQiMSY7ymcaqd' LIMIT 1
4141
+  (0.0ms) SAVEPOINT active_record_1
4142
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-tHQiMSY7ymcaqd' ORDER BY "users"."id" ASC LIMIT 1
4145
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4146
+  (0.5ms) rollback transaction
4147
+  (0.1ms) begin transaction
4148
+ ---------------------------------------
4149
+ UserTest: test_identifier_doesnt_change
4150
+ ---------------------------------------
4151
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-oj2vNovgshZwao' LIMIT 1
4152
+  (0.0ms) SAVEPOINT active_record_1
4153
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4155
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4156
+  (0.0ms) SAVEPOINT active_record_1
4157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4158
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4159
+  (0.4ms) rollback transaction
4160
+  (0.1ms) begin transaction
4161
+ -------------------------------------
4162
+ UserTest: test_identifier_initializes
4163
+ -------------------------------------
4164
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-DErfNmWwi9FLxM' LIMIT 1
4165
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-jvGRNvmKB5TTAn' LIMIT 1
4166
+  (0.1ms) rollback transaction
4167
+  (0.1ms) begin transaction
4168
+ -------------------------------------
4169
+ UserTest: test_initialize_public_ids!
4170
+ -------------------------------------
4171
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4172
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4173
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-mmg7ctCVk9vRHV' LIMIT 1
4174
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-AkKF5ItGZDENjw' LIMIT 1
4175
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-XyXSovwx9IUiCv' LIMIT 1
4176
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-I0MDgvLYj1bMPU' LIMIT 1
4177
+  (0.0ms) SAVEPOINT active_record_1
4178
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4180
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-aYxRGgnm7vxfMW' LIMIT 1
4181
+  (0.1ms) SAVEPOINT active_record_1
4182
+ SQL (1.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4184
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-b9K4lpEUTYjTLz' LIMIT 1
4185
+  (0.0ms) SAVEPOINT active_record_1
4186
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4188
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4189
+  (0.5ms) rollback transaction
4190
+  (0.1ms) begin transaction
4191
+ ------------------------------------------
4192
+ UserTest: test_to_param_matches_identifier
4193
+ ------------------------------------------
4194
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-Q2nLyeaLjWgJ6X' LIMIT 1
4195
+  (0.1ms) rollback transaction
4196
+  (0.4ms) begin transaction
4197
+ -------------------------------------------
4198
+ HasPublicId::UtilTest: test_char_set.length
4199
+ -------------------------------------------
4200
+  (0.1ms) rollback transaction
4201
+  (0.1ms) begin transaction
4202
+ --------------------------------------------------
4203
+ HasPublicId::UtilTest: test_generate_random_suffix
4204
+ --------------------------------------------------
4205
+  (0.1ms) rollback transaction
4206
+  (0.0ms) begin transaction
4207
+ ----------------------------------------------------------
4208
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
4209
+ ----------------------------------------------------------
4210
+  (0.0ms) rollback transaction
4211
+  (0.0ms) begin transaction
4212
+ ------------------------------------------------------------
4213
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
4214
+ ------------------------------------------------------------
4215
+  (0.0ms) rollback transaction
4216
+  (0.1ms) begin transaction
4217
+ ------------------------------------------------------------
4218
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
4219
+ ------------------------------------------------------------
4220
+  (0.0ms) rollback transaction
4221
+  (0.1ms) begin transaction
4222
+ ---------------------------------------------------------
4223
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
4224
+ ---------------------------------------------------------
4225
+  (0.0ms) rollback transaction
4226
+  (0.0ms) begin transaction
4227
+ ----------------------------------------------------------
4228
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
4229
+ ----------------------------------------------------------
4230
+  (0.0ms) rollback transaction
4231
+  (0.1ms) begin transaction
4232
+ ------------------------------------------------------
4233
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
4234
+ ------------------------------------------------------
4235
+  (0.0ms) rollback transaction
4236
+  (0.0ms) begin transaction
4237
+ ---------------------------
4238
+ HasPublicIdTest: test_Mixin
4239
+ ---------------------------
4240
+  (0.1ms) rollback transaction
4241
+  (0.1ms) begin transaction
4242
+ Fixture Delete (0.7ms) DELETE FROM "users"
4243
+ Fixture Insert (0.2ms) INSERT 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)
4244
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4246
+  (0.8ms) commit transaction
4247
+  (0.1ms) begin transaction
4248
+ --------------------------------
4249
+ UserTest: test_find_by_public_id
4250
+ --------------------------------
4251
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-49MRkGYLTkTw1F' LIMIT 1
4252
+  (0.1ms) SAVEPOINT active_record_1
4253
+ SQL (3.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4255
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-49MRkGYLTkTw1F' ORDER BY "users"."id" ASC LIMIT 1
4256
+  (0.5ms) rollback transaction
4257
+  (0.1ms) begin transaction
4258
+ ---------------------------------
4259
+ UserTest: test_find_by_public_id!
4260
+ ---------------------------------
4261
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-q6jUoWDyJ6DP5S' LIMIT 1
4262
+  (0.0ms) SAVEPOINT active_record_1
4263
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4265
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-q6jUoWDyJ6DP5S' ORDER BY "users"."id" ASC LIMIT 1
4266
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4267
+  (0.3ms) rollback transaction
4268
+  (0.1ms) begin transaction
4269
+ ---------------------------------------
4270
+ UserTest: test_identifier_doesnt_change
4271
+ ---------------------------------------
4272
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-t6XKQZFd8pRzgx' LIMIT 1
4273
+  (0.1ms) SAVEPOINT active_record_1
4274
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "ident", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4276
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4277
+  (0.0ms) SAVEPOINT active_record_1
4278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4279
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4280
+  (0.5ms) rollback transaction
4281
+  (0.1ms) begin transaction
4282
+ -------------------------------------
4283
+ UserTest: test_identifier_initializes
4284
+ -------------------------------------
4285
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-P81c1526LtXHvJ' LIMIT 1
4286
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-QpIiDIdoxXrReo' LIMIT 1
4287
+  (0.0ms) rollback transaction
4288
+  (0.1ms) begin transaction
4289
+ -------------------------------------
4290
+ UserTest: test_initialize_public_ids!
4291
+ -------------------------------------
4292
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4293
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4294
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-rLXVpCcQx03ekZ' LIMIT 1
4295
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-fCIMeNneU3p4SL' LIMIT 1
4296
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-bFv9WaQbkf0CTa' LIMIT 1
4297
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-LSP3wf2uy2WXOb' LIMIT 1
4298
+  (0.0ms) SAVEPOINT active_record_1
4299
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4301
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-nMSKn7OwxuKs1P' LIMIT 1
4302
+  (0.0ms) SAVEPOINT active_record_1
4303
+ SQL (1.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4305
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-0cLAHAPdivOKXf' LIMIT 1
4306
+  (0.0ms) SAVEPOINT active_record_1
4307
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4309
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4310
+  (0.4ms) rollback transaction
4311
+  (0.1ms) begin transaction
4312
+ ------------------------------------------
4313
+ UserTest: test_to_param_matches_identifier
4314
+ ------------------------------------------
4315
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-D1vVJN2pi5bRI3' LIMIT 1
4316
+  (0.1ms) rollback transaction
4317
+  (0.4ms) begin transaction
4318
+ -------------------------------------------
4319
+ HasPublicId::UtilTest: test_char_set.length
4320
+ -------------------------------------------
4321
+  (0.1ms) rollback transaction
4322
+  (0.1ms) begin transaction
4323
+ --------------------------------------------------
4324
+ HasPublicId::UtilTest: test_generate_random_suffix
4325
+ --------------------------------------------------
4326
+  (0.1ms) rollback transaction
4327
+  (0.1ms) begin transaction
4328
+ ----------------------------------------------------------
4329
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
4330
+ ----------------------------------------------------------
4331
+  (0.1ms) rollback transaction
4332
+  (0.0ms) begin transaction
4333
+ ------------------------------------------------------------
4334
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
4335
+ ------------------------------------------------------------
4336
+  (0.0ms) rollback transaction
4337
+  (0.0ms) begin transaction
4338
+ ------------------------------------------------------------
4339
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
4340
+ ------------------------------------------------------------
4341
+  (0.1ms) rollback transaction
4342
+  (0.0ms) begin transaction
4343
+ ---------------------------------------------------------
4344
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
4345
+ ---------------------------------------------------------
4346
+  (0.0ms) rollback transaction
4347
+  (0.0ms) begin transaction
4348
+ ----------------------------------------------------------
4349
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
4350
+ ----------------------------------------------------------
4351
+  (0.0ms) rollback transaction
4352
+  (0.1ms) begin transaction
4353
+ ------------------------------------------------------
4354
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
4355
+ ------------------------------------------------------
4356
+  (0.0ms) rollback transaction
4357
+  (0.0ms) begin transaction
4358
+ ---------------------------
4359
+ HasPublicIdTest: test_Mixin
4360
+ ---------------------------
4361
+  (0.1ms) rollback transaction
4362
+  (0.1ms) begin transaction
4363
+ Fixture Delete (0.8ms) DELETE FROM "users"
4364
+ Fixture Insert (0.3ms) INSERT 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)
4365
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4367
+  (0.9ms) commit transaction
4368
+  (0.1ms) begin transaction
4369
+ --------------------------------
4370
+ UserTest: test_find_by_public_id
4371
+ --------------------------------
4372
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-FHRM6a8uWUqn6W' LIMIT 1
4373
+  (0.1ms) SAVEPOINT active_record_1
4374
+ SQL (3.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4376
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-FHRM6a8uWUqn6W' ORDER BY "users"."id" ASC LIMIT 1
4377
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4378
+  (0.6ms) rollback transaction
4379
+  (0.1ms) begin transaction
4380
+ ---------------------------------
4381
+ UserTest: test_find_by_public_id!
4382
+ ---------------------------------
4383
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-hGI5MEg2jOBaaG' LIMIT 1
4384
+  (0.0ms) SAVEPOINT active_record_1
4385
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4387
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'use-hGI5MEg2jOBaaG' ORDER BY "users"."id" ASC LIMIT 1
4388
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4389
+  (0.5ms) rollback transaction
4390
+  (0.1ms) begin transaction
4391
+ ---------------------------------------
4392
+ UserTest: test_identifier_doesnt_change
4393
+ ---------------------------------------
4394
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-NrRuQr55THXJTh' LIMIT 1
4395
+  (0.0ms) SAVEPOINT active_record_1
4396
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4398
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4399
+  (0.0ms) SAVEPOINT active_record_1
4400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4402
+  (0.3ms) rollback transaction
4403
+  (0.1ms) begin transaction
4404
+ -------------------------------------
4405
+ UserTest: test_identifier_initializes
4406
+ -------------------------------------
4407
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-zdYxjejmvYPL0y' LIMIT 1
4408
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-e0CPJUwh8mTZvJ' LIMIT 1
4409
+  (0.0ms) rollback transaction
4410
+  (0.1ms) begin transaction
4411
+ -------------------------------------
4412
+ UserTest: test_initialize_public_ids!
4413
+ -------------------------------------
4414
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4415
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4416
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-xYCvy16tKZLyI3' LIMIT 1
4417
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-wvrkHAtCN6GHsB' LIMIT 1
4418
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-KTp2xXuXgbYCz8' LIMIT 1
4419
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-8RmZFZDfRzhcqG' LIMIT 1
4420
+  (0.1ms) SAVEPOINT active_record_1
4421
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "use-8RmZFZDfRzhcqG"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
4422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4423
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-XA1oX4d7tdJc0A' LIMIT 1
4424
+  (0.0ms) SAVEPOINT active_record_1
4425
+ SQL (1.1ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "use-XA1oX4d7tdJc0A"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
4426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4427
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-58MzF6i4H74BEM' LIMIT 1
4428
+  (0.0ms) SAVEPOINT active_record_1
4429
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "use-58MzF6i4H74BEM"], ["updated_at", Fri, 10 Jan 2014 18:03:58 UTC +00:00]]
4430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4431
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4432
+  (0.4ms) rollback transaction
4433
+  (0.1ms) begin transaction
4434
+ ------------------------------------------
4435
+ UserTest: test_to_param_matches_identifier
4436
+ ------------------------------------------
4437
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'use-tHKKIpqhZ9g7nv' LIMIT 1
4438
+  (0.1ms) rollback transaction
4439
+  (0.4ms) begin transaction
4440
+ -------------------------------------------
4441
+ HasPublicId::UtilTest: test_char_set.length
4442
+ -------------------------------------------
4443
+  (0.1ms) rollback transaction
4444
+  (0.1ms) begin transaction
4445
+ --------------------------------------------------
4446
+ HasPublicId::UtilTest: test_generate_random_suffix
4447
+ --------------------------------------------------
4448
+  (0.1ms) rollback transaction
4449
+  (0.1ms) begin transaction
4450
+ ----------------------------------------------------------
4451
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
4452
+ ----------------------------------------------------------
4453
+  (0.0ms) rollback transaction
4454
+  (0.0ms) begin transaction
4455
+ ------------------------------------------------------------
4456
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
4457
+ ------------------------------------------------------------
4458
+  (0.0ms) rollback transaction
4459
+  (0.1ms) begin transaction
4460
+ ------------------------------------------------------------
4461
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
4462
+ ------------------------------------------------------------
4463
+  (0.0ms) rollback transaction
4464
+  (0.1ms) begin transaction
4465
+ ---------------------------------------------------------
4466
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
4467
+ ---------------------------------------------------------
4468
+  (0.0ms) rollback transaction
4469
+  (0.1ms) begin transaction
4470
+ ----------------------------------------------------------
4471
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
4472
+ ----------------------------------------------------------
4473
+  (0.0ms) rollback transaction
4474
+  (0.1ms) begin transaction
4475
+ ------------------------------------------------------
4476
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
4477
+ ------------------------------------------------------
4478
+  (0.0ms) rollback transaction
4479
+  (0.0ms) begin transaction
4480
+ ---------------------------
4481
+ HasPublicIdTest: test_Mixin
4482
+ ---------------------------
4483
+  (0.1ms) rollback transaction
4484
+  (0.1ms) begin transaction
4485
+ Fixture Delete (0.7ms) DELETE FROM "users"
4486
+ Fixture Insert (0.3ms) INSERT 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)
4487
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4489
+  (0.8ms) commit transaction
4490
+  (0.1ms) begin transaction
4491
+ --------------------------------
4492
+ UserTest: test_find_by_public_id
4493
+ --------------------------------
4494
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-bxZNfCOMyiwV8U' LIMIT 1
4495
+  (0.1ms) SAVEPOINT active_record_1
4496
+ SQL (2.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4498
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-bxZNfCOMyiwV8U' ORDER BY "users"."id" ASC LIMIT 1
4499
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4500
+  (0.4ms) rollback transaction
4501
+  (0.1ms) begin transaction
4502
+ ---------------------------------
4503
+ UserTest: test_find_by_public_id!
4504
+ ---------------------------------
4505
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-7KEBq0N84IHLRq' LIMIT 1
4506
+  (0.0ms) SAVEPOINT active_record_1
4507
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4509
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-7KEBq0N84IHLRq' ORDER BY "users"."id" ASC LIMIT 1
4510
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4511
+  (0.6ms) rollback transaction
4512
+  (0.1ms) begin transaction
4513
+ ---------------------------------------
4514
+ UserTest: test_identifier_doesnt_change
4515
+ ---------------------------------------
4516
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-8qjeZy2yuEWaPm' LIMIT 1
4517
+  (0.0ms) SAVEPOINT active_record_1
4518
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4520
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4521
+  (0.1ms) SAVEPOINT active_record_1
4522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4524
+  (0.5ms) rollback transaction
4525
+  (0.1ms) begin transaction
4526
+ -------------------------------------
4527
+ UserTest: test_identifier_initializes
4528
+ -------------------------------------
4529
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Q4EQmR4NzNdv28' LIMIT 1
4530
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-38e4eIhtEIv8pp' LIMIT 1
4531
+  (0.1ms) rollback transaction
4532
+  (0.1ms) begin transaction
4533
+ -------------------------------------
4534
+ UserTest: test_initialize_public_ids!
4535
+ -------------------------------------
4536
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4537
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4538
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-HFoi0Icq1u7UaW' LIMIT 1
4539
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-pWKbluIyxmM11H' LIMIT 1
4540
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-M1O3I4qU5CGsQd' LIMIT 1
4541
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-rfOWrrjMZ6ZBTH' LIMIT 1
4542
+  (0.1ms) SAVEPOINT active_record_1
4543
+ SQL (1.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "user-rfOWrrjMZ6ZBTH"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
4544
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4545
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-VLvCGIW88R4qC8' LIMIT 1
4546
+  (0.1ms) SAVEPOINT active_record_1
4547
+ SQL (2.6ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "user-VLvCGIW88R4qC8"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
4548
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4549
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-XUq3dVUIRbHi7h' LIMIT 1
4550
+  (0.1ms) SAVEPOINT active_record_1
4551
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "user-XUq3dVUIRbHi7h"], ["updated_at", Fri, 10 Jan 2014 18:05:13 UTC +00:00]]
4552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4553
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4554
+  (0.5ms) rollback transaction
4555
+  (0.2ms) begin transaction
4556
+ ------------------------------------------
4557
+ UserTest: test_to_param_matches_identifier
4558
+ ------------------------------------------
4559
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-RT7ekR2FgVGC7E' LIMIT 1
4560
+  (0.1ms) rollback transaction
4561
+  (0.4ms) begin transaction
4562
+ -------------------------------------------
4563
+ HasPublicId::UtilTest: test_char_set.length
4564
+ -------------------------------------------
4565
+  (0.1ms) rollback transaction
4566
+  (0.1ms) begin transaction
4567
+ --------------------------------------------------
4568
+ HasPublicId::UtilTest: test_generate_random_suffix
4569
+ --------------------------------------------------
4570
+  (0.1ms) rollback transaction
4571
+  (0.1ms) begin transaction
4572
+ ----------------------------------------------------------
4573
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
4574
+ ----------------------------------------------------------
4575
+  (0.0ms) rollback transaction
4576
+  (0.1ms) begin transaction
4577
+ ------------------------------------------------------------
4578
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
4579
+ ------------------------------------------------------------
4580
+  (0.0ms) rollback transaction
4581
+  (0.1ms) begin transaction
4582
+ ------------------------------------------------------------
4583
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
4584
+ ------------------------------------------------------------
4585
+  (0.0ms) rollback transaction
4586
+  (0.1ms) begin transaction
4587
+ ---------------------------------------------------------
4588
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
4589
+ ---------------------------------------------------------
4590
+  (0.0ms) rollback transaction
4591
+  (0.1ms) begin transaction
4592
+ ----------------------------------------------------------
4593
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
4594
+ ----------------------------------------------------------
4595
+  (0.0ms) rollback transaction
4596
+  (0.1ms) begin transaction
4597
+ ------------------------------------------------------
4598
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
4599
+ ------------------------------------------------------
4600
+  (0.0ms) rollback transaction
4601
+  (0.0ms) begin transaction
4602
+ ---------------------------
4603
+ HasPublicIdTest: test_Mixin
4604
+ ---------------------------
4605
+  (0.1ms) rollback transaction
4606
+  (0.1ms) begin transaction
4607
+ Fixture Delete (1.0ms) DELETE FROM "users"
4608
+ Fixture Insert (0.4ms) INSERT 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)
4609
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4611
+  (0.9ms) commit transaction
4612
+  (0.1ms) begin transaction
4613
+ --------------------------------
4614
+ UserTest: test_find_by_public_id
4615
+ --------------------------------
4616
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-9PiMG5HZHjGgfj' LIMIT 1
4617
+  (0.0ms) SAVEPOINT active_record_1
4618
+ SQL (2.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4620
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-9PiMG5HZHjGgfj' ORDER BY "users"."id" ASC LIMIT 1
4621
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4622
+  (0.4ms) rollback transaction
4623
+  (0.1ms) begin transaction
4624
+ ---------------------------------
4625
+ UserTest: test_find_by_public_id!
4626
+ ---------------------------------
4627
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Hrl5VhFbcXB1Js' LIMIT 1
4628
+  (0.0ms) SAVEPOINT active_record_1
4629
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4631
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-Hrl5VhFbcXB1Js' ORDER BY "users"."id" ASC LIMIT 1
4632
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4633
+  (0.4ms) rollback transaction
4634
+  (0.1ms) begin transaction
4635
+ ---------------------------------------
4636
+ UserTest: test_identifier_doesnt_change
4637
+ ---------------------------------------
4638
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-tCpI5oX4g4zOqk' LIMIT 1
4639
+  (0.0ms) SAVEPOINT active_record_1
4640
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4642
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4643
+  (0.0ms) SAVEPOINT active_record_1
4644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4645
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4646
+  (0.4ms) rollback transaction
4647
+  (0.1ms) begin transaction
4648
+ -------------------------------------
4649
+ UserTest: test_identifier_initializes
4650
+ -------------------------------------
4651
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-9jRULolYTD23SR' LIMIT 1
4652
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-YUlHeYfhUG67lz' LIMIT 1
4653
+  (0.1ms) rollback transaction
4654
+  (0.1ms) begin transaction
4655
+ -------------------------------------
4656
+ UserTest: test_initialize_public_ids!
4657
+ -------------------------------------
4658
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4659
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4660
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-wFh6VFH1rvQd3a' LIMIT 1
4661
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-iimJjU30AozhC5' LIMIT 1
4662
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-oi9Z2Lhprg4dYS' LIMIT 1
4663
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-KNqAL7zw6XL9fX' LIMIT 1
4664
+  (0.1ms) SAVEPOINT active_record_1
4665
+ SQL (0.7ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "user-KNqAL7zw6XL9fX"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
4666
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4667
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-7ssLCewfkoNf4S' LIMIT 1
4668
+  (0.1ms) SAVEPOINT active_record_1
4669
+ SQL (1.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "user-7ssLCewfkoNf4S"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
4670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4671
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-J4LF47ettgvDDX' LIMIT 1
4672
+  (0.1ms) SAVEPOINT active_record_1
4673
+ SQL (0.3ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "user-J4LF47ettgvDDX"], ["updated_at", Fri, 10 Jan 2014 18:05:30 UTC +00:00]]
4674
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4675
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4676
+  (0.5ms) rollback transaction
4677
+  (0.1ms) begin transaction
4678
+ ------------------------------------------
4679
+ UserTest: test_to_param_matches_identifier
4680
+ ------------------------------------------
4681
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-YazBN9NSbzEUCD' LIMIT 1
4682
+  (0.1ms) rollback transaction
4683
+  (0.4ms) begin transaction
4684
+ -------------------------------------------
4685
+ HasPublicId::UtilTest: test_char_set.length
4686
+ -------------------------------------------
4687
+  (0.1ms) rollback transaction
4688
+  (0.1ms) begin transaction
4689
+ --------------------------------------------------
4690
+ HasPublicId::UtilTest: test_generate_random_suffix
4691
+ --------------------------------------------------
4692
+  (0.1ms) rollback transaction
4693
+  (0.1ms) begin transaction
4694
+ ----------------------------------------------------------
4695
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
4696
+ ----------------------------------------------------------
4697
+  (0.1ms) rollback transaction
4698
+  (0.1ms) begin transaction
4699
+ ------------------------------------------------------------
4700
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
4701
+ ------------------------------------------------------------
4702
+  (0.0ms) rollback transaction
4703
+  (0.1ms) begin transaction
4704
+ ------------------------------------------------------------
4705
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
4706
+ ------------------------------------------------------------
4707
+  (0.0ms) rollback transaction
4708
+  (0.1ms) begin transaction
4709
+ ---------------------------------------------------------
4710
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
4711
+ ---------------------------------------------------------
4712
+  (0.0ms) rollback transaction
4713
+  (0.1ms) begin transaction
4714
+ ----------------------------------------------------------
4715
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
4716
+ ----------------------------------------------------------
4717
+  (0.1ms) rollback transaction
4718
+  (0.1ms) begin transaction
4719
+ ------------------------------------------------------
4720
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
4721
+ ------------------------------------------------------
4722
+  (0.0ms) rollback transaction
4723
+  (0.1ms) begin transaction
4724
+ ---------------------------
4725
+ HasPublicIdTest: test_Mixin
4726
+ ---------------------------
4727
+  (0.1ms) rollback transaction
4728
+  (0.1ms) begin transaction
4729
+ Fixture Delete (1.0ms) DELETE FROM "users"
4730
+ Fixture Insert (0.2ms) INSERT 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)
4731
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4733
+  (0.9ms) commit transaction
4734
+  (0.1ms) begin transaction
4735
+ --------------------------------
4736
+ UserTest: test_find_by_public_id
4737
+ --------------------------------
4738
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Oo28nCaf2mc9' LIMIT 1
4739
+  (0.1ms) SAVEPOINT active_record_1
4740
+ SQL (6.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4742
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-Oo28nCaf2mc9' ORDER BY "users"."id" ASC LIMIT 1
4743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4744
+  (0.5ms) rollback transaction
4745
+  (0.1ms) begin transaction
4746
+ ---------------------------------
4747
+ UserTest: test_find_by_public_id!
4748
+ ---------------------------------
4749
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-s21aRRXMHoUZ' LIMIT 1
4750
+  (0.1ms) SAVEPOINT active_record_1
4751
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4753
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-s21aRRXMHoUZ' ORDER BY "users"."id" ASC LIMIT 1
4754
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4755
+  (0.4ms) rollback transaction
4756
+  (0.1ms) begin transaction
4757
+ ---------------------------------------
4758
+ UserTest: test_identifier_doesnt_change
4759
+ ---------------------------------------
4760
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-SH9kjaRUonb7' LIMIT 1
4761
+  (0.0ms) SAVEPOINT active_record_1
4762
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4764
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4765
+  (0.1ms) SAVEPOINT active_record_1
4766
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4767
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4768
+  (0.5ms) rollback transaction
4769
+  (0.1ms) begin transaction
4770
+ -------------------------------------
4771
+ UserTest: test_identifier_initializes
4772
+ -------------------------------------
4773
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-KCwIp6vVUF4y' LIMIT 1
4774
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-iFreZ6gVlQ7V' LIMIT 1
4775
+  (0.1ms) rollback transaction
4776
+  (0.0ms) begin transaction
4777
+ -------------------------------------
4778
+ UserTest: test_initialize_public_ids!
4779
+ -------------------------------------
4780
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4781
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4782
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-gtUEaisebcTO' LIMIT 1
4783
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-IO3GRa4tEU7O' LIMIT 1
4784
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-OGNDgRLojILE' LIMIT 1
4785
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-F8y4xRB6nslo' LIMIT 1
4786
+  (0.1ms) SAVEPOINT active_record_1
4787
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "user-F8y4xRB6nslo"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
4788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4789
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-01wax7GwCzGE' LIMIT 1
4790
+  (0.0ms) SAVEPOINT active_record_1
4791
+ SQL (1.0ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "user-01wax7GwCzGE"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
4792
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4793
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-TpeGUZrq0hwU' LIMIT 1
4794
+  (0.0ms) SAVEPOINT active_record_1
4795
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "user-TpeGUZrq0hwU"], ["updated_at", Fri, 10 Jan 2014 21:03:07 UTC +00:00]]
4796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4797
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4798
+  (0.5ms) rollback transaction
4799
+  (0.1ms) begin transaction
4800
+ ----------------------------
4801
+ UserTest: test_new_public_id
4802
+ ----------------------------
4803
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-3RyDUwHN80qD' LIMIT 1
4804
+  (0.1ms) rollback transaction
4805
+  (0.1ms) begin transaction
4806
+ ------------------------------------------
4807
+ UserTest: test_to_param_matches_identifier
4808
+ ------------------------------------------
4809
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-BALK1smhpZnY' LIMIT 1
4810
+  (0.1ms) rollback transaction
4811
+  (0.4ms) begin transaction
4812
+ -------------------------------------------
4813
+ HasPublicId::UtilTest: test_char_set.length
4814
+ -------------------------------------------
4815
+  (0.1ms) rollback transaction
4816
+  (0.1ms) begin transaction
4817
+ --------------------------------------------------
4818
+ HasPublicId::UtilTest: test_generate_random_suffix
4819
+ --------------------------------------------------
4820
+  (0.1ms) rollback transaction
4821
+  (0.1ms) begin transaction
4822
+ ----------------------------------------------------------
4823
+ HasPublicId::UtilTest: test_generate_random_suffix(length)
4824
+ ----------------------------------------------------------
4825
+  (0.1ms) rollback transaction
4826
+  (0.1ms) begin transaction
4827
+ ------------------------------------------------------------
4828
+ HasPublicId::UtilTest: test_new_public_id(with_blank_prefix)
4829
+ ------------------------------------------------------------
4830
+  (0.0ms) rollback transaction
4831
+  (0.1ms) begin transaction
4832
+ ------------------------------------------------------------
4833
+ HasPublicId::UtilTest: test_new_public_id(with_false_prefix)
4834
+ ------------------------------------------------------------
4835
+  (0.0ms) rollback transaction
4836
+  (0.1ms) begin transaction
4837
+ ---------------------------------------------------------
4838
+ HasPublicId::UtilTest: test_new_public_id(with_join_with)
4839
+ ---------------------------------------------------------
4840
+  (0.0ms) rollback transaction
4841
+  (0.1ms) begin transaction
4842
+ ----------------------------------------------------------
4843
+ HasPublicId::UtilTest: test_new_public_id(with_nil_prefix)
4844
+ ----------------------------------------------------------
4845
+  (0.0ms) rollback transaction
4846
+  (0.1ms) begin transaction
4847
+ ------------------------------------------------------
4848
+ HasPublicId::UtilTest: test_new_public_id(with_prefix)
4849
+ ------------------------------------------------------
4850
+  (0.0ms) rollback transaction
4851
+  (0.0ms) begin transaction
4852
+ ---------------------------
4853
+ HasPublicIdTest: test_Mixin
4854
+ ---------------------------
4855
+  (0.1ms) rollback transaction
4856
+  (0.1ms) begin transaction
4857
+ Fixture Delete (0.2ms) DELETE FROM "users"
4858
+ Fixture Insert (0.2ms) INSERT 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)
4859
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
4861
+  (0.9ms) commit transaction
4862
+  (0.1ms) begin transaction
4863
+ --------------------------------
4864
+ UserTest: test_find_by_public_id
4865
+ --------------------------------
4866
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Ic9t1OAIL8ky' LIMIT 1
4867
+  (0.0ms) SAVEPOINT active_record_1
4868
+ SQL (4.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4870
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-Ic9t1OAIL8ky' ORDER BY "users"."id" ASC LIMIT 1
4871
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4872
+  (0.6ms) rollback transaction
4873
+  (0.1ms) begin transaction
4874
+ ---------------------------------
4875
+ UserTest: test_find_by_public_id!
4876
+ ---------------------------------
4877
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-cXKLyk3wvxH8' LIMIT 1
4878
+  (0.1ms) SAVEPOINT active_record_1
4879
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4881
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'user-cXKLyk3wvxH8' ORDER BY "users"."id" ASC LIMIT 1
4882
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."ident" = 'bad_key' ORDER BY "users"."id" ASC LIMIT 1
4883
+  (0.5ms) rollback transaction
4884
+  (0.1ms) begin transaction
4885
+ ---------------------------------------
4886
+ UserTest: test_identifier_doesnt_change
4887
+ ---------------------------------------
4888
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-ldcQ3BNnmp5m' LIMIT 1
4889
+  (0.1ms) SAVEPOINT active_record_1
4890
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4892
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4893
+  (0.0ms) SAVEPOINT active_record_1
4894
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4895
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190963]]
4896
+  (0.6ms) rollback transaction
4897
+  (0.1ms) begin transaction
4898
+ -------------------------------------
4899
+ UserTest: test_identifier_initializes
4900
+ -------------------------------------
4901
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-BGzrRhLDYLDw' LIMIT 1
4902
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-Zw5SEPyadj10' LIMIT 1
4903
+  (0.1ms) rollback transaction
4904
+  (0.1ms) begin transaction
4905
+ -------------------------------------
4906
+ UserTest: test_initialize_public_ids!
4907
+ -------------------------------------
4908
+  (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4909
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."ident" IS NULL ORDER BY "users"."id" ASC LIMIT 1000
4910
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-UgcrMwE3ubiD' LIMIT 1
4911
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-nYZybyo9CRHK' LIMIT 1
4912
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-UMN5blKSKkOA' LIMIT 1
4913
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-MZeT9wS3WaCG' LIMIT 1
4914
+  (0.1ms) SAVEPOINT active_record_1
4915
+ SQL (0.4ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 113629430 [["ident", "user-MZeT9wS3WaCG"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
4916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4917
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-6A6lrX2tUBnz' LIMIT 1
4918
+  (0.0ms) SAVEPOINT active_record_1
4919
+ SQL (1.1ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 298486374 [["ident", "user-6A6lrX2tUBnz"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
4920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4921
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-afJitWNhtHMI' LIMIT 1
4922
+  (0.0ms) SAVEPOINT active_record_1
4923
+ SQL (0.2ms) UPDATE "users" SET "ident" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["ident", "user-afJitWNhtHMI"], ["updated_at", Fri, 10 Jan 2014 21:03:15 UTC +00:00]]
4924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4925
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."ident" IS NULL
4926
+  (0.3ms) rollback transaction
4927
+  (0.1ms) begin transaction
4928
+ ----------------------------
4929
+ UserTest: test_new_public_id
4930
+ ----------------------------
4931
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-CWCnbqaUggG4' LIMIT 1
4932
+  (0.0ms) rollback transaction
4933
+  (0.1ms) begin transaction
4934
+ ------------------------------------------
4935
+ UserTest: test_to_param_matches_identifier
4936
+ ------------------------------------------
4937
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."ident" = 'user-0nqgjjrLuQUi' LIMIT 1
4938
+  (0.0ms) rollback transaction