nested_attr 0.0.1.1 → 0.0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +74 -1
  3. data/lib/nested_attr.rb +43 -25
  4. data/lib/nested_attr/version.rb +1 -1
  5. metadata +31 -111
  6. data/test/dummy/README.rdoc +0 -28
  7. data/test/dummy/Rakefile +0 -6
  8. data/test/dummy/app/assets/javascripts/application.js +0 -13
  9. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  10. data/test/dummy/app/controllers/application_controller.rb +0 -5
  11. data/test/dummy/app/helpers/application_helper.rb +0 -2
  12. data/test/dummy/app/models/category.rb +0 -3
  13. data/test/dummy/app/models/post.rb +0 -4
  14. data/test/dummy/app/models/user.rb +0 -3
  15. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  16. data/test/dummy/bin/bundle +0 -3
  17. data/test/dummy/bin/rails +0 -4
  18. data/test/dummy/bin/rake +0 -4
  19. data/test/dummy/bin/setup +0 -29
  20. data/test/dummy/config.ru +0 -4
  21. data/test/dummy/config/application.rb +0 -26
  22. data/test/dummy/config/boot.rb +0 -5
  23. data/test/dummy/config/database.yml +0 -25
  24. data/test/dummy/config/environment.rb +0 -5
  25. data/test/dummy/config/environments/development.rb +0 -41
  26. data/test/dummy/config/environments/production.rb +0 -79
  27. data/test/dummy/config/environments/test.rb +0 -42
  28. data/test/dummy/config/initializers/assets.rb +0 -11
  29. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  30. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  31. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  32. data/test/dummy/config/initializers/inflections.rb +0 -16
  33. data/test/dummy/config/initializers/mime_types.rb +0 -4
  34. data/test/dummy/config/initializers/session_store.rb +0 -3
  35. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  36. data/test/dummy/config/locales/en.yml +0 -23
  37. data/test/dummy/config/routes.rb +0 -56
  38. data/test/dummy/config/secrets.yml +0 -22
  39. data/test/dummy/db/development.sqlite3 +0 -0
  40. data/test/dummy/db/migrate/20151004115649_create_users.rb +0 -9
  41. data/test/dummy/db/migrate/20151004120032_create_posts.rb +0 -11
  42. data/test/dummy/db/migrate/20151004124603_create_categories.rb +0 -9
  43. data/test/dummy/db/migrate/20151004131127_categories_posts.rb +0 -14
  44. data/test/dummy/db/schema.rb +0 -51
  45. data/test/dummy/db/test.sqlite3 +0 -0
  46. data/test/dummy/log/development.log +0 -52
  47. data/test/dummy/log/test.log +0 -888
  48. data/test/dummy/public/404.html +0 -67
  49. data/test/dummy/public/422.html +0 -67
  50. data/test/dummy/public/500.html +0 -66
  51. data/test/dummy/public/favicon.ico +0 -0
  52. data/test/dummy/test/fixtures/posts.yml +0 -11
  53. data/test/dummy/test/fixtures/users.yml +0 -7
  54. data/test/dummy/test/models/category_test.rb +0 -7
  55. data/test/dummy/test/models/post_test.rb +0 -7
  56. data/test/dummy/test/models/user_test.rb +0 -7
  57. data/test/factories.rb +0 -31
  58. data/test/nested_attr_test.rb +0 -26
  59. data/test/test_helper.rb +0 -20
