mti 0.0.1
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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +45 -0
- data/Rakefile +28 -0
- data/lib/generators/mti/install_generator.rb +9 -0
- data/lib/generators/mti/subclass_generator.rb +25 -0
- data/lib/generators/templates/mti.rb +5 -0
- data/lib/generators/templates/subclass_migration.rb +7 -0
- data/lib/mti.rb +31 -0
- data/lib/mti/version.rb +3 -0
- data/lib/tasks/mti_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/employee_detail.rb +2 -0
- data/test/dummy/app/models/profile.rb +4 -0
- data/test/dummy/app/models/user.rb +4 -0
- data/test/dummy/app/models/user_preference.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +27 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/mti.rb +5 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20181117100451_create_users.rb +8 -0
- data/test/dummy/db/migrate/20181117100457_create_profiles.rb +9 -0
- data/test/dummy/db/migrate/20181117110520_create_user_preferences.rb +8 -0
- data/test/dummy/db/migrate/20181117110530_create_employee_detail.rb +8 -0
- data/test/dummy/db/schema.rb +39 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +171 -0
- data/test/dummy/log/test.log +566 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/mti_test.rb +30 -0
- data/test/test_helper.rb +20 -0
- metadata +168 -0
@@ -0,0 +1,566 @@
|
|
1
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2
|
+
-------------------
|
3
|
+
MtiTest: test_truth
|
4
|
+
-------------------
|
5
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
6
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
7
|
+
[1m[35m (23.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
8
|
+
[1m[35m (34.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
9
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
10
|
+
Migrating to CreateUsers (20181117100451)
|
11
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar)[0m
|
13
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20181117100451"]]
|
14
|
+
[1m[35m (37.1ms)[0m [1m[36mcommit transaction[0m
|
15
|
+
Migrating to CreateProfiles (20181117100457)
|
16
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
17
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "profiles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "address" text)[0m
|
18
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20181117100457"]]
|
19
|
+
[1m[35m (31.3ms)[0m [1m[36mcommit transaction[0m
|
20
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
21
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
22
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-11-17 10:07:46.186669"], ["updated_at", "2018-11-17 10:07:46.186669"]]
|
23
|
+
[1m[35m (19.2ms)[0m [1m[36mcommit transaction[0m
|
24
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
25
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
26
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
27
|
+
-------------------
|
28
|
+
MtiTest: test_truth
|
29
|
+
-------------------
|
30
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
31
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
32
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
33
|
+
-------------------
|
34
|
+
MtiTest: test_truth
|
35
|
+
-------------------
|
36
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
37
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
38
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
39
|
+
-------------------
|
40
|
+
MtiTest: test_truth
|
41
|
+
-------------------
|
42
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
43
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
44
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
45
|
+
-------------------
|
46
|
+
MtiTest: test_truth
|
47
|
+
-------------------
|
48
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
49
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
50
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
51
|
+
---------------------------------
|
52
|
+
MtiTest: test_Using_create_method
|
53
|
+
---------------------------------
|
54
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
55
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
56
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
57
|
+
-------------------------------
|
58
|
+
MtiTest: test_For_create_method
|
59
|
+
-------------------------------
|
60
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
61
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
62
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
63
|
+
-------------------------------
|
64
|
+
MtiTest: test_For_create_method
|
65
|
+
-------------------------------
|
66
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
67
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
68
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
69
|
+
--------------
|
70
|
+
MtiTest: test_
|
71
|
+
--------------
|
72
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
73
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
74
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
75
|
+
--------------------
|
76
|
+
MtiTest: test_create
|
77
|
+
--------------------
|
78
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
79
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
80
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
81
|
+
--------------------
|
82
|
+
MtiTest: test_create
|
83
|
+
--------------------
|
84
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
85
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
86
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
87
|
+
--------------------
|
88
|
+
MtiTest: test_create
|
89
|
+
--------------------
|
90
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
91
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
92
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
93
|
+
--------------------
|
94
|
+
MtiTest: test_create
|
95
|
+
--------------------
|
96
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
97
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
98
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
99
|
+
--------------------
|
100
|
+
MtiTest: test_create
|
101
|
+
--------------------
|
102
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
103
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
104
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
105
|
+
--------------------
|
106
|
+
MtiTest: test_create
|
107
|
+
--------------------
|
108
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
109
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
110
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
111
|
+
--------------------
|
112
|
+
MtiTest: test_create
|
113
|
+
--------------------
|
114
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
115
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
116
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
117
|
+
--------------------
|
118
|
+
MtiTest: test_create
|
119
|
+
--------------------
|
120
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
121
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
122
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
123
|
+
--------------------
|
124
|
+
MtiTest: test_create
|
125
|
+
--------------------
|
126
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
127
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
128
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
129
|
+
-----------------------------
|
130
|
+
MtiTest: test_new_with_create
|
131
|
+
-----------------------------
|
132
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
133
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
134
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
135
|
+
-----------------------------
|
136
|
+
MtiTest: test_new_with_create
|
137
|
+
-----------------------------
|
138
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
139
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
140
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
141
|
+
-----------------------------
|
142
|
+
MtiTest: test_new_with_create
|
143
|
+
-----------------------------
|
144
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
145
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
146
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
147
|
+
-----------------------------
|
148
|
+
MtiTest: test_new_with_create
|
149
|
+
-----------------------------
|
150
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
151
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
152
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
153
|
+
-----------------------------
|
154
|
+
MtiTest: test_new_with_create
|
155
|
+
-----------------------------
|
156
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
157
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
158
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
159
|
+
-----------------------------
|
160
|
+
MtiTest: test_new_with_create
|
161
|
+
-----------------------------
|
162
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
163
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "profiles"[0m
|
164
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
165
|
+
[1m[35m (35.1ms)[0m [1m[35mCREATE TABLE "profiles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar, "address" text)[0m
|
166
|
+
[1m[35m (23.1ms)[0m [1m[35mCREATE INDEX "index_profiles_on_user_id" ON "profiles" ("user_id")[0m
|
167
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
168
|
+
[1m[35m (23.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar)[0m
|
169
|
+
[1m[35m (23.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
170
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
171
|
+
[1m[35m (33.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20181117100457)[0m
|
172
|
+
[1m[35m (20.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
173
|
+
(20181117100451);
|
174
|
+
|
175
|
+
[0m
|
176
|
+
[1m[35m (37.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
177
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
178
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
179
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-11-17 10:40:00.624743"], ["updated_at", "2018-11-17 10:40:00.624743"]]
|
180
|
+
[1m[35m (23.1ms)[0m [1m[36mcommit transaction[0m
|
181
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
182
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
183
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
184
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
185
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
186
|
+
-----------------------------
|
187
|
+
MtiTest: test_new_with_create
|
188
|
+
-----------------------------
|
189
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
190
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
191
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
192
|
+
-----------------------------
|
193
|
+
MtiTest: test_new_with_create
|
194
|
+
-----------------------------
|
195
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
196
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
197
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
198
|
+
-----------------------------
|
199
|
+
MtiTest: test_new_with_create
|
200
|
+
-----------------------------
|
201
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
202
|
+
[1m[36mUser Create (1.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
203
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
204
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
205
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
206
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
207
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
208
|
+
-----------------------------
|
209
|
+
MtiTest: test_new_with_create
|
210
|
+
-----------------------------
|
211
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
212
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
213
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
214
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
215
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
216
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
217
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
218
|
+
-----------------------------
|
219
|
+
MtiTest: test_new_with_create
|
220
|
+
-----------------------------
|
221
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
222
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
223
|
+
[1m[36mProfile Create (0.2ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
224
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
225
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
226
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
227
|
+
Migrating to CreateUserPreferences (20181117110520)
|
228
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
229
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
230
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "user_preferences" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "hobbies" varchar)[0m
|
231
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")[0m
|
232
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20181117110520"]]
|
233
|
+
[1m[35m (31.7ms)[0m [1m[36mcommit transaction[0m
|
234
|
+
Migrating to CreateEmployeeDetail (20181117110530)
|
235
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
236
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "employee_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "profile_id" integer, "emp_id" varchar)[0m
|
237
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_employee_details_on_profile_id" ON "employee_details" ("profile_id")[0m
|
238
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20181117110530"]]
|
239
|
+
[1m[35m (40.4ms)[0m [1m[36mcommit transaction[0m
|
240
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
241
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
242
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
243
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
244
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
245
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
246
|
+
-----------------------------
|
247
|
+
MtiTest: test_new_with_create
|
248
|
+
-----------------------------
|
249
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
250
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
251
|
+
[1m[36mProfile Create (0.2ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
252
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
253
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
254
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
255
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
256
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
257
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 2], ["name", "dummy"], ["address", "dummy address"]]
|
258
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 2]]
|
259
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 2], ["hobbies", "nothing"]]
|
260
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
261
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
262
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
263
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
264
|
+
-----------------------------
|
265
|
+
MtiTest: test_new_with_create
|
266
|
+
-----------------------------
|
267
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
268
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
269
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
270
|
+
[1m[36mEmployeeDetail Create (1.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
271
|
+
[1m[36mUserPreference Create (0.5ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
272
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
273
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
274
|
+
[1m[36mEmployeeDetail Update (0.2ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
275
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
276
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
277
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
278
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
279
|
+
-----------------------------
|
280
|
+
MtiTest: test_new_with_create
|
281
|
+
-----------------------------
|
282
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
283
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
284
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
285
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
286
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
287
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
288
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
289
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
290
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
291
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
292
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
293
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
294
|
+
-----------------------------
|
295
|
+
MtiTest: test_new_with_create
|
296
|
+
-----------------------------
|
297
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
298
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
299
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
300
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
301
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
302
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
303
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
304
|
+
[1m[36mEmployeeDetail Update (0.2ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
305
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
306
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
307
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
308
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
309
|
+
-----------------------------
|
310
|
+
MtiTest: test_for_save_method
|
311
|
+
-----------------------------
|
312
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
313
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
314
|
+
[1m[36mProfile Create (0.2ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
315
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E01"]]
|
316
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
317
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
318
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
319
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
320
|
+
-------------------------------
|
321
|
+
MtiTest: test_for_create_method
|
322
|
+
-------------------------------
|
323
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
324
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
325
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
326
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
327
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
328
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
329
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
330
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
331
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
332
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
333
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
334
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
335
|
+
-----------------------------
|
336
|
+
MtiTest: test_for_save_method
|
337
|
+
-----------------------------
|
338
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
339
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
340
|
+
[1m[36mProfile Create (0.2ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
341
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E012"]]
|
342
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
343
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
344
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
345
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
346
|
+
-------------------------------
|
347
|
+
MtiTest: test_for_create_method
|
348
|
+
-------------------------------
|
349
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
350
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
351
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
352
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
353
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
354
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
355
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
356
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
357
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
358
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
359
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
360
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
361
|
+
-------------------------------
|
362
|
+
MtiTest: test_for_create_method
|
363
|
+
-------------------------------
|
364
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
365
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
366
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
367
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
368
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
369
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
370
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
371
|
+
[1m[36mEmployeeDetail Update (0.3ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
372
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
373
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
374
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
375
|
+
-----------------------------
|
376
|
+
MtiTest: test_for_save_method
|
377
|
+
-----------------------------
|
378
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
379
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
380
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
381
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E012"]]
|
382
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
383
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
384
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
385
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
386
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
387
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
388
|
+
-------------------------------
|
389
|
+
MtiTest: test_for_create_method
|
390
|
+
-------------------------------
|
391
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
392
|
+
[1m[36mUser Create (1.4ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
393
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
394
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
395
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
396
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
397
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
398
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
399
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
400
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
401
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
402
|
+
-----------------------------
|
403
|
+
MtiTest: test_for_save_method
|
404
|
+
-----------------------------
|
405
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
406
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
407
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
408
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E01"]]
|
409
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
410
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
411
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
412
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
413
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
414
|
+
-----------------------------
|
415
|
+
MtiTest: test_for_save_method
|
416
|
+
-----------------------------
|
417
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
418
|
+
[1m[36mUser Create (1.4ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
419
|
+
[1m[36mProfile Create (2.6ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
420
|
+
[1m[36mEmployeeDetail Create (0.5ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E01"]]
|
421
|
+
[1m[36mUserPreference Create (0.3ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
422
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
423
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
424
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
425
|
+
-------------------------------
|
426
|
+
MtiTest: test_for_create_method
|
427
|
+
-------------------------------
|
428
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
429
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
430
|
+
[1m[36mProfile Create (0.3ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
431
|
+
[1m[36mEmployeeDetail Create (0.3ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
432
|
+
[1m[36mUserPreference Create (0.2ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
433
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
434
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
435
|
+
[1m[36mEmployeeDetail Update (0.2ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
436
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
437
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
438
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
439
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
440
|
+
-------------------------------
|
441
|
+
MtiTest: test_for_create_method
|
442
|
+
-------------------------------
|
443
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
444
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
445
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
446
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
447
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
448
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
449
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
450
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
451
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
452
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
453
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
454
|
+
-----------------------------
|
455
|
+
MtiTest: test_for_save_method
|
456
|
+
-----------------------------
|
457
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
458
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
459
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
460
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E01"]]
|
461
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
462
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
463
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
464
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
465
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
466
|
+
-------------------------------
|
467
|
+
MtiTest: test_for_create_method
|
468
|
+
-------------------------------
|
469
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
470
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
471
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
472
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
473
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
474
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
475
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
476
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
477
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
478
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
479
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
480
|
+
-----------------------------
|
481
|
+
MtiTest: test_for_save_method
|
482
|
+
-----------------------------
|
483
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
484
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
485
|
+
[1m[36mProfile Create (0.3ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
486
|
+
[1m[36mEmployeeDetail Create (0.3ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E01"]]
|
487
|
+
[1m[36mUserPreference Create (0.3ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
488
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
489
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
490
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
491
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
492
|
+
-----------------------------
|
493
|
+
MtiTest: test_for_save_method
|
494
|
+
-----------------------------
|
495
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
496
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
497
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
498
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
499
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
500
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
501
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
502
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
503
|
+
-------------------------------
|
504
|
+
MtiTest: test_for_create_method
|
505
|
+
-------------------------------
|
506
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
507
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
508
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
509
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
510
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
511
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
512
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
513
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
514
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
515
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
516
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
517
|
+
-------------------------------
|
518
|
+
MtiTest: test_for_create_method
|
519
|
+
-------------------------------
|
520
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
521
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
522
|
+
[1m[36mProfile Create (0.2ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
523
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
524
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
525
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
526
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
527
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
528
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
529
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
530
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
531
|
+
-----------------------------
|
532
|
+
MtiTest: test_for_save_method
|
533
|
+
-----------------------------
|
534
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
535
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
536
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
537
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E01"]]
|
538
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
539
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
540
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
541
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
542
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
543
|
+
-------------------------------
|
544
|
+
MtiTest: test_for_create_method
|
545
|
+
-------------------------------
|
546
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
547
|
+
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
548
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
549
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id") VALUES (?)[0m [["profile_id", 1]]
|
550
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
551
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
552
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
553
|
+
[1m[36mEmployeeDetail Update (0.1ms)[0m [1m[33mUPDATE "employee_details" SET "emp_id" = ? WHERE "employee_details"."id" = ?[0m [["emp_id", "E01"], ["id", 1]]
|
554
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
555
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
556
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
557
|
+
-----------------------------
|
558
|
+
MtiTest: test_for_save_method
|
559
|
+
-----------------------------
|
560
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
561
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "dummy@test.com"]]
|
562
|
+
[1m[36mProfile Create (0.1ms)[0m [1m[32mINSERT INTO "profiles" ("user_id", "name", "address") VALUES (?, ?, ?)[0m [["user_id", 1], ["name", "dummy"], ["address", "dummy address"]]
|
563
|
+
[1m[36mEmployeeDetail Create (0.1ms)[0m [1m[32mINSERT INTO "employee_details" ("profile_id", "emp_id") VALUES (?, ?)[0m [["profile_id", 1], ["emp_id", "E01"]]
|
564
|
+
[1m[36mUserPreference Create (0.1ms)[0m [1m[32mINSERT INTO "user_preferences" ("user_id", "hobbies") VALUES (?, ?)[0m [["user_id", 1], ["hobbies", "nothing"]]
|
565
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
566
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|