uuidify 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.asc +12 -0
  3. data/LICENSE +31 -0
  4. data/README.md +25 -0
  5. data/Rakefile +44 -0
  6. data/app/models/uuidify/uuid.rb +4 -0
  7. data/db/migrate/20130612143347_create_uuidify_uuids.rb +18 -0
  8. data/lib/tasks/guidify_tasks.rake +4 -0
  9. data/lib/uuidify/engine.rb +5 -0
  10. data/lib/uuidify/uuidify_concern.rb +69 -0
  11. data/lib/uuidify/uuidify_exception.rb +2 -0
  12. data/lib/uuidify/version.rb +3 -0
  13. data/lib/uuidify.rb +22 -0
  14. data/lib/uuidify.rb~ +46 -0
  15. data/spec/dummy/README.rdoc +261 -0
  16. data/spec/dummy/Rakefile +7 -0
  17. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  18. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  19. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  20. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  21. data/spec/dummy/app/models/bar.rb +3 -0
  22. data/spec/dummy/app/models/foo.rb +3 -0
  23. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  24. data/spec/dummy/config/application.rb +69 -0
  25. data/spec/dummy/config/boot.rb +10 -0
  26. data/spec/dummy/config/database.yml +14 -0
  27. data/spec/dummy/config/database.yml.sample +14 -0
  28. data/spec/dummy/config/environment.rb +5 -0
  29. data/spec/dummy/config/environments/development.rb +37 -0
  30. data/spec/dummy/config/environments/production.rb +67 -0
  31. data/spec/dummy/config/environments/test.rb +37 -0
  32. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  33. data/spec/dummy/config/initializers/inflections.rb +15 -0
  34. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  35. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  36. data/spec/dummy/config/initializers/session_store.rb +8 -0
  37. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  38. data/spec/dummy/config/locales/en.yml +5 -0
  39. data/spec/dummy/config/routes.rb +58 -0
  40. data/spec/dummy/config.ru +4 -0
  41. data/spec/dummy/db/migrate/20130612135708_create_foos.rb +8 -0
  42. data/spec/dummy/db/migrate/20130613135222_create_bars.rb +8 -0
  43. data/spec/dummy/db/schema.rb +21 -0
  44. data/spec/dummy/db/structure.sql +35 -0
  45. data/spec/dummy/log/development.log +310 -0
  46. data/spec/dummy/log/test.log +21700 -0
  47. data/spec/dummy/public/404.html +26 -0
  48. data/spec/dummy/public/422.html +26 -0
  49. data/spec/dummy/public/500.html +25 -0
  50. data/spec/dummy/public/favicon.ico +0 -0
  51. data/spec/dummy/script/rails +6 -0
  52. data/spec/spec_helper.rb +11 -0
  53. data/spec/uuidify_spec.rb +128 -0
  54. data.tar.gz.asc +12 -0
  55. metadata +204 -0
  56. metadata.gz.asc +12 -0