@@ -1,22 +0,0 @@
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: 7b41a08d130d4092537f8c5a7451fe49ace48dfa11d81eaba7044e2b10249e028b285c468f580fd349280c2784a703eca560a0d4bf0e016ef3858dd743c420b3
15
-
16
- test:
17
- secret_key_base: b2fe4ab448a8c4e033defd410056a21a4fcfc3188d066cdb2a0a651212fa33bebff95575a195902fac13a16d864b064d7f4d91e815fefdf761c06623b6aebf5e
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"] %>
Binary file
@@ -1,9 +0,0 @@
1
- class CreateUsers < ActiveRecord::Migration
2
- def change
3
- create_table :users do |t|
4
- t.string :username
5
-
6
- t.timestamps null: false
7
- end
8
- end
9
- end
@@ -1,11 +0,0 @@
1
- class CreatePosts < ActiveRecord::Migration
2
- def change
3
- create_table :posts do |t|
4
- t.integer :user_id
5
- t.string :title
6
- t.text :body
7
-
8
- t.timestamps null: false
9
- end
10
- end
11
- end
@@ -1,9 +0,0 @@
1
- class CreateCategories < ActiveRecord::Migration
2
- def change
3
- create_table :categories do |t|
4
- t.string :name
5
-
6
- t.timestamps null: false
7
- end
8
- end
9
- end
@@ -1,14 +0,0 @@
1
- class CategoriesPosts < ActiveRecord::Migration
2
- def self.up
3
- create_table :categories_posts, :id => false do |t|
4
- t.integer :category_id
5
- t.integer :post_id
6
- end
7
-
8
- add_index :categories_posts, [:category_id, :post_id]
9
- end
10
-
11
- def self.down
12
- drop_table :categories_posts
13
- end
14
- end
@@ -1,51 +0,0 @@
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: 20151004131127) do
15
-
16
- create_table "blogs", force: :cascade do |t|
17
- t.integer "user_id"
18
- t.string "title"
19
- t.text "body"
20
- t.datetime "created_at", null: false
21
- t.datetime "updated_at", null: false
22
- end
23
-
24
- create_table "categories", force: :cascade do |t|
25
- t.string "name"
26
- t.datetime "created_at", null: false
27
- t.datetime "updated_at", null: false
28
- end
29
-
30
- create_table "categories_posts", id: false, force: :cascade do |t|
31
- t.integer "category_id"
32
- t.integer "post_id"
33
- end
34
-
35
- add_index "categories_posts", ["category_id", "post_id"], name: "index_categories_posts_on_category_id_and_post_id"
36
-
37
- create_table "posts", force: :cascade do |t|
38
- t.integer "user_id"
39
- t.string "title"
40
- t.text "body"
41
- t.datetime "created_at", null: false
42
- t.datetime "updated_at", null: false
43
- end
44
-
45
- create_table "users", force: :cascade do |t|
46
- t.string "username"
47
- t.datetime "created_at", null: false
48
- t.datetime "updated_at", null: false
49
- end
50
-
51
- end
Binary file
@@ -1,52 +0,0 @@
1
-  (446.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.3ms) select sqlite_version(*)
3
-  (109.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to CreateUsers (20151004115649)
6
-  (0.2ms) begin transaction
7
-  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151004115649"]]
9
-  (136.7ms) commit transaction
10
- Migrating to CreateBlogs (20151004115812)
11
-  (0.2ms) begin transaction
12
-  (0.8ms) CREATE TABLE "blogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
13
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151004115812"]]
14
-  (127.1ms) commit transaction
15
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Migrating to CreatePosts (20151004120032)
18
-  (0.1ms) begin transaction
19
-  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
20
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151004120032"]]
21
-  (136.8ms) commit transaction
22
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24
- Migrating to CreateCategories (20151004124603)
25
-  (0.4ms) begin transaction
26
-  (0.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
27
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151004124603"]]
28
-  (381.7ms) commit transaction
29
- Migrating to CategoriesPosts (20151004124704)
30
-  (0.2ms) begin transaction
31
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151004124704"]]
32
-  (129.9ms) commit transaction
33
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
34
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37
- Migrating to CategoriesPosts (20151004131127)
38
-  (0.1ms) begin transaction
39
-  (0.3ms) CREATE TABLE "categories_posts" ("category_id" integer, "post_id" integer) 
40
-  (0.1ms) select sqlite_version(*)
41
-  (0.1ms) CREATE INDEX "index_categories_posts_on_category_id_and_post_id" ON "categories_posts" ("category_id", "post_id")
42
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151004131127"]]
43
-  (120.2ms) commit transaction
44
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
45
-  (0.2ms)  SELECT sql
46
- FROM sqlite_master
47
- WHERE name='index_categories_posts_on_category_id_and_post_id' AND type='index'
48
- UNION ALL
49
- SELECT sql
50
- FROM sqlite_temp_master
51
- WHERE name='index_categories_posts_on_category_id_and_post_id' AND type='index'
52
- 
@@ -1,888 +0,0 @@
1
-  (0.1ms) begin transaction
2
- --------------------------
3
- NestedAttrTest: test_truth
4
- --------------------------
5
-  (0.0ms) rollback transaction
6
-  (593.3ms) CREATE TABLE "blogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
7
-  (99.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
-  (110.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
9
-  (100.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
10
-  (0.2ms) select sqlite_version(*)
11
-  (99.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
12
-  (0.3ms) SELECT version FROM "schema_migrations"
13
-  (99.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004120032')
14
-  (100.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004115649')
15
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
-  (0.2ms) begin transaction
17
- --------------------------
18
- NestedAttrTest: test_truth
19
- --------------------------
20
-  (0.1ms) rollback transaction
21
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
-  (0.2ms) begin transaction
23
- --------------------------
24
- NestedAttrTest: test_truth
25
- --------------------------
26
-  (0.1ms) rollback transaction
27
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
28
-  (0.1ms) begin transaction
29
- ---------------------------
30
- NestedAttrTest: test_nested
31
- ---------------------------
32
-  (0.1ms) rollback transaction
33
-  (0.0ms) begin transaction
34
- --------------------------
35
- NestedAttrTest: test_truth
36
- --------------------------
37
-  (0.0ms) rollback transaction
38
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
39
-  (0.1ms) begin transaction
40
- ---------------------------
41
- NestedAttrTest: test_nested
42
- ---------------------------
43
-  (0.0ms) rollback transaction
44
-  (0.0ms) begin transaction
45
- --------------------------
46
- NestedAttrTest: test_truth
47
- --------------------------
48
-  (0.0ms) rollback transaction
49
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
-  (0.1ms) begin transaction
51
- --------------------------
52
- NestedAttrTest: test_truth
53
- --------------------------
54
-  (0.0ms) rollback transaction
55
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
56
-  (0.1ms) begin transaction
57
- --------------------------
58
- NestedAttrTest: test_truth
59
- --------------------------
60
-  (0.0ms) rollback transaction
61
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
-  (0.1ms) begin transaction
63
- --------------------------
64
- NestedAttrTest: test_truth
65
- --------------------------
66
-  (0.0ms) rollback transaction
67
-  (0.0ms) begin transaction
68
- ------------------------------------
69
- NestedAttrTest: test_has_nested_prop
70
- ------------------------------------
71
-  (0.0ms) rollback transaction
72
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
73
-  (0.1ms) begin transaction
74
- ------------------------------------
75
- NestedAttrTest: test_has_nested_prop
76
- ------------------------------------
77
-  (0.0ms) SAVEPOINT active_record_1
78
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:26:32.875291"], ["updated_at", "2015-10-04 12:26:32.875291"]]
79
-  (0.3ms) RELEASE SAVEPOINT active_record_1
80
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
81
-  (0.1ms) rollback transaction
82
-  (0.1ms) begin transaction
83
- --------------------------
84
- NestedAttrTest: test_truth
85
- --------------------------
86
-  (0.0ms) rollback transaction
87
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88
-  (0.1ms) begin transaction
89
- ------------------------------------
90
- NestedAttrTest: test_has_nested_prop
91
- ------------------------------------
92
-  (0.0ms) SAVEPOINT active_record_1
93
- SQL (0.4ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:26:51.023977"], ["updated_at", "2015-10-04 12:26:51.023977"]]
94
-  (0.3ms) RELEASE SAVEPOINT active_record_1
95
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
96
-  (0.1ms) rollback transaction
97
-  (0.0ms) begin transaction
98
- --------------------------
99
- NestedAttrTest: test_truth
100
- --------------------------
101
-  (0.0ms) rollback transaction
102
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
103
-  (0.1ms) begin transaction
104
- ------------------------------------
105
- NestedAttrTest: test_has_nested_prop
106
- ------------------------------------
107
-  (0.0ms) SAVEPOINT active_record_1
108
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:29:17.987754"], ["updated_at", "2015-10-04 12:29:17.987754"]]
109
-  (0.2ms) RELEASE SAVEPOINT active_record_1
110
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
111
-  (0.1ms) rollback transaction
112
-  (0.0ms) begin transaction
113
- --------------------------
114
- NestedAttrTest: test_truth
115
- --------------------------
116
-  (0.0ms) rollback transaction
117
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
118
-  (0.1ms) begin transaction
119
- ------------------------------------
120
- NestedAttrTest: test_has_nested_prop
121
- ------------------------------------
122
-  (0.0ms) SAVEPOINT active_record_1
123
- SQL (0.4ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:29:46.092122"], ["updated_at", "2015-10-04 12:29:46.092122"]]
124
-  (0.0ms) RELEASE SAVEPOINT active_record_1
125
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
126
-  (0.1ms) rollback transaction
127
-  (0.0ms) begin transaction
128
- --------------------------
129
- NestedAttrTest: test_truth
130
- --------------------------
131
-  (0.0ms) rollback transaction
132
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
133
-  (0.1ms) begin transaction
134
- ------------------------------------
135
- NestedAttrTest: test_has_nested_prop
136
- ------------------------------------
137
-  (0.0ms) SAVEPOINT active_record_1
138
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:30:25.436841"], ["updated_at", "2015-10-04 12:30:25.436841"]]
139
-  (0.1ms) RELEASE SAVEPOINT active_record_1
140
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
141
-  (0.1ms) rollback transaction
142
-  (0.0ms) begin transaction
143
- --------------------------
144
- NestedAttrTest: test_truth
145
- --------------------------
146
-  (0.0ms) rollback transaction
147
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
148
-  (0.1ms) begin transaction
149
- -------------------------------
150
- NestedAttrTest: test_one_to_one
151
- -------------------------------
152
-  (0.0ms) SAVEPOINT active_record_1
153
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:31:20.016805"], ["updated_at", "2015-10-04 12:31:20.016805"]]
154
-  (0.0ms) RELEASE SAVEPOINT active_record_1
155
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
156
-  (0.1ms) rollback transaction
157
-  (0.0ms) begin transaction
158
- --------------------------
159
- NestedAttrTest: test_truth
160
- --------------------------
161
-  (0.0ms) rollback transaction
162
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
163
-  (0.1ms) begin transaction
164
- -------------------------
165
- NestedAttrTest: test_many
166
- -------------------------
167
-  (0.1ms) rollback transaction
168
-  (0.1ms) begin transaction
169
- -------------------------------
170
- NestedAttrTest: test_one_to_one
171
- -------------------------------
172
-  (0.1ms) SAVEPOINT active_record_1
173
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:32:40.428838"], ["updated_at", "2015-10-04 12:32:40.428838"]]
174
-  (0.0ms) RELEASE SAVEPOINT active_record_1
175
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
176
-  (0.1ms) rollback transaction
177
-  (0.0ms) begin transaction
178
- --------------------------
179
- NestedAttrTest: test_truth
180
- --------------------------
181
-  (0.0ms) rollback transaction
182
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
-  (0.1ms) begin transaction
184
- -------------------------
185
- NestedAttrTest: test_many
186
- -------------------------
187
-  (0.0ms) rollback transaction
188
-  (0.0ms) begin transaction
189
- -------------------------------
190
- NestedAttrTest: test_one_to_one
191
- -------------------------------
192
-  (0.0ms) rollback transaction
193
-  (0.0ms) begin transaction
194
- --------------------------
195
- NestedAttrTest: test_truth
196
- --------------------------
197
-  (0.0ms) rollback transaction
198
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
199
-  (0.1ms) begin transaction
200
- -------------------------
201
- NestedAttrTest: test_many
202
- -------------------------
203
-  (0.1ms) rollback transaction
204
-  (0.1ms) begin transaction
205
- --------------------------
206
- NestedAttrTest: test_truth
207
- --------------------------
208
-  (0.1ms) rollback transaction
209
-  (0.1ms) begin transaction
210
- -------------------------------
211
- NestedAttrTest: test_one_to_one
212
- -------------------------------
213
-  (0.0ms) rollback transaction
214
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
215
-  (0.1ms) begin transaction
216
- -------------------------
217
- NestedAttrTest: test_many
218
- -------------------------
219
-  (0.1ms) rollback transaction
220
-  (0.0ms) begin transaction
221
- -------------------------------
222
- NestedAttrTest: test_one_to_one
223
- -------------------------------
224
-  (0.1ms) SAVEPOINT active_record_1
225
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 12:42:12.745902"], ["updated_at", "2015-10-04 12:42:12.745902"]]
226
-  (0.0ms) RELEASE SAVEPOINT active_record_1
227
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
228
-  (0.1ms) rollback transaction
229
-  (0.0ms) begin transaction
230
- --------------------------
231
- NestedAttrTest: test_truth
232
- --------------------------
233
-  (0.0ms) rollback transaction
234
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
235
-  (202.7ms) CREATE TABLE "blogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
236
-  (99.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
237
-  (121.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
238
-  (131.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
239
-  (103.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
240
-  (0.2ms) select sqlite_version(*)
241
-  (99.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
242
-  (0.3ms) SELECT version FROM "schema_migrations"
243
-  (99.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004124704')
244
-  (102.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004115649')
245
-  (100.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004120032')
246
-  (100.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004124603')
247
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
248
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
249
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
250
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
251
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
252
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
253
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
254
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
255
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
256
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
257
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
258
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
260
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
261
-  (0.1ms) begin transaction
262
- -------------------------------
263
- NestedAttrTest: test_one_to_one
264
- -------------------------------
265
-  (0.1ms) SAVEPOINT active_record_1
266
- SQL (0.7ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:06:49.808287"], ["updated_at", "2015-10-04 13:06:49.808287"]]
267
-  (0.1ms) RELEASE SAVEPOINT active_record_1
268
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
269
-  (0.2ms) rollback transaction
270
-  (0.1ms) begin transaction
271
- -------------------------
272
- NestedAttrTest: test_many
273
- -------------------------
274
-  (0.1ms) rollback transaction
275
-  (0.1ms) begin transaction
276
- --------------------------
277
- NestedAttrTest: test_truth
278
- --------------------------
279
-  (0.1ms) rollback transaction
280
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
281
-  (122.8ms) CREATE TABLE "blogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
282
-  (90.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
283
-  (122.5ms) CREATE TABLE "categories_posts" ("category_id" integer, "post_id" integer) 
284
-  (0.2ms) select sqlite_version(*)
285
-  (96.9ms) CREATE INDEX "index_categories_posts_on_category_id_and_post_id" ON "categories_posts" ("category_id", "post_id")
286
-  (122.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
287
-  (122.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
288
-  (118.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
289
-  (98.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
290
-  (0.3ms) SELECT version FROM "schema_migrations"
291
-  (99.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004131127')
292
-  (100.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004115649')
293
-  (100.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004120032')
294
-  (102.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151004124603')
295
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
296
-  (0.2ms) begin transaction
297
- -------------------------
298
- NestedAttrTest: test_many
299
- -------------------------
300
-  (0.1ms) rollback transaction
301
-  (0.1ms) begin transaction
302
- -------------------------------
303
- NestedAttrTest: test_one_to_one
304
- -------------------------------
305
-  (0.1ms) SAVEPOINT active_record_1
306
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:13:30.619197"], ["updated_at", "2015-10-04 13:13:30.619197"]]
307
-  (0.1ms) RELEASE SAVEPOINT active_record_1
308
- SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
309
-  (0.1ms) rollback transaction
310
-  (0.1ms) begin transaction
311
- --------------------------
312
- NestedAttrTest: test_truth
313
- --------------------------
314
-  (0.0ms) rollback transaction
315
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
316
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
317
-  (0.1ms) begin transaction
318
- -------------------------
319
- NestedAttrTest: test_many
320
- -------------------------
321
-  (0.1ms) rollback transaction
322
-  (0.0ms) begin transaction
323
- -------------------------------
324
- NestedAttrTest: test_one_to_one
325
- -------------------------------
326
-  (0.1ms) SAVEPOINT active_record_1
327
- SQL (1.0ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:15:46.859135"], ["updated_at", "2015-10-04 13:15:46.859135"]]
328
-  (0.1ms) RELEASE SAVEPOINT active_record_1
329
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
330
-  (0.1ms) rollback transaction
331
-  (0.2ms) begin transaction
332
- --------------------------
333
- NestedAttrTest: test_truth
334
- --------------------------
335
-  (0.1ms) rollback transaction
336
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
337
-  (0.1ms) begin transaction
338
- --------------------------
339
- NestedAttrTest: test_truth
340
- --------------------------
341
-  (0.0ms) rollback transaction
342
-  (0.0ms) begin transaction
343
- -------------------------
344
- NestedAttrTest: test_many
345
- -------------------------
346
-  (0.1ms) rollback transaction
347
-  (0.0ms) begin transaction
348
- -------------------------------
349
- NestedAttrTest: test_one_to_one
350
- -------------------------------
351
-  (0.1ms) SAVEPOINT active_record_1
352
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:16:56.750041"], ["updated_at", "2015-10-04 13:16:56.750041"]]
353
-  (0.0ms) RELEASE SAVEPOINT active_record_1
354
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
355
-  (0.2ms) rollback transaction
356
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
357
-  (0.3ms) begin transaction
358
- -------------------------------
359
- NestedAttrTest: test_one_to_one
360
- -------------------------------
361
-  (0.1ms) rollback transaction
362
-  (0.1ms) begin transaction
363
- --------------------------
364
- NestedAttrTest: test_truth
365
- --------------------------
366
-  (0.1ms) rollback transaction
367
-  (0.1ms) begin transaction
368
- -------------------------
369
- NestedAttrTest: test_many
370
- -------------------------
371
-  (0.2ms) rollback transaction
372
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
373
-  (0.1ms) begin transaction
374
- -------------------------
375
- NestedAttrTest: test_many
376
- -------------------------
377
-  (0.1ms) rollback transaction
378
-  (0.0ms) begin transaction
379
- --------------------------
380
- NestedAttrTest: test_truth
381
- --------------------------
382
-  (0.0ms) rollback transaction
383
-  (0.0ms) begin transaction
384
- -------------------------------
385
- NestedAttrTest: test_one_to_one
386
- -------------------------------
387
-  (0.1ms) SAVEPOINT active_record_1
388
- SQL (0.8ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:18:49.479733"], ["updated_at", "2015-10-04 13:18:49.479733"]]
389
-  (0.2ms) RELEASE SAVEPOINT active_record_1
390
-  (0.2ms) rollback transaction
391
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
392
-  (0.1ms) begin transaction
393
- -------------------------
394
- NestedAttrTest: test_many
395
- -------------------------
396
-  (0.1ms) rollback transaction
397
-  (0.0ms) begin transaction
398
- -------------------------------
399
- NestedAttrTest: test_one_to_one
400
- -------------------------------
401
-  (0.1ms) SAVEPOINT active_record_1
402
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:19:30.673913"], ["updated_at", "2015-10-04 13:19:30.673913"]]
403
-  (0.0ms) RELEASE SAVEPOINT active_record_1
404
-  (0.1ms) rollback transaction
405
-  (0.0ms) begin transaction
406
- --------------------------
407
- NestedAttrTest: test_truth
408
- --------------------------
409
-  (0.0ms) rollback transaction
410
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
411
-  (0.1ms) begin transaction
412
- -------------------------
413
- NestedAttrTest: test_many
414
- -------------------------
415
-  (0.1ms) rollback transaction
416
-  (0.0ms) begin transaction
417
- --------------------------
418
- NestedAttrTest: test_truth
419
- --------------------------
420
-  (0.0ms) rollback transaction
421
-  (0.0ms) begin transaction
422
- -------------------------------
423
- NestedAttrTest: test_one_to_one
424
- -------------------------------
425
-  (0.1ms) SAVEPOINT active_record_1
426
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:21:22.250840"], ["updated_at", "2015-10-04 13:21:22.250840"]]
427
-  (0.0ms) RELEASE SAVEPOINT active_record_1
428
-  (0.0ms) SAVEPOINT active_record_1
429
- SQL (266.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:21:22.261000"], ["updated_at", "2015-10-04 13:21:22.261000"]]
430
-  (0.2ms) RELEASE SAVEPOINT active_record_1
431
-  (0.3ms) SAVEPOINT active_record_1
432
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:21:22.531310"], ["updated_at", "2015-10-04 13:21:22.531310"]]
433
-  (0.1ms) RELEASE SAVEPOINT active_record_1
434
-  (0.1ms) SAVEPOINT active_record_1
435
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category3"], ["created_at", "2015-10-04 13:21:22.535610"], ["updated_at", "2015-10-04 13:21:22.535610"]]
436
-  (0.1ms) RELEASE SAVEPOINT active_record_1
437
- SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
438
-  (0.4ms) rollback transaction
439
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
440
-  (0.1ms) begin transaction
441
- -------------------------
442
- NestedAttrTest: test_many
443
- -------------------------
444
-  (0.0ms) SAVEPOINT active_record_1
445
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:21:50.871485"], ["updated_at", "2015-10-04 13:21:50.871485"]]
446
-  (0.3ms) RELEASE SAVEPOINT active_record_1
447
-  (0.0ms) SAVEPOINT active_record_1
448
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:21:50.882039"], ["updated_at", "2015-10-04 13:21:50.882039"]]
449
-  (0.0ms) RELEASE SAVEPOINT active_record_1
450
-  (0.0ms) SAVEPOINT active_record_1
451
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:21:50.883754"], ["updated_at", "2015-10-04 13:21:50.883754"]]
452
-  (0.0ms) RELEASE SAVEPOINT active_record_1
453
-  (0.0ms) SAVEPOINT active_record_1
454
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category3"], ["created_at", "2015-10-04 13:21:50.884966"], ["updated_at", "2015-10-04 13:21:50.884966"]]
455
-  (0.0ms) RELEASE SAVEPOINT active_record_1
456
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
457
-  (0.2ms) rollback transaction
458
-  (0.0ms) begin transaction
459
- -------------------------------
460
- NestedAttrTest: test_one_to_one
461
- -------------------------------
462
-  (0.0ms) SAVEPOINT active_record_1
463
- SQL (0.2ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:21:50.900531"], ["updated_at", "2015-10-04 13:21:50.900531"]]
464
-  (0.0ms) RELEASE SAVEPOINT active_record_1
465
-  (0.1ms) SAVEPOINT active_record_1
466
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category4"], ["created_at", "2015-10-04 13:21:50.902224"], ["updated_at", "2015-10-04 13:21:50.902224"]]
467
-  (0.0ms) RELEASE SAVEPOINT active_record_1
468
-  (0.0ms) SAVEPOINT active_record_1
469
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category5"], ["created_at", "2015-10-04 13:21:50.903565"], ["updated_at", "2015-10-04 13:21:50.903565"]]
470
-  (0.0ms) RELEASE SAVEPOINT active_record_1
471
-  (0.0ms) SAVEPOINT active_record_1
472
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category6"], ["created_at", "2015-10-04 13:21:50.904752"], ["updated_at", "2015-10-04 13:21:50.904752"]]
473
-  (0.0ms) RELEASE SAVEPOINT active_record_1
474
- SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
475
-  (0.2ms) rollback transaction
476
-  (0.0ms) begin transaction
477
- --------------------------
478
- NestedAttrTest: test_truth
479
- --------------------------
480
-  (0.0ms) rollback transaction
481
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
482
-  (0.1ms) begin transaction
483
- -------------------------------
484
- NestedAttrTest: test_one_to_one
485
- -------------------------------
486
-  (0.0ms) SAVEPOINT active_record_1
487
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:22:31.874340"], ["updated_at", "2015-10-04 13:22:31.874340"]]
488
-  (0.0ms) RELEASE SAVEPOINT active_record_1
489
-  (0.1ms) SAVEPOINT active_record_1
490
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:22:31.884363"], ["updated_at", "2015-10-04 13:22:31.884363"]]
491
-  (0.0ms) RELEASE SAVEPOINT active_record_1
492
-  (0.7ms) rollback transaction
493
-  (0.1ms) begin transaction
494
- --------------------------
495
- NestedAttrTest: test_truth
496
- --------------------------
497
-  (0.0ms) rollback transaction
498
-  (0.0ms) begin transaction
499
- -------------------------
500
- NestedAttrTest: test_many
501
- -------------------------
502
-  (0.0ms) SAVEPOINT active_record_1
503
- SQL (0.2ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:22:31.895437"], ["updated_at", "2015-10-04 13:22:31.895437"]]
504
-  (0.0ms) RELEASE SAVEPOINT active_record_1
505
-  (0.0ms) SAVEPOINT active_record_1
506
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:22:31.897112"], ["updated_at", "2015-10-04 13:22:31.897112"]]
507
-  (0.0ms) RELEASE SAVEPOINT active_record_1
508
-  (0.1ms) rollback transaction
509
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
510
-  (0.1ms) begin transaction
511
- -------------------------------
512
- NestedAttrTest: test_one_to_one
513
- -------------------------------
514
-  (0.0ms) SAVEPOINT active_record_1
515
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:22:52.921962"], ["updated_at", "2015-10-04 13:22:52.921962"]]
516
-  (0.3ms) RELEASE SAVEPOINT active_record_1
517
-  (0.0ms) SAVEPOINT active_record_1
518
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:22:52.932447"], ["updated_at", "2015-10-04 13:22:52.932447"]]
519
-  (0.0ms) RELEASE SAVEPOINT active_record_1
520
-  (0.2ms) rollback transaction
521
-  (0.0ms) begin transaction
522
- --------------------------
523
- NestedAttrTest: test_truth
524
- --------------------------
525
-  (0.0ms) rollback transaction
526
-  (0.0ms) begin transaction
527
- -------------------------
528
- NestedAttrTest: test_many
529
- -------------------------
530
-  (0.1ms) SAVEPOINT active_record_1
531
- SQL (0.5ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:22:52.942070"], ["updated_at", "2015-10-04 13:22:52.942070"]]
532
-  (0.1ms) RELEASE SAVEPOINT active_record_1
533
-  (0.0ms) SAVEPOINT active_record_1
534
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:22:52.945248"], ["updated_at", "2015-10-04 13:22:52.945248"]]
535
-  (0.1ms) RELEASE SAVEPOINT active_record_1
536
-  (0.1ms) rollback transaction
537
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
538
-  (0.1ms) begin transaction
539
- --------------------------
540
- NestedAttrTest: test_truth
541
- --------------------------
542
-  (0.0ms) rollback transaction
543
-  (0.0ms) begin transaction
544
- -------------------------
545
- NestedAttrTest: test_many
546
- -------------------------
547
-  (0.0ms) SAVEPOINT active_record_1
548
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:24:04.894103"], ["updated_at", "2015-10-04 13:24:04.894103"]]
549
-  (0.0ms) RELEASE SAVEPOINT active_record_1
550
-  (0.1ms) SAVEPOINT active_record_1
551
- SQL (124.6ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:24:04.904089"], ["updated_at", "2015-10-04 13:24:04.904089"]]
552
-  (0.2ms) RELEASE SAVEPOINT active_record_1
553
-  (0.2ms) SAVEPOINT active_record_1
554
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:24:05.032533"], ["updated_at", "2015-10-04 13:24:05.032533"]]
555
-  (0.1ms) RELEASE SAVEPOINT active_record_1
556
-  (0.1ms) SAVEPOINT active_record_1
557
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category3"], ["created_at", "2015-10-04 13:24:05.036668"], ["updated_at", "2015-10-04 13:24:05.036668"]]
558
-  (0.1ms) RELEASE SAVEPOINT active_record_1
559
- SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
560
-  (0.3ms) rollback transaction
561
-  (0.1ms) begin transaction
562
- -------------------------------
563
- NestedAttrTest: test_one_to_one
564
- -------------------------------
565
-  (0.1ms) SAVEPOINT active_record_1
566
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:24:05.075525"], ["updated_at", "2015-10-04 13:24:05.075525"]]
567
-  (0.1ms) RELEASE SAVEPOINT active_record_1
568
-  (0.1ms) SAVEPOINT active_record_1
569
- SQL (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category4"], ["created_at", "2015-10-04 13:24:05.079371"], ["updated_at", "2015-10-04 13:24:05.079371"]]
570
-  (0.1ms) RELEASE SAVEPOINT active_record_1
571
-  (0.1ms) SAVEPOINT active_record_1
572
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category5"], ["created_at", "2015-10-04 13:24:05.082202"], ["updated_at", "2015-10-04 13:24:05.082202"]]
573
-  (0.1ms) RELEASE SAVEPOINT active_record_1
574
-  (0.1ms) SAVEPOINT active_record_1
575
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category6"], ["created_at", "2015-10-04 13:24:05.084897"], ["updated_at", "2015-10-04 13:24:05.084897"]]
576
-  (0.1ms) RELEASE SAVEPOINT active_record_1
577
- SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
578
-  (0.2ms) rollback transaction
579
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
580
-  (0.1ms) begin transaction
581
- -------------------------
582
- NestedAttrTest: test_many
583
- -------------------------
584
-  (0.0ms) SAVEPOINT active_record_1
585
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:24:44.770618"], ["updated_at", "2015-10-04 13:24:44.770618"]]
586
-  (0.1ms) RELEASE SAVEPOINT active_record_1
587
-  (0.0ms) SAVEPOINT active_record_1
588
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:24:44.780866"], ["updated_at", "2015-10-04 13:24:44.780866"]]
589
-  (0.0ms) RELEASE SAVEPOINT active_record_1
590
-  (0.1ms) rollback transaction
591
-  (0.1ms) begin transaction
592
- --------------------------
593
- NestedAttrTest: test_truth
594
- --------------------------
595
-  (0.0ms) rollback transaction
596
-  (0.0ms) begin transaction
597
- -------------------------------
598
- NestedAttrTest: test_one_to_one
599
- -------------------------------
600
-  (0.0ms) SAVEPOINT active_record_1
601
- SQL (0.2ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:24:44.784370"], ["updated_at", "2015-10-04 13:24:44.784370"]]
602
-  (0.0ms) RELEASE SAVEPOINT active_record_1
603
-  (0.1ms) SAVEPOINT active_record_1
604
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:24:44.786284"], ["updated_at", "2015-10-04 13:24:44.786284"]]
605
-  (0.1ms) RELEASE SAVEPOINT active_record_1
606
-  (0.1ms) rollback transaction
607
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
608
-  (0.1ms) begin transaction
609
- -------------------------
610
- NestedAttrTest: test_many
611
- -------------------------
612
-  (0.0ms) SAVEPOINT active_record_1
613
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:25:30.870028"], ["updated_at", "2015-10-04 13:25:30.870028"]]
614
-  (0.0ms) RELEASE SAVEPOINT active_record_1
615
-  (0.1ms) SAVEPOINT active_record_1
616
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:25:30.891080"], ["updated_at", "2015-10-04 13:25:30.891080"]]
617
-  (0.0ms) RELEASE SAVEPOINT active_record_1
618
- SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
619
-  (0.1ms) rollback transaction
620
-  (0.0ms) begin transaction
621
- -------------------------------
622
- NestedAttrTest: test_one_to_one
623
- -------------------------------
624
-  (0.0ms) SAVEPOINT active_record_1
625
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:25:30.908313"], ["updated_at", "2015-10-04 13:25:30.908313"]]
626
-  (0.0ms) RELEASE SAVEPOINT active_record_1
627
-  (0.0ms) SAVEPOINT active_record_1
628
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:25:30.910300"], ["updated_at", "2015-10-04 13:25:30.910300"]]
629
-  (0.0ms) RELEASE SAVEPOINT active_record_1
630
- SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
631
-  (0.1ms) rollback transaction
632
-  (0.0ms) begin transaction
633
- --------------------------
634
- NestedAttrTest: test_truth
635
- --------------------------
636
-  (0.0ms) rollback transaction
637
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
638
-  (0.1ms) begin transaction
639
- -------------------------
640
- NestedAttrTest: test_many
641
- -------------------------
642
-  (0.0ms) SAVEPOINT active_record_1
643
- SQL (1.0ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:45:24.117801"], ["updated_at", "2015-10-04 13:45:24.117801"]]
644
-  (0.1ms) RELEASE SAVEPOINT active_record_1
645
-  (0.1ms) SAVEPOINT active_record_1
646
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:45:24.137317"], ["updated_at", "2015-10-04 13:45:24.137317"]]
647
-  (0.0ms) RELEASE SAVEPOINT active_record_1
648
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
649
-  (0.1ms) rollback transaction
650
-  (0.0ms) begin transaction
651
- -------------------------------
652
- NestedAttrTest: test_one_to_one
653
- -------------------------------
654
-  (0.0ms) SAVEPOINT active_record_1
655
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:45:24.146485"], ["updated_at", "2015-10-04 13:45:24.146485"]]
656
-  (0.0ms) RELEASE SAVEPOINT active_record_1
657
-  (0.0ms) SAVEPOINT active_record_1
658
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:45:24.148582"], ["updated_at", "2015-10-04 13:45:24.148582"]]
659
-  (0.0ms) RELEASE SAVEPOINT active_record_1
660
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
661
-  (0.1ms) rollback transaction
662
-  (0.0ms) begin transaction
663
- --------------------------
664
- NestedAttrTest: test_truth
665
- --------------------------
666
-  (0.0ms) rollback transaction
667
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
668
-  (0.1ms) begin transaction
669
- -------------------------------
670
- NestedAttrTest: test_one_to_one
671
- -------------------------------
672
-  (0.0ms) SAVEPOINT active_record_1
673
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:46:13.885808"], ["updated_at", "2015-10-04 13:46:13.885808"]]
674
-  (0.1ms) RELEASE SAVEPOINT active_record_1
675
-  (0.1ms) SAVEPOINT active_record_1
676
- SQL (0.9ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:46:13.906869"], ["updated_at", "2015-10-04 13:46:13.906869"]]
677
-  (0.2ms) RELEASE SAVEPOINT active_record_1
678
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
679
-  (0.1ms) rollback transaction
680
-  (0.0ms) begin transaction
681
- ---------------------------------
682
- NestedAttrTest: test_many_to_many
683
- ---------------------------------
684
-  (0.0ms) SAVEPOINT active_record_1
685
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:46:13.917031"], ["updated_at", "2015-10-04 13:46:13.917031"]]
686
-  (0.0ms) RELEASE SAVEPOINT active_record_1
687
-  (0.0ms) SAVEPOINT active_record_1
688
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:46:13.919102"], ["updated_at", "2015-10-04 13:46:13.919102"]]
689
-  (0.0ms) RELEASE SAVEPOINT active_record_1
690
- SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
691
-  (0.1ms) rollback transaction
692
-  (0.0ms) begin transaction
693
- --------------------------
694
- NestedAttrTest: test_truth
695
- --------------------------
696
-  (0.0ms) rollback transaction
697
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
698
-  (0.1ms) begin transaction
699
- --------------------------
700
- NestedAttrTest: test_truth
701
- --------------------------
702
-  (0.0ms) rollback transaction
703
-  (0.0ms) begin transaction
704
- ---------------------------------
705
- NestedAttrTest: test_many_to_many
706
- ---------------------------------
707
-  (0.0ms) SAVEPOINT active_record_1
708
- SQL (0.5ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:46:48.445045"], ["updated_at", "2015-10-04 13:46:48.445045"]]
709
-  (0.1ms) RELEASE SAVEPOINT active_record_1
710
-  (0.1ms) SAVEPOINT active_record_1
711
- SQL (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:46:48.479365"], ["updated_at", "2015-10-04 13:46:48.479365"]]
712
-  (0.1ms) RELEASE SAVEPOINT active_record_1
713
- SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
714
-  (0.4ms) rollback transaction
715
-  (0.1ms) begin transaction
716
- -------------------------------
717
- NestedAttrTest: test_one_to_one
718
- -------------------------------
719
-  (0.1ms) SAVEPOINT active_record_1
720
- SQL (0.2ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:46:48.491696"], ["updated_at", "2015-10-04 13:46:48.491696"]]
721
-  (0.1ms) RELEASE SAVEPOINT active_record_1
722
-  (0.1ms) SAVEPOINT active_record_1
723
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:46:48.495428"], ["updated_at", "2015-10-04 13:46:48.495428"]]
724
-  (0.1ms) RELEASE SAVEPOINT active_record_1
725
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
726
-  (0.2ms) rollback transaction
727
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
728
-  (0.1ms) begin transaction
729
- -------------------------------
730
- NestedAttrTest: test_one_to_one
731
- -------------------------------
732
-  (0.1ms) SAVEPOINT active_record_1
733
- SQL (0.8ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:48:06.655145"], ["updated_at", "2015-10-04 13:48:06.655145"]]
734
-  (0.1ms) RELEASE SAVEPOINT active_record_1
735
-  (0.3ms) SAVEPOINT active_record_1
736
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:48:06.676311"], ["updated_at", "2015-10-04 13:48:06.676311"]]
737
-  (0.0ms) RELEASE SAVEPOINT active_record_1
738
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
739
-  (0.1ms) rollback transaction
740
-  (0.0ms) begin transaction
741
- ---------------------------
742
- NestedAttrTest: test_except
743
- ---------------------------
744
-  (0.0ms) SAVEPOINT active_record_1
745
- SQL (0.2ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:48:06.684295"], ["updated_at", "2015-10-04 13:48:06.684295"]]
746
-  (0.0ms) RELEASE SAVEPOINT active_record_1
747
-  (0.0ms) SAVEPOINT active_record_1
748
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:48:06.686328"], ["updated_at", "2015-10-04 13:48:06.686328"]]
749
-  (0.0ms) RELEASE SAVEPOINT active_record_1
750
-  (0.1ms) rollback transaction
751
-  (0.0ms) begin transaction
752
- ---------------------------------
753
- NestedAttrTest: test_many_to_many
754
- ---------------------------------
755
-  (0.0ms) SAVEPOINT active_record_1
756
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:48:06.689385"], ["updated_at", "2015-10-04 13:48:06.689385"]]
757
-  (0.0ms) RELEASE SAVEPOINT active_record_1
758
-  (0.0ms) SAVEPOINT active_record_1
759
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category3"], ["created_at", "2015-10-04 13:48:06.691379"], ["updated_at", "2015-10-04 13:48:06.691379"]]
760
-  (0.0ms) RELEASE SAVEPOINT active_record_1
761
-  (0.1ms) rollback transaction
762
-  (0.0ms) begin transaction
763
- --------------------------
764
- NestedAttrTest: test_truth
765
- --------------------------
766
-  (0.0ms) rollback transaction
767
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
768
-  (0.1ms) begin transaction
769
- --------------------------
770
- NestedAttrTest: test_truth
771
- --------------------------
772
-  (0.0ms) rollback transaction
773
-  (0.0ms) begin transaction
774
- ---------------------------------
775
- NestedAttrTest: test_many_to_many
776
- ---------------------------------
777
-  (0.0ms) SAVEPOINT active_record_1
778
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:48:39.689185"], ["updated_at", "2015-10-04 13:48:39.689185"]]
779
-  (0.1ms) RELEASE SAVEPOINT active_record_1
780
-  (0.1ms) SAVEPOINT active_record_1
781
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:48:39.709227"], ["updated_at", "2015-10-04 13:48:39.709227"]]
782
-  (0.0ms) RELEASE SAVEPOINT active_record_1
783
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
784
-  (0.1ms) rollback transaction
785
-  (0.0ms) begin transaction
786
- ---------------------------
787
- NestedAttrTest: test_except
788
- ---------------------------
789
-  (0.0ms) SAVEPOINT active_record_1
790
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:48:39.718294"], ["updated_at", "2015-10-04 13:48:39.718294"]]
791
-  (0.0ms) RELEASE SAVEPOINT active_record_1
792
-  (0.0ms) SAVEPOINT active_record_1
793
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:48:39.720368"], ["updated_at", "2015-10-04 13:48:39.720368"]]
794
-  (0.1ms) RELEASE SAVEPOINT active_record_1
795
-  (0.1ms) rollback transaction
796
-  (0.0ms) begin transaction
797
- -------------------------------
798
- NestedAttrTest: test_one_to_one
799
- -------------------------------
800
-  (0.0ms) SAVEPOINT active_record_1
801
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:48:39.723279"], ["updated_at", "2015-10-04 13:48:39.723279"]]
802
-  (0.0ms) RELEASE SAVEPOINT active_record_1
803
-  (0.0ms) SAVEPOINT active_record_1
804
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category3"], ["created_at", "2015-10-04 13:48:39.725129"], ["updated_at", "2015-10-04 13:48:39.725129"]]
805
-  (0.0ms) RELEASE SAVEPOINT active_record_1
806
-  (0.1ms) rollback transaction
807
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
808
-  (0.1ms) begin transaction
809
- ---------------------------------
810
- NestedAttrTest: test_many_to_many
811
- ---------------------------------
812
-  (0.1ms) SAVEPOINT active_record_1
813
- SQL (0.4ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:50:30.694649"], ["updated_at", "2015-10-04 13:50:30.694649"]]
814
-  (0.1ms) RELEASE SAVEPOINT active_record_1
815
-  (0.1ms) SAVEPOINT active_record_1
816
- SQL (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:50:30.725247"], ["updated_at", "2015-10-04 13:50:30.725247"]]
817
-  (0.1ms) RELEASE SAVEPOINT active_record_1
818
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
819
-  (0.2ms) rollback transaction
820
-  (0.1ms) begin transaction
821
- -------------------------------
822
- NestedAttrTest: test_one_to_one
823
- -------------------------------
824
-  (0.1ms) SAVEPOINT active_record_1
825
- SQL (0.2ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:50:30.736224"], ["updated_at", "2015-10-04 13:50:30.736224"]]
826
-  (0.1ms) RELEASE SAVEPOINT active_record_1
827
-  (0.1ms) SAVEPOINT active_record_1
828
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:50:30.738857"], ["updated_at", "2015-10-04 13:50:30.738857"]]
829
-  (0.1ms) RELEASE SAVEPOINT active_record_1
830
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
831
-  (0.2ms) rollback transaction
832
-  (0.1ms) begin transaction
833
- ---------------------------
834
- NestedAttrTest: test_except
835
- ---------------------------
836
-  (0.1ms) SAVEPOINT active_record_1
837
- SQL (0.2ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:50:30.744284"], ["updated_at", "2015-10-04 13:50:30.744284"]]
838
-  (0.1ms) RELEASE SAVEPOINT active_record_1
839
-  (0.1ms) SAVEPOINT active_record_1
840
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category3"], ["created_at", "2015-10-04 13:50:30.746785"], ["updated_at", "2015-10-04 13:50:30.746785"]]
841
-  (0.1ms) RELEASE SAVEPOINT active_record_1
842
-  (0.2ms) rollback transaction
843
-  (0.0ms) begin transaction
844
- --------------------------
845
- NestedAttrTest: test_truth
846
- --------------------------
847
-  (0.0ms) rollback transaction
848
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
849
-  (0.1ms) begin transaction
850
- ---------------------------------
851
- NestedAttrTest: test_many_to_many
852
- ---------------------------------
853
-  (0.0ms) SAVEPOINT active_record_1
854
- SQL (0.3ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:50:54.594240"], ["updated_at", "2015-10-04 13:50:54.594240"]]
855
-  (0.1ms) RELEASE SAVEPOINT active_record_1
856
-  (0.1ms) SAVEPOINT active_record_1
857
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category1"], ["created_at", "2015-10-04 13:50:54.614594"], ["updated_at", "2015-10-04 13:50:54.614594"]]
858
-  (0.1ms) RELEASE SAVEPOINT active_record_1
859
- SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
860
-  (0.1ms) rollback transaction
861
-  (0.0ms) begin transaction
862
- -------------------------------
863
- NestedAttrTest: test_one_to_one
864
- -------------------------------
865
-  (0.0ms) SAVEPOINT active_record_1
866
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:50:54.623895"], ["updated_at", "2015-10-04 13:50:54.623895"]]
867
-  (0.0ms) RELEASE SAVEPOINT active_record_1
868
-  (0.0ms) SAVEPOINT active_record_1
869
- SQL (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category2"], ["created_at", "2015-10-04 13:50:54.625906"], ["updated_at", "2015-10-04 13:50:54.625906"]]
870
-  (0.1ms) RELEASE SAVEPOINT active_record_1
871
- SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
872
-  (0.1ms) rollback transaction
873
-  (0.0ms) begin transaction
874
- ---------------------------
875
- NestedAttrTest: test_except
876
- ---------------------------
877
-  (0.0ms) SAVEPOINT active_record_1
878
- SQL (0.1ms) INSERT INTO "users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "sadaf2605"], ["created_at", "2015-10-04 13:50:54.629764"], ["updated_at", "2015-10-04 13:50:54.629764"]]
879
-  (0.0ms) RELEASE SAVEPOINT active_record_1
880
-  (0.1ms) SAVEPOINT active_record_1
881
- SQL (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "category3"], ["created_at", "2015-10-04 13:50:54.632286"], ["updated_at", "2015-10-04 13:50:54.632286"]]
882
-  (0.0ms) RELEASE SAVEPOINT active_record_1
883
-  (0.1ms) rollback transaction
884
-  (0.0ms) begin transaction
885
- --------------------------
886
- NestedAttrTest: test_truth
887
- --------------------------
888
-  (0.0ms) rollback transaction