namekuji 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +202 -0
  3. data/README.md +42 -0
  4. data/Rakefile +34 -0
  5. data/lib/namekuji.rb +11 -0
  6. data/lib/namekuji/class_methods.rb +21 -0
  7. data/lib/namekuji/sluggable.rb +15 -0
  8. data/lib/namekuji/version.rb +3 -0
  9. data/lib/tasks/namekuji_tasks.rake +4 -0
  10. data/test/dummy/README.rdoc +28 -0
  11. data/test/dummy/Rakefile +6 -0
  12. data/test/dummy/app/assets/javascripts/application.js +13 -0
  13. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  14. data/test/dummy/app/controllers/application_controller.rb +5 -0
  15. data/test/dummy/app/helpers/application_helper.rb +2 -0
  16. data/test/dummy/app/models/test_model_sluggable.rb +9 -0
  17. data/test/dummy/app/models/test_model_sluggable_on_field.rb +5 -0
  18. data/test/dummy/app/models/test_model_sluggable_on_field_slug_field.rb +5 -0
  19. data/test/dummy/app/models/test_model_sluggable_slug_field.rb +9 -0
  20. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/test/dummy/bin/bundle +3 -0
  22. data/test/dummy/bin/rails +4 -0
  23. data/test/dummy/bin/rake +4 -0
  24. data/test/dummy/bin/setup +29 -0
  25. data/test/dummy/config.ru +4 -0
  26. data/test/dummy/config/application.rb +26 -0
  27. data/test/dummy/config/boot.rb +5 -0
  28. data/test/dummy/config/database.yml +25 -0
  29. data/test/dummy/config/environment.rb +5 -0
  30. data/test/dummy/config/environments/development.rb +41 -0
  31. data/test/dummy/config/environments/production.rb +79 -0
  32. data/test/dummy/config/environments/test.rb +42 -0
  33. data/test/dummy/config/initializers/assets.rb +11 -0
  34. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  36. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  37. data/test/dummy/config/initializers/inflections.rb +16 -0
  38. data/test/dummy/config/initializers/mime_types.rb +4 -0
  39. data/test/dummy/config/initializers/session_store.rb +3 -0
  40. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  41. data/test/dummy/config/locales/en.yml +23 -0
  42. data/test/dummy/config/routes.rb +56 -0
  43. data/test/dummy/config/secrets.yml +22 -0
  44. data/test/dummy/db/development.sqlite3 +0 -0
  45. data/test/dummy/db/migrate/20160312034428_create_test_model_sluggables.rb +8 -0
  46. data/test/dummy/db/migrate/20160312035136_create_test_model_sluggable_on_fields.rb +9 -0
  47. data/test/dummy/db/migrate/20160312035622_create_test_model_sluggable_slug_fields.rb +9 -0
  48. data/test/dummy/db/migrate/20160312035822_create_test_model_sluggable_on_field_slug_fields.rb +10 -0
  49. data/test/dummy/db/migrate/20160312040129_add_name_to_test_model_sluggable_slug_fields.rb +5 -0
  50. data/test/dummy/db/migrate/20160312040239_add_name_and_slug_to_test_model_sluggables.rb +6 -0
  51. data/test/dummy/db/migrate/20160312040357_add_slug_to_test_model_sluggable_on_fields.rb +5 -0
  52. data/test/dummy/db/schema.rb +44 -0
  53. data/test/dummy/db/test.sqlite3 +0 -0
  54. data/test/dummy/log/development.log +4 -0
  55. data/test/dummy/log/test.log +639 -0
  56. data/test/dummy/public/404.html +67 -0
  57. data/test/dummy/public/422.html +67 -0
  58. data/test/dummy/public/500.html +66 -0
  59. data/test/dummy/public/favicon.ico +0 -0
  60. data/test/dummy/test/fixtures/test_model_sluggable_on_field_slug_fields.yml +9 -0
  61. data/test/dummy/test/fixtures/test_model_sluggable_on_fields.yml +7 -0
  62. data/test/dummy/test/fixtures/test_model_sluggable_slug_fields.yml +7 -0
  63. data/test/dummy/test/fixtures/test_model_sluggables.yml +11 -0
  64. data/test/dummy/test/models/test_model_sluggable_on_field_slug_field_test.rb +7 -0
  65. data/test/dummy/test/models/test_model_sluggable_on_field_test.rb +7 -0
  66. data/test/dummy/test/models/test_model_sluggable_slug_field_test.rb +7 -0
  67. data/test/dummy/test/models/test_model_sluggable_test.rb +7 -0
  68. data/test/namekuji/class_methods_test.rb +23 -0
  69. data/test/namekuji/sluggable_test.rb +44 -0
  70. data/test/namekuji_test.rb +7 -0
  71. data/test/test_helper.rb +38 -0
  72. metadata +261 -0
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 56657946f68b056b59390e3dd7b47c291eade7261753d706434dab7264085bdaeb522c7d7636cf6668ab870cae41241ac5a4895697faea4a0844e8abd4cd86f6
15
+
16
+ test:
17
+ secret_key_base: 62be1de48ac067a10ceb2b48690f9b775873bf1542f503c36391006550da9364247fe3ab2a2cbf782fbf59e63b09f7bf75adbe67954a39ba822a43842eb4a47e
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,8 @@
1
+ class CreateTestModelSluggables < ActiveRecord::Migration
2
+ def change
3
+ create_table :test_model_sluggables do |t|
4
+
5
+ t.timestamps null: false
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ class CreateTestModelSluggableOnFields < ActiveRecord::Migration
2
+ def change
3
+ create_table :test_model_sluggable_on_fields do |t|
4
+ t.string :name
5
+
6
+ t.timestamps null: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class CreateTestModelSluggableSlugFields < ActiveRecord::Migration
2
+ def change
3
+ create_table :test_model_sluggable_slug_fields do |t|
4
+ t.string :parameterized
5
+
6
+ t.timestamps null: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ class CreateTestModelSluggableOnFieldSlugFields < ActiveRecord::Migration
2
+ def change
3
+ create_table :test_model_sluggable_on_field_slug_fields do |t|
4
+ t.string :name
5
+ t.string :parameterized
6
+
7
+ t.timestamps null: false
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ class AddNameToTestModelSluggableSlugFields < ActiveRecord::Migration
2
+ def change
3
+ add_column :test_model_sluggable_slug_fields, :name, :string
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ class AddNameAndSlugToTestModelSluggables < ActiveRecord::Migration
2
+ def change
3
+ add_column :test_model_sluggables, :name, :string
4
+ add_column :test_model_sluggables, :slug, :string
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ class AddSlugToTestModelSluggableOnFields < ActiveRecord::Migration
2
+ def change
3
+ add_column :test_model_sluggable_on_fields, :slug, :string
4
+ end
5
+ end
@@ -0,0 +1,44 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20160312040357) do
15
+
16
+ create_table "test_model_sluggable_on_field_slug_fields", force: :cascade do |t|
17
+ t.string "name"
18
+ t.string "parameterized"
19
+ t.datetime "created_at", null: false
20
+ t.datetime "updated_at", null: false
21
+ end
22
+
23
+ create_table "test_model_sluggable_on_fields", force: :cascade do |t|
24
+ t.string "name"
25
+ t.datetime "created_at", null: false
26
+ t.datetime "updated_at", null: false
27
+ t.string "slug"
28
+ end
29
+
30
+ create_table "test_model_sluggable_slug_fields", force: :cascade do |t|
31
+ t.string "parameterized"
32
+ t.datetime "created_at", null: false
33
+ t.datetime "updated_at", null: false
34
+ t.string "name"
35
+ end
36
+
37
+ create_table "test_model_sluggables", force: :cascade do |t|
38
+ t.datetime "created_at", null: false
39
+ t.datetime "updated_at", null: false
40
+ t.string "name"
41
+ t.string "slug"
42
+ end
43
+
44
+ end
@@ -0,0 +1,4 @@
1
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.5ms) select sqlite_version(*)
3
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1,639 @@
1
+  (0.1ms) begin transaction
2
+ ------------------------
3
+ NamekujiTest: test_truth
4
+ ------------------------
5
+  (0.0ms) rollback transaction
6
+  (0.2ms) begin transaction
7
+ ------------------------
8
+ NamekujiTest: test_truth
9
+ ------------------------
10
+  (0.1ms) rollback transaction
11
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
12
+  (0.1ms) select sqlite_version(*)
13
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14
+  (0.1ms) SELECT version FROM "schema_migrations"
15
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
16
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+  (0.1ms) begin transaction
18
+ ------------------------
19
+ NamekujiTest: test_truth
20
+ ------------------------
21
+  (0.0ms) rollback transaction
22
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
24
+  (0.1ms) select sqlite_version(*)
25
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26
+  (0.1ms) SELECT version FROM "schema_migrations"
27
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
28
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
29
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
30
+ Migrating to CreateTestModelSluggables (20160312034428)
31
+  (0.1ms) begin transaction
32
+  (0.6ms) CREATE TABLE "test_model_sluggables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
33
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312034428"]]
34
+  (0.9ms) commit transaction
35
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
37
+  (0.1ms) begin transaction
38
+ ------------------------------------------
39
+ Namekuji::ClassMethodsTest: test_sluggable
40
+ ------------------------------------------
41
+  (0.1ms) rollback transaction
42
+  (0.0ms) begin transaction
43
+ ------------------------
44
+ NamekujiTest: test_truth
45
+ ------------------------
46
+  (0.1ms) rollback transaction
47
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
48
+  (0.1ms) begin transaction
49
+ ------------------------
50
+ NamekujiTest: test_truth
51
+ ------------------------
52
+  (0.1ms) rollback transaction
53
+  (0.1ms) begin transaction
54
+ ------------------------------------------
55
+ Namekuji::ClassMethodsTest: test_sluggable
56
+ ------------------------------------------
57
+  (0.1ms) rollback transaction
58
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
59
+  (0.1ms) begin transaction
60
+ ------------------------
61
+ NamekujiTest: test_truth
62
+ ------------------------
63
+  (0.0ms) rollback transaction
64
+  (0.0ms) begin transaction
65
+ ------------------------------------------
66
+ Namekuji::ClassMethodsTest: test_sluggable
67
+ ------------------------------------------
68
+  (0.1ms) rollback transaction
69
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
70
+  (0.1ms) begin transaction
71
+ ------------------------------------------
72
+ Namekuji::ClassMethodsTest: test_sluggable
73
+ ------------------------------------------
74
+  (0.1ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+ ------------------------
77
+ NamekujiTest: test_truth
78
+ ------------------------
79
+  (0.0ms) rollback transaction
80
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
81
+  (0.1ms) begin transaction
82
+ ------------------------------------------
83
+ Namekuji::ClassMethodsTest: test_sluggable
84
+ ------------------------------------------
85
+  (0.1ms) rollback transaction
86
+  (0.0ms) begin transaction
87
+ ------------------------
88
+ NamekujiTest: test_truth
89
+ ------------------------
90
+  (0.1ms) rollback transaction
91
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
92
+ Migrating to CreateTestModelSluggableOnFields (20160312035136)
93
+  (0.1ms) begin transaction
94
+  (0.5ms) CREATE TABLE "test_model_sluggable_on_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
95
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312035136"]]
96
+  (0.7ms) commit transaction
97
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
98
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
99
+  (0.1ms) begin transaction
100
+ ------------------------
101
+ NamekujiTest: test_truth
102
+ ------------------------
103
+  (0.0ms) rollback transaction
104
+  (0.1ms) begin transaction
105
+ ------------------------------------------
106
+ Namekuji::ClassMethodsTest: test_sluggable
107
+ ------------------------------------------
108
+  (0.1ms) rollback transaction
109
+  (0.1ms) begin transaction
110
+ ---------------------------------------------------
111
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
112
+ ---------------------------------------------------
113
+  (0.1ms) rollback transaction
114
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
115
+  (1.3ms) CREATE TABLE "test_model_sluggable_on_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
116
+  (1.0ms) CREATE TABLE "test_model_sluggables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
117
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
118
+  (0.1ms) select sqlite_version(*)
119
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
120
+  (0.1ms) SELECT version FROM "schema_migrations"
121
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160312035136')
122
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160312034428')
123
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
124
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
125
+ Migrating to CreateTestModelSluggableSlugFields (20160312035622)
126
+  (0.1ms) begin transaction
127
+  (0.5ms) CREATE TABLE "test_model_sluggable_slug_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parameterized" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
128
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312035622"]]
129
+  (0.8ms) commit transaction
130
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
131
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
132
+  (0.1ms) begin transaction
133
+ ------------------------
134
+ NamekujiTest: test_truth
135
+ ------------------------
136
+  (0.1ms) rollback transaction
137
+  (0.1ms) begin transaction
138
+ -----------------------------------------------------
139
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
140
+ -----------------------------------------------------
141
+  (0.1ms) rollback transaction
142
+  (0.1ms) begin transaction
143
+ ------------------------------------------
144
+ Namekuji::ClassMethodsTest: test_sluggable
145
+ ------------------------------------------
146
+  (0.1ms) rollback transaction
147
+  (0.0ms) begin transaction
148
+ ---------------------------------------------------
149
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
150
+ ---------------------------------------------------
151
+  (0.1ms) rollback transaction
152
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
153
+ Migrating to CreateTestModelSluggableOnFieldSlugFields (20160312035822)
154
+  (0.1ms) begin transaction
155
+  (0.4ms) CREATE TABLE "test_model_sluggable_on_field_slug_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "parameterized" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312035822"]]
157
+  (0.7ms) commit transaction
158
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
159
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
160
+  (0.1ms) begin transaction
161
+ ------------------------
162
+ NamekujiTest: test_truth
163
+ ------------------------
164
+  (0.0ms) rollback transaction
165
+  (0.1ms) begin transaction
166
+ ------------------------------------------
167
+ Namekuji::ClassMethodsTest: test_sluggable
168
+ ------------------------------------------
169
+  (0.1ms) rollback transaction
170
+  (0.0ms) begin transaction
171
+ -----------------------------------------------------
172
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
173
+ -----------------------------------------------------
174
+  (0.1ms) rollback transaction
175
+  (0.0ms) begin transaction
176
+ ---------------------------------------------------
177
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
178
+ ---------------------------------------------------
179
+  (0.1ms) rollback transaction
180
+  (0.0ms) begin transaction
181
+ --------------------------------------------------------------
182
+ Namekuji::ClassMethodsTest: test_sluggable_on_field_slug_field
183
+ --------------------------------------------------------------
184
+  (0.1ms) rollback transaction
185
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
186
+ Migrating to AddNameToTestModelSluggableSlugFields (20160312040129)
187
+  (0.1ms) begin transaction
188
+  (1.6ms) ALTER TABLE "test_model_sluggable_slug_fields" ADD "name" varchar
189
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312040129"]]
190
+  (0.8ms) commit transaction
191
+ Migrating to AddNameAndSlugToTestModelSluggables (20160312040239)
192
+  (0.1ms) begin transaction
193
+  (0.4ms) ALTER TABLE "test_model_sluggables" ADD "name" varchar
194
+  (0.2ms) ALTER TABLE "test_model_sluggables" ADD "slug" varchar
195
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312040239"]]
196
+  (0.9ms) commit transaction
197
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
198
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
199
+ Migrating to AddSlugToTestModelSluggableOnFields (20160312040357)
200
+  (0.1ms) begin transaction
201
+  (0.5ms) ALTER TABLE "test_model_sluggable_on_fields" ADD "slug" varchar
202
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312040357"]]
203
+  (0.9ms) commit transaction
204
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
205
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
206
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
207
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
208
+  (0.1ms) begin transaction
209
+ ------------------------
210
+ NamekujiTest: test_truth
211
+ ------------------------
212
+  (0.1ms) rollback transaction
213
+  (0.1ms) begin transaction
214
+ ---------------------------------------------------
215
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
216
+ ---------------------------------------------------
217
+  (0.1ms) rollback transaction
218
+  (0.0ms) begin transaction
219
+ --------------------------------------------------------------
220
+ Namekuji::ClassMethodsTest: test_sluggable_on_field_slug_field
221
+ --------------------------------------------------------------
222
+  (0.1ms) rollback transaction
223
+  (0.0ms) begin transaction
224
+ -----------------------------------------------------
225
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
226
+ -----------------------------------------------------
227
+  (0.1ms) rollback transaction
228
+  (0.1ms) begin transaction
229
+ ------------------------------------------
230
+ Namekuji::ClassMethodsTest: test_sluggable
231
+ ------------------------------------------
232
+  (0.1ms) rollback transaction
233
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
234
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
235
+  (0.1ms) begin transaction
236
+ -----------------------------------------------------
237
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
238
+ -----------------------------------------------------
239
+  (0.1ms) rollback transaction
240
+  (0.1ms) begin transaction
241
+ ------------------------------------------
242
+ Namekuji::ClassMethodsTest: test_sluggable
243
+ ------------------------------------------
244
+  (0.1ms) rollback transaction
245
+  (0.1ms) begin transaction
246
+ ---------------------------------------------------
247
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
248
+ ---------------------------------------------------
249
+  (0.1ms) rollback transaction
250
+  (0.0ms) begin transaction
251
+ --------------------------------------------------------------
252
+ Namekuji::ClassMethodsTest: test_sluggable_on_field_slug_field
253
+ --------------------------------------------------------------
254
+  (0.1ms) rollback transaction
255
+  (0.0ms) begin transaction
256
+ ------------------------
257
+ NamekujiTest: test_truth
258
+ ------------------------
259
+  (0.0ms) rollback transaction
260
+  (0.0ms) begin transaction
261
+ ---------------------------------------
262
+ Namekuji::SluggableTest: test_sluggable
263
+ ---------------------------------------
264
+  (0.1ms) SAVEPOINT active_record_1
265
+ TestModelSluggable Exists (0.4ms) SELECT 1 AS one FROM "test_model_sluggables" WHERE "test_model_sluggables"."slug" = 'sluggable-test-model' LIMIT 1
266
+ SQL (0.7ms) INSERT INTO "test_model_sluggables" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 04:26:33.364173"], ["updated_at", "2016-03-12 04:26:33.364173"]]
267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
268
+  (0.7ms) rollback transaction
269
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
270
+  (0.1ms) begin transaction
271
+ ------------------------
272
+ NamekujiTest: test_truth
273
+ ------------------------
274
+  (0.0ms) rollback transaction
275
+  (0.0ms) begin transaction
276
+ ---------------------------------------
277
+ Namekuji::SluggableTest: test_sluggable
278
+ ---------------------------------------
279
+  (0.0ms) SAVEPOINT active_record_1
280
+ TestModelSluggable Exists (0.6ms) SELECT 1 AS one FROM "test_model_sluggables" WHERE "test_model_sluggables"."slug" = 'sluggable-test-model' LIMIT 1
281
+ SQL (1.2ms) INSERT INTO "test_model_sluggables" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 04:31:20.760643"], ["updated_at", "2016-03-12 04:31:20.760643"]]
282
+  (0.1ms) RELEASE SAVEPOINT active_record_1
283
+  (0.5ms) rollback transaction
284
+  (0.1ms) begin transaction
285
+ -----------------------------------------------------------
286
+ Namekuji::SluggableTest: test_sluggable_on_field_slug_field
287
+ -----------------------------------------------------------
288
+  (0.0ms) SAVEPOINT active_record_1
289
+ TestModelSluggableOnFieldSlugField Exists (0.5ms) SELECT 1 AS one FROM "test_model_sluggable_on_field_slug_fields" WHERE "test_model_sluggable_on_field_slug_fields"."parameterized" = 'sluggable-test-model' LIMIT 1
290
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_on_field_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["parameterized", "sluggable-test-model"], ["created_at", "2016-03-12 04:31:20.773945"], ["updated_at", "2016-03-12 04:31:20.773945"]]
291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
292
+  (0.3ms) rollback transaction
293
+  (0.1ms) begin transaction
294
+ ------------------------------------------------
295
+ Namekuji::SluggableTest: test_sluggable_on_field
296
+ ------------------------------------------------
297
+  (0.1ms) SAVEPOINT active_record_1
298
+ TestModelSluggableOnField Exists (0.4ms) SELECT 1 AS one FROM "test_model_sluggable_on_fields" WHERE "test_model_sluggable_on_fields"."slug" = 'sluggable-test-model' LIMIT 1
299
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_on_fields" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 04:31:20.783925"], ["updated_at", "2016-03-12 04:31:20.783925"]]
300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
301
+  (0.4ms) rollback transaction
302
+  (0.1ms) begin transaction
303
+ --------------------------------------------------
304
+ Namekuji::SluggableTest: test_sluggable_slug_field
305
+ --------------------------------------------------
306
+  (0.1ms) SAVEPOINT active_record_1
307
+ TestModelSluggableSlugField Exists (0.5ms) SELECT 1 AS one FROM "test_model_sluggable_slug_fields" WHERE "test_model_sluggable_slug_fields"."parameterized" = 'sluggable-test-model' LIMIT 1
308
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["parameterized", "sluggable-test-model"], ["created_at", "2016-03-12 04:31:20.795410"], ["updated_at", "2016-03-12 04:31:20.795410"]]
309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
310
+  (0.5ms) rollback transaction
311
+  (0.1ms) begin transaction
312
+ --------------------------------------------------------------
313
+ Namekuji::ClassMethodsTest: test_sluggable_on_field_slug_field
314
+ --------------------------------------------------------------
315
+  (0.1ms) rollback transaction
316
+  (0.1ms) begin transaction
317
+ ---------------------------------------------------
318
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
319
+ ---------------------------------------------------
320
+  (0.1ms) rollback transaction
321
+  (0.0ms) begin transaction
322
+ -----------------------------------------------------
323
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
324
+ -----------------------------------------------------
325
+  (0.1ms) rollback transaction
326
+  (0.1ms) begin transaction
327
+ ------------------------------------------
328
+ Namekuji::ClassMethodsTest: test_sluggable
329
+ ------------------------------------------
330
+  (0.1ms) rollback transaction
331
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
332
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
333
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
334
+  (0.1ms) begin transaction
335
+ ---------------------------------------------------
336
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
337
+ ---------------------------------------------------
338
+  (0.1ms) SAVEPOINT active_record_1
339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
340
+  (0.1ms) SAVEPOINT active_record_1
341
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
342
+  (0.1ms) rollback transaction
343
+  (0.0ms) begin transaction
344
+ --------------------------------------------------------------
345
+ Namekuji::ClassMethodsTest: test_sluggable_on_field_slug_field
346
+ --------------------------------------------------------------
347
+  (0.0ms) SAVEPOINT active_record_1
348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349
+  (0.0ms) SAVEPOINT active_record_1
350
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351
+  (0.1ms) rollback transaction
352
+  (0.0ms) begin transaction
353
+ -----------------------------------------------------
354
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
355
+ -----------------------------------------------------
356
+  (0.0ms) SAVEPOINT active_record_1
357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
358
+  (0.0ms) SAVEPOINT active_record_1
359
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
360
+  (0.0ms) rollback transaction
361
+  (0.0ms) begin transaction
362
+ ------------------------------------------
363
+ Namekuji::ClassMethodsTest: test_sluggable
364
+ ------------------------------------------
365
+  (0.0ms) SAVEPOINT active_record_1
366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
367
+  (0.0ms) SAVEPOINT active_record_1
368
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
369
+  (0.0ms) rollback transaction
370
+  (0.0ms) begin transaction
371
+ ---------------------------------------
372
+ Namekuji::SluggableTest: test_sluggable
373
+ ---------------------------------------
374
+  (0.0ms) SAVEPOINT active_record_1
375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
376
+  (0.0ms) SAVEPOINT active_record_1
377
+  (0.1ms) SAVEPOINT active_record_2
378
+ TestModelSluggable Exists (0.6ms) SELECT 1 AS one FROM "test_model_sluggables" WHERE "test_model_sluggables"."slug" = 'sluggable-test-model' LIMIT 1
379
+ SQL (1.0ms) INSERT INTO "test_model_sluggables" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:19.673106"], ["updated_at", "2016-03-12 04:54:19.673106"]]
380
+  (0.1ms) RELEASE SAVEPOINT active_record_2
381
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
382
+  (0.4ms) rollback transaction
383
+  (0.1ms) begin transaction
384
+ -----------------------------------------------------------
385
+ Namekuji::SluggableTest: test_sluggable_on_field_slug_field
386
+ -----------------------------------------------------------
387
+  (0.0ms) SAVEPOINT active_record_1
388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
389
+  (0.0ms) SAVEPOINT active_record_1
390
+  (0.1ms) SAVEPOINT active_record_2
391
+ TestModelSluggableOnFieldSlugField Exists (0.4ms) SELECT 1 AS one FROM "test_model_sluggable_on_field_slug_fields" WHERE "test_model_sluggable_on_field_slug_fields"."parameterized" = 'sluggable-test-model' LIMIT 1
392
+ SQL (0.2ms) INSERT INTO "test_model_sluggable_on_field_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["parameterized", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:19.685218"], ["updated_at", "2016-03-12 04:54:19.685218"]]
393
+  (0.1ms) RELEASE SAVEPOINT active_record_2
394
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
395
+  (0.4ms) rollback transaction
396
+  (0.0ms) begin transaction
397
+ --------------------------------------------------
398
+ Namekuji::SluggableTest: test_sluggable_slug_field
399
+ --------------------------------------------------
400
+  (0.0ms) SAVEPOINT active_record_1
401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
402
+  (0.0ms) SAVEPOINT active_record_1
403
+  (0.1ms) SAVEPOINT active_record_2
404
+ TestModelSluggableSlugField Exists (0.5ms) SELECT 1 AS one FROM "test_model_sluggable_slug_fields" WHERE "test_model_sluggable_slug_fields"."parameterized" = 'sluggable-test-model' LIMIT 1
405
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["parameterized", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:19.692884"], ["updated_at", "2016-03-12 04:54:19.692884"]]
406
+  (0.0ms) RELEASE SAVEPOINT active_record_2
407
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
408
+  (0.4ms) rollback transaction
409
+  (0.1ms) begin transaction
410
+ ------------------------------------------------
411
+ Namekuji::SluggableTest: test_sluggable_on_field
412
+ ------------------------------------------------
413
+  (0.0ms) SAVEPOINT active_record_1
414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
415
+  (0.0ms) SAVEPOINT active_record_1
416
+  (0.1ms) SAVEPOINT active_record_2
417
+ TestModelSluggableOnField Exists (0.5ms) SELECT 1 AS one FROM "test_model_sluggable_on_fields" WHERE "test_model_sluggable_on_fields"."slug" = 'sluggable-test-model' LIMIT 1
418
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_on_fields" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:19.700736"], ["updated_at", "2016-03-12 04:54:19.700736"]]
419
+  (0.1ms) RELEASE SAVEPOINT active_record_2
420
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
421
+  (0.4ms) rollback transaction
422
+  (0.1ms) begin transaction
423
+ ------------------------
424
+ NamekujiTest: test_truth
425
+ ------------------------
426
+  (0.0ms) SAVEPOINT active_record_1
427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
428
+  (0.0ms) SAVEPOINT active_record_1
429
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
430
+  (0.0ms) rollback transaction
431
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
432
+  (0.2ms) begin transaction
433
+ ------------------------
434
+ NamekujiTest: test_truth
435
+ ------------------------
436
+  (0.1ms) SAVEPOINT active_record_1
437
+  (0.1ms) RELEASE SAVEPOINT active_record_1
438
+  (0.0ms) SAVEPOINT active_record_1
439
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
440
+  (0.0ms) rollback transaction
441
+  (0.1ms) begin transaction
442
+ ---------------------------------------------------
443
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
444
+ ---------------------------------------------------
445
+  (0.1ms) SAVEPOINT active_record_1
446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
447
+  (0.0ms) SAVEPOINT active_record_1
448
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
449
+  (0.1ms) rollback transaction
450
+  (0.0ms) begin transaction
451
+ ------------------------------------------
452
+ Namekuji::ClassMethodsTest: test_sluggable
453
+ ------------------------------------------
454
+  (0.1ms) SAVEPOINT active_record_1
455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
456
+  (0.0ms) SAVEPOINT active_record_1
457
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
458
+  (0.1ms) rollback transaction
459
+  (0.0ms) begin transaction
460
+ --------------------------------------------------------------
461
+ Namekuji::ClassMethodsTest: test_sluggable_on_field_slug_field
462
+ --------------------------------------------------------------
463
+  (0.1ms) SAVEPOINT active_record_1
464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
465
+  (0.0ms) SAVEPOINT active_record_1
466
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
467
+  (0.0ms) rollback transaction
468
+  (0.0ms) begin transaction
469
+ -----------------------------------------------------
470
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
471
+ -----------------------------------------------------
472
+  (0.0ms) SAVEPOINT active_record_1
473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
474
+  (0.0ms) SAVEPOINT active_record_1
475
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
476
+  (0.0ms) rollback transaction
477
+  (0.0ms) begin transaction
478
+ --------------------------------------------------
479
+ Namekuji::SluggableTest: test_sluggable_slug_field
480
+ --------------------------------------------------
481
+  (0.0ms) SAVEPOINT active_record_1
482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
483
+  (0.0ms) SAVEPOINT active_record_1
484
+  (0.1ms) SAVEPOINT active_record_2
485
+ TestModelSluggableSlugField Exists (0.1ms) SELECT 1 AS one FROM "test_model_sluggable_slug_fields" WHERE "test_model_sluggable_slug_fields"."parameterized" = 'sluggable-test-model' LIMIT 1
486
+ SQL (0.4ms) INSERT INTO "test_model_sluggable_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["parameterized", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:34.002093"], ["updated_at", "2016-03-12 04:54:34.002093"]]
487
+  (0.0ms) RELEASE SAVEPOINT active_record_2
488
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
489
+  (2.0ms) rollback transaction
490
+  (0.1ms) begin transaction
491
+ -----------------------------------------------------------
492
+ Namekuji::SluggableTest: test_sluggable_on_field_slug_field
493
+ -----------------------------------------------------------
494
+  (0.1ms) SAVEPOINT active_record_1
495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
496
+  (0.1ms) SAVEPOINT active_record_1
497
+  (0.1ms) SAVEPOINT active_record_2
498
+ TestModelSluggableOnFieldSlugField Exists (0.1ms) SELECT 1 AS one FROM "test_model_sluggable_on_field_slug_fields" WHERE "test_model_sluggable_on_field_slug_fields"."parameterized" = 'sluggable-test-model' LIMIT 1
499
+ SQL (0.4ms) INSERT INTO "test_model_sluggable_on_field_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["parameterized", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:34.013887"], ["updated_at", "2016-03-12 04:54:34.013887"]]
500
+  (0.1ms) RELEASE SAVEPOINT active_record_2
501
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
502
+  (0.5ms) rollback transaction
503
+  (0.1ms) begin transaction
504
+ ---------------------------------------
505
+ Namekuji::SluggableTest: test_sluggable
506
+ ---------------------------------------
507
+  (0.0ms) SAVEPOINT active_record_1
508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
509
+  (0.0ms) SAVEPOINT active_record_1
510
+  (0.0ms) SAVEPOINT active_record_2
511
+ TestModelSluggable Exists (0.1ms) SELECT 1 AS one FROM "test_model_sluggables" WHERE "test_model_sluggables"."slug" = 'sluggable-test-model' LIMIT 1
512
+ SQL (0.2ms) INSERT INTO "test_model_sluggables" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:34.022413"], ["updated_at", "2016-03-12 04:54:34.022413"]]
513
+  (0.0ms) RELEASE SAVEPOINT active_record_2
514
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
515
+  (0.4ms) rollback transaction
516
+  (0.1ms) begin transaction
517
+ ------------------------------------------------
518
+ Namekuji::SluggableTest: test_sluggable_on_field
519
+ ------------------------------------------------
520
+  (0.0ms) SAVEPOINT active_record_1
521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
522
+  (0.0ms) SAVEPOINT active_record_1
523
+  (0.1ms) SAVEPOINT active_record_2
524
+ TestModelSluggableOnField Exists (0.1ms) SELECT 1 AS one FROM "test_model_sluggable_on_fields" WHERE "test_model_sluggable_on_fields"."slug" = 'sluggable-test-model' LIMIT 1
525
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_on_fields" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 04:54:34.030141"], ["updated_at", "2016-03-12 04:54:34.030141"]]
526
+  (0.0ms) RELEASE SAVEPOINT active_record_2
527
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
528
+  (0.4ms) rollback transaction
529
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
530
+  (0.1ms) begin transaction
531
+ -----------------------------------------------------------
532
+ Namekuji::SluggableTest: test_sluggable_on_field_slug_field
533
+ -----------------------------------------------------------
534
+  (0.0ms) SAVEPOINT active_record_1
535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
536
+  (0.0ms) SAVEPOINT active_record_1
537
+  (0.1ms) SAVEPOINT active_record_2
538
+ TestModelSluggableOnFieldSlugField Exists (0.4ms) SELECT 1 AS one FROM "test_model_sluggable_on_field_slug_fields" WHERE "test_model_sluggable_on_field_slug_fields"."parameterized" = 'sluggable-test-model' LIMIT 1
539
+ SQL (1.2ms) INSERT INTO "test_model_sluggable_on_field_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["parameterized", "sluggable-test-model"], ["created_at", "2016-03-12 05:11:21.319272"], ["updated_at", "2016-03-12 05:11:21.319272"]]
540
+  (0.1ms) RELEASE SAVEPOINT active_record_2
541
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
542
+  (0.4ms) rollback transaction
543
+  (0.1ms) begin transaction
544
+ ------------------------------------------------
545
+ Namekuji::SluggableTest: test_sluggable_on_field
546
+ ------------------------------------------------
547
+  (0.0ms) SAVEPOINT active_record_1
548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
549
+  (0.0ms) SAVEPOINT active_record_1
550
+  (0.0ms) SAVEPOINT active_record_2
551
+ TestModelSluggableOnField Exists (0.4ms) SELECT 1 AS one FROM "test_model_sluggable_on_fields" WHERE "test_model_sluggable_on_fields"."slug" = 'sluggable-test-model' LIMIT 1
552
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_on_fields" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 05:11:21.332532"], ["updated_at", "2016-03-12 05:11:21.332532"]]
553
+  (0.0ms) RELEASE SAVEPOINT active_record_2
554
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
555
+  (0.4ms) rollback transaction
556
+  (0.1ms) begin transaction
557
+ ---------------------------------------
558
+ Namekuji::SluggableTest: test_sluggable
559
+ ---------------------------------------
560
+  (0.0ms) SAVEPOINT active_record_1
561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
562
+  (0.0ms) SAVEPOINT active_record_1
563
+  (0.0ms) SAVEPOINT active_record_2
564
+ TestModelSluggable Exists (0.4ms) SELECT 1 AS one FROM "test_model_sluggables" WHERE "test_model_sluggables"."slug" = 'sluggable-test-model' LIMIT 1
565
+ SQL (0.3ms) INSERT INTO "test_model_sluggables" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sluggable Test Model"], ["slug", "sluggable-test-model"], ["created_at", "2016-03-12 05:11:21.342485"], ["updated_at", "2016-03-12 05:11:21.342485"]]
566
+  (0.0ms) RELEASE SAVEPOINT active_record_2
567
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
568
+  (0.3ms) rollback transaction
569
+  (0.1ms) begin transaction
570
+ -----------------------------------------------------------
571
+ Namekuji::SluggableTest: test_sluggable_removes_apostrophes
572
+ -----------------------------------------------------------
573
+  (0.1ms) SAVEPOINT active_record_1
574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
575
+  (0.0ms) SAVEPOINT active_record_1
576
+  (0.0ms) SAVEPOINT active_record_2
577
+ TestModelSluggable Exists (0.1ms) SELECT 1 AS one FROM "test_model_sluggables" WHERE "test_model_sluggables"."slug" = 'we-dont-want-extra-dashes' LIMIT 1
578
+ SQL (0.2ms) INSERT INTO "test_model_sluggables" ("name", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "We Don't Want Extra Dashes"], ["slug", "we-dont-want-extra-dashes"], ["created_at", "2016-03-12 05:11:21.346786"], ["updated_at", "2016-03-12 05:11:21.346786"]]
579
+  (0.0ms) RELEASE SAVEPOINT active_record_2
580
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
581
+  (0.5ms) rollback transaction
582
+  (0.1ms) begin transaction
583
+ --------------------------------------------------
584
+ Namekuji::SluggableTest: test_sluggable_slug_field
585
+ --------------------------------------------------
586
+  (0.1ms) SAVEPOINT active_record_1
587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
588
+  (0.0ms) SAVEPOINT active_record_1
589
+  (0.1ms) SAVEPOINT active_record_2
590
+ TestModelSluggableSlugField Exists (0.5ms) SELECT 1 AS one FROM "test_model_sluggable_slug_fields" WHERE "test_model_sluggable_slug_fields"."parameterized" = 'we-dont-want-extra-dashes' LIMIT 1
591
+ SQL (0.3ms) INSERT INTO "test_model_sluggable_slug_fields" ("name", "parameterized", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "We Don't Want Extra Dashes"], ["parameterized", "we-dont-want-extra-dashes"], ["created_at", "2016-03-12 05:11:21.358543"], ["updated_at", "2016-03-12 05:11:21.358543"]]
592
+  (0.0ms) RELEASE SAVEPOINT active_record_2
593
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
594
+  (0.4ms) rollback transaction
595
+  (0.0ms) begin transaction
596
+ ---------------------------------------------------
597
+ Namekuji::ClassMethodsTest: test_sluggable_on_field
598
+ ---------------------------------------------------
599
+  (0.0ms) SAVEPOINT active_record_1
600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
601
+  (0.0ms) SAVEPOINT active_record_1
602
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
603
+  (0.0ms) rollback transaction
604
+  (0.0ms) begin transaction
605
+ --------------------------------------------------------------
606
+ Namekuji::ClassMethodsTest: test_sluggable_on_field_slug_field
607
+ --------------------------------------------------------------
608
+  (0.0ms) SAVEPOINT active_record_1
609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
610
+  (0.1ms) SAVEPOINT active_record_1
611
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
612
+  (0.0ms) rollback transaction
613
+  (0.0ms) begin transaction
614
+ -----------------------------------------------------
615
+ Namekuji::ClassMethodsTest: test_sluggable_slug_field
616
+ -----------------------------------------------------
617
+  (0.0ms) SAVEPOINT active_record_1
618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
619
+  (0.0ms) SAVEPOINT active_record_1
620
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
621
+  (0.0ms) rollback transaction
622
+  (0.0ms) begin transaction
623
+ ------------------------------------------
624
+ Namekuji::ClassMethodsTest: test_sluggable
625
+ ------------------------------------------
626
+  (0.0ms) SAVEPOINT active_record_1
627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
628
+  (0.0ms) SAVEPOINT active_record_1
629
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
630
+  (0.0ms) rollback transaction
631
+  (0.0ms) begin transaction
632
+ ------------------------
633
+ NamekujiTest: test_truth
634
+ ------------------------
635
+  (0.0ms) SAVEPOINT active_record_1
636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
637
+  (0.0ms) SAVEPOINT active_record_1
638
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
639
+  (0.0ms) rollback transaction