@@ -0,0 +1,310 @@
1
+ Connecting to database specified by database.yml
2
+  (270.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
3
+  (102.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
4
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
5
+ Migrating to CreateFoos (20130612135708)
6
+  (132.8ms) CREATE TABLE `foos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612135708')
8
+ Migrating to CreateUuidifyUuids (20130612143347)
9
+  (138.7ms) CREATE TABLE `uuidify_uuids` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `model_name` varchar(255), `model_id` int(11)) ENGINE=InnoDB
10
+  (109.7ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16)
11
+  (133.3ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_name_and_model_id` ON `uuidify_uuids` (`model_name`, `model_id`)
12
+  (129.9ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid` ON `uuidify_uuids` (`model_uuid`)
13
+  (128.0ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid_and_model_id` ON `uuidify_uuids` (`model_uuid`, `model_id`)
14
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612143347')
15
+ Migrating to CreateBars (20130613135222)
16
+  (119.4ms) CREATE TABLE `bars` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
17
+  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130613135222')
18
+  (0.3ms) SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
19
+ SQL (0.2ms) SHOW CREATE TABLE `bars`
20
+ SQL (0.1ms) SHOW CREATE TABLE `foos`
21
+ SQL (0.1ms) SHOW CREATE TABLE `schema_migrations`
22
+ SQL (0.1ms) SHOW CREATE TABLE `uuidify_uuids`
23
+  (0.1ms) SELECT version FROM schema_migrations ORDER BY version
24
+ Connecting to database specified by database.yml
25
+  (0.2ms) BEGIN
26
+  (0.2ms) SAVEPOINT active_record_1
27
+ SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
28
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 1 LIMIT 1
30
+  (0.2ms) SAVEPOINT active_record_1
31
+ SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'Foo', x'3117f98e374011e3a3a970cd60fffe2a')
32
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33
+  (0.0ms) SAVEPOINT active_record_1
34
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35
+  (0.4ms) ROLLBACK
36
+  (0.0ms) BEGIN
37
+  (0.0ms) SAVEPOINT active_record_1
38
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
39
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40
+ Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 2 LIMIT 1
41
+  (0.0ms) SAVEPOINT active_record_1
42
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (2, 'Foo', x'311ecbb0374011e3a3a970cd60fffe2a')
43
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44
+  (0.0ms) SAVEPOINT active_record_1
45
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46
+  (0.3ms) ROLLBACK
47
+  (0.0ms) BEGIN
48
+  (0.0ms) SAVEPOINT active_record_1
49
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
50
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51
+ Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1
52
+  (0.1ms) SAVEPOINT active_record_1
53
+ SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (3, 'Foo', x'311f9b08374011e3a3a970cd60fffe2a')
54
+  (0.2ms) RELEASE SAVEPOINT active_record_1
55
+  (0.1ms) SAVEPOINT active_record_1
56
+  (0.1ms) RELEASE SAVEPOINT active_record_1
57
+ Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1
58
+  (39.2ms) ROLLBACK
59
+  (0.1ms) BEGIN
60
+  (0.0ms) ROLLBACK
61
+  (0.1ms) BEGIN
62
+  (0.0ms) SAVEPOINT active_record_1
63
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
64
+  (0.0ms) RELEASE SAVEPOINT active_record_1
65
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 4 LIMIT 1
66
+  (0.0ms) SAVEPOINT active_record_1
67
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (4, 'Foo', x'3126c734374011e3a3a970cd60fffe2a')
68
+  (0.0ms) RELEASE SAVEPOINT active_record_1
69
+  (0.0ms) SAVEPOINT active_record_1
70
+  (0.0ms) RELEASE SAVEPOINT active_record_1
71
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'3126c734374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
72
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 4 LIMIT 1
73
+  (1.1ms) ROLLBACK
74
+  (0.1ms) BEGIN
75
+  (0.0ms) SAVEPOINT active_record_1
76
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
77
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78
+  (0.0ms) SAVEPOINT active_record_1
79
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (5, 'Baz', '--- !ruby/object:UUIDTools::UUID\ntime_low: 824686308\ntime_mid: 14144\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 163\nclock_seq_low: 169\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n')
80
+  (0.2ms) RELEASE SAVEPOINT active_record_1
81
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'3127b6e4374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
82
+  (2.6ms) ROLLBACK
83
+  (0.0ms) BEGIN
84
+  (0.0ms) SAVEPOINT active_record_1
85
+ SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
86
+  (0.2ms) RELEASE SAVEPOINT active_record_1
87
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1
88
+  (0.0ms) SAVEPOINT active_record_1
89
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (6, 'Foo', x'312914bc374011e3a3a970cd60fffe2a')
90
+  (0.0ms) RELEASE SAVEPOINT active_record_1
91
+  (0.0ms) SAVEPOINT active_record_1
92
+  (0.0ms) RELEASE SAVEPOINT active_record_1
93
+  (0.0ms) SAVEPOINT active_record_1
94
+ Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1
95
+ SQL (0.3ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 6
96
+ SQL (0.3ms) DELETE FROM `foos` WHERE `foos`.`id` = 6
97
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312914bc374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
99
+  (0.6ms) ROLLBACK
100
+  (0.0ms) BEGIN
101
+  (0.0ms) SAVEPOINT active_record_1
102
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 7 LIMIT 1
105
+  (0.0ms) SAVEPOINT active_record_1
106
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (7, 'Foo', x'312a541c374011e3a3a970cd60fffe2a')
107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
108
+  (0.0ms) SAVEPOINT active_record_1
109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
110
+ SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 7
111
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312a541c374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
112
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 7 LIMIT 1
113
+  (0.3ms) ROLLBACK
114
+  (0.0ms) BEGIN
115
+  (0.1ms) SAVEPOINT active_record_1
116
+ SQL (0.4ms) INSERT INTO `bars` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
118
+  (2.1ms) ROLLBACK
119
+  (0.0ms) BEGIN
120
+  (0.0ms) SAVEPOINT active_record_1
121
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
123
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 8 LIMIT 1
124
+  (0.0ms) SAVEPOINT active_record_1
125
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (8, 'Foo', NULL)
126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
127
+ SQL (0.1ms) UPDATE `uuidify_uuids` SET `model_uuid` = '1,�7@㣩p�`��*' WHERE `uuidify_uuids`.`id` = 8
128
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312ce196374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
129
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 8 LIMIT 1
130
+  (0.3ms) ROLLBACK
131
+  (0.0ms) BEGIN
132
+  (0.0ms) SAVEPOINT active_record_1
133
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
135
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1
136
+  (0.0ms) SAVEPOINT active_record_1
137
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (9, 'Foo', x'312e0314374011e3a3a970cd60fffe2a')
138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
139
+  (0.1ms) SAVEPOINT active_record_1
140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1
142
+ SQL (0.1ms) UPDATE `uuidify_uuids` SET `model_uuid` = '1.>$7@㣩p�`��*' WHERE `uuidify_uuids`.`id` = 9
143
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312e3e24374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
144
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 9 LIMIT 1
145
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312e0314374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
146
+  (27.7ms) ROLLBACK
147
+  (0.0ms) BEGIN
148
+  (0.0ms) SAVEPOINT active_record_1
149
+ SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1
152
+  (0.0ms) SAVEPOINT active_record_1
153
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (10, 'Foo', x'31335d1e374011e3a3a970cd60fffe2a')
154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
155
+  (0.0ms) SAVEPOINT active_record_1
156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
157
+  (0.1ms) SAVEPOINT active_record_1
158
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
160
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 11 LIMIT 1
161
+  (0.0ms) SAVEPOINT active_record_1
162
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (11, 'Foo', x'3133ccc2374011e3a3a970cd60fffe2a')
163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
164
+  (0.0ms) SAVEPOINT active_record_1
165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
166
+  (0.0ms) SAVEPOINT active_record_1
167
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
169
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 12 LIMIT 1
170
+  (0.0ms) SAVEPOINT active_record_1
171
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (12, 'Foo', x'31343e32374011e3a3a970cd60fffe2a')
172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
173
+  (0.0ms) SAVEPOINT active_record_1
174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
175
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1
176
+ SQL (0.4ms) DELETE FROM `foos` WHERE `foos`.`id` = 10
177
+ Uuidify::Uuid Load (0.4ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000
178
+ Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 10 LIMIT 1
179
+  (0.2ms) SAVEPOINT active_record_1
180
+ SQL (0.3ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 10
181
+  (0.2ms) RELEASE SAVEPOINT active_record_1
182
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 11 LIMIT 1
183
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 12 LIMIT 1
184
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'31335d1e374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
185
+  (0.4ms) ROLLBACK
186
+  (0.0ms) BEGIN
187
+  (0.0ms) SAVEPOINT active_record_1
188
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
190
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 13 LIMIT 1
191
+  (0.0ms) SAVEPOINT active_record_1
192
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (13, 'Foo', x'3138747a374011e3a3a970cd60fffe2a')
193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
194
+  (0.0ms) SAVEPOINT active_record_1
195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
196
+  (0.0ms) SAVEPOINT active_record_1
197
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
199
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1
200
+  (0.0ms) SAVEPOINT active_record_1
201
+ SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (14, 'Foo', x'3138e4be374011e3a3a970cd60fffe2a')
202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
203
+  (0.0ms) SAVEPOINT active_record_1
204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
205
+  (0.0ms) SAVEPOINT active_record_1
206
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
208
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 15 LIMIT 1
209
+  (0.0ms) SAVEPOINT active_record_1
210
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (15, 'Foo', x'31396bfa374011e3a3a970cd60fffe2a')
211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
212
+  (0.0ms) SAVEPOINT active_record_1
213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
214
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1
215
+ SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 13
216
+ Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000
217
+ Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 13 LIMIT 1
218
+  (0.1ms) SAVEPOINT active_record_1
219
+ SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 13
220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
221
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1
222
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 15 LIMIT 1
223
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'3138e4be374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
224
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1
225
+  (9.0ms) ROLLBACK
226
+  (0.1ms) BEGIN
227
+  (0.0ms) SAVEPOINT active_record_1
228
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
230
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 16 LIMIT 1
231
+  (0.0ms) SAVEPOINT active_record_1
232
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (16, 'Foo', x'313c3a06374011e3a3a970cd60fffe2a')
233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
234
+  (0.0ms) SAVEPOINT active_record_1
235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
236
+  (0.0ms) SAVEPOINT active_record_1
237
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
239
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1
240
+  (0.0ms) SAVEPOINT active_record_1
241
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (17, 'Foo', x'313ca96e374011e3a3a970cd60fffe2a')
242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
243
+  (0.0ms) SAVEPOINT active_record_1
244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245
+  (0.0ms) SAVEPOINT active_record_1
246
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1
249
+  (2.0ms) SAVEPOINT active_record_1
250
+ SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (18, 'Foo', x'313d1052374011e3a3a970cd60fffe2a')
251
+  (0.2ms) RELEASE SAVEPOINT active_record_1
252
+  (0.2ms) SAVEPOINT active_record_1
253
+  (0.2ms) RELEASE SAVEPOINT active_record_1
254
+ Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1
255
+ SQL (0.3ms) DELETE FROM `foos` WHERE `foos`.`id` = 18
256
+ Uuidify::Uuid Load (0.2ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name
257
+ Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000
258
+ Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 16 LIMIT 1
259
+ Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1
260
+ Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 18 LIMIT 1
261
+  (0.2ms) SAVEPOINT active_record_1
262
+ SQL (0.3ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 18
263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
264
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1
265
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'313ca96e374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
266
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1
267
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'313d1052374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
268
+  (0.4ms) ROLLBACK
269
+  (0.0ms) BEGIN
270
+  (0.0ms) SAVEPOINT active_record_1
271
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
273
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1
274
+  (0.0ms) SAVEPOINT active_record_1
275
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (19, 'Foo', x'314399a4374011e3a3a970cd60fffe2a')
276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
277
+  (0.0ms) SAVEPOINT active_record_1
278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
279
+  (0.0ms) SAVEPOINT active_record_1
280
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
282
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 20 LIMIT 1
283
+  (0.0ms) SAVEPOINT active_record_1
284
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (20, 'Foo', x'31440236374011e3a3a970cd60fffe2a')
285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
286
+  (0.0ms) SAVEPOINT active_record_1
287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
288
+  (0.0ms) SAVEPOINT active_record_1
289
+ SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')
290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
291
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 21 LIMIT 1
292
+  (0.0ms) SAVEPOINT active_record_1
293
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (21, 'Foo', x'31446424374011e3a3a970cd60fffe2a')
294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
295
+  (0.0ms) SAVEPOINT active_record_1
296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
297
+ Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1
298
+  (0.0ms) SAVEPOINT active_record_1
299
+ SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'NonexistantClass', '--- !ruby/object:UUIDTools::UUID\ntime_low: 826583668\ntime_mid: 14144\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 163\nclock_seq_low: 169\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n')
300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
301
+ Uuidify::Uuid Load (0.1ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name
302
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000
303
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 19 LIMIT 1
304
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 20 LIMIT 1
305
+ Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 21 LIMIT 1
306
+ SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'NonexistantClass'
307
+  (0.2ms) SELECT COUNT(*) FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'NonexistantClass'
308
+ Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'314399a4374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1
309
+ Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 19 LIMIT 1
310
+  (10.1ms) ROLLBACK