rails_soft_deletable 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWUwMzNmMjUxZDEyOGQ0NTNkMDBhMjViYTEyOTQ1NjdiNGRlYThkMA==
4
+ MDZmNGI1OTVjYjkzYTE2ZTMzNzdhZmE4MzMyN2JmYzAzZDliZDcwMQ==
5
5
  data.tar.gz: !binary |-
6
- YjYzZjFiYTdmNzZlMjI3OWJkMzVkZjZhN2JmNTc5ZDZjNTI4MDJkYw==
6
+ NWY5NzdmMjYzZGIwY2UxMDJlODNiYjFiMmYzZTY1MTQ4MDliNWI2Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2I5YmNjZDljZmYzZjBiMzk4ZmFlNjk0OTNmNmU1ZTA5ZDkxYmI1MTdkMTNj
10
- N2FkYmNhYjdkZGFmYzRjMDJiMzYyMmQzZDcwMTdkZjNjZmRiMzBiMTY4YjUw
11
- NjQ4YTNhY2IwMzk2ODRlNWJhN2UyYjY1ZDNjMWUyZDVlZTZmYjA=
9
+ Zjc0NDE5YTI1Yjg4NjgzMTRjNmFjZjI0ODY5OTM1ODA2ZjE1YmQ0YjFkNTk2
10
+ ODZkMGZjNWUyOTJkNTg3NWQ1YjVhYmExMDA1MTBlYjhiMWJjODI0MThmZDY4
11
+ Y2M5MjRkYWE4MDQ1MzE0NTcwNmIzNWJmMGNiMGM1ZTdhNmRmMjU=
12
12
  data.tar.gz: !binary |-
13
- MjM2NzQzNmE5MTZiMzNlODA5ZTg0YWQzYTUzZDkwNWU5ZjViNmZmNDQxN2E3
14
- ZDFkZGMxZjAxMzZlYjk1YmExMDNmMGMxYjgyMGY1ODQ5ZTAwZTI1NjU0NzU3
15
- NTdjYTc4NmM0YWVhYWU4MjczNjBmZTFiNWU0OGIwMWYwZWRkZjI=
13
+ OWY5YzEwODI2MTRmMjI2Y2FhMDMyNjI3NTU3ZGJiNDExNTk0MTdkNmUxYzVi
14
+ NjBmMDMyMmNiMTg2YjJkOWU5N2RiYzZhOGQ1NDc0MDM5ZWRlMjk1ZjEwYjFh
15
+ MDY4OTFkY2JjZmVkNDc1YmUzOTYyYTEwY2Q4MjdjNjg1OWFkNjg=
@@ -0,0 +1,21 @@
1
+ require "active_support/concern"
2
+
3
+ module RailsSoftDeletable
4
+ module Associations
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+ alias_method_chain :target_scope, :deleted
9
+ end
10
+
11
+ def target_scope_with_deleted
12
+ scope = target_scope_without_deleted
13
+
14
+ if scope && options[:with_deleted] && klass.soft_deletable?
15
+ scope = scope.with_deleted
16
+ end
17
+
18
+ scope
19
+ end
20
+ end
21
+ end
@@ -1,11 +1,16 @@
1
1
  require "rails/railtie"
2
2
  require "rails_soft_deletable/rails/active_record"
3
+ require "rails_soft_deletable/rails/associations"
3
4
 
4
5
  module RailsSoftDeletable
5
6
  class Railtie < Rails::Railtie
6
7
  initializer "rails_soft_deletable.initialize" do |app|
7
8
  ActiveSupport.on_load(:active_record) do
8
9
  include(RailsSoftDeletable::ActiveRecord)
10
+ ::ActiveRecord::Associations::Association.send(:include, RailsSoftDeletable::Associations)
11
+ ::ActiveRecord::Associations::Builder::BelongsTo.valid_options << :with_deleted
12
+ ::ActiveRecord::Associations::Builder::HasMany.valid_options << :with_deleted
13
+ ::ActiveRecord::Associations::Builder::HasOne.valid_options << :with_deleted
9
14
  end
10
15
  end
11
16
  end
@@ -1,3 +1,3 @@
1
1
  module RailsSoftDeletable
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  require "soft_deletable_model_callbacks"
2
2
 
3
- class DecimalModel< ActiveRecord::Base
3
+ class DecimalModel < ActiveRecord::Base
4
4
  soft_deletable
5
5
 
6
6
  include SoftDeletableModelCallbacks
@@ -0,0 +1,7 @@
1
+ require "soft_deletable_model_callbacks"
2
+
3
+ class Forest< ActiveRecord::Base
4
+ soft_deletable
5
+
6
+ include SoftDeletableModelCallbacks
7
+ end
@@ -0,0 +1,3 @@
1
+ class Park < ActiveRecord::Base
2
+
3
+ end
@@ -0,0 +1,7 @@
1
+ require "soft_deletable_model_callbacks"
2
+
3
+ class Tree < ActiveRecord::Base
4
+ soft_deletable
5
+
6
+ include SoftDeletableModelCallbacks
7
+ end
@@ -14,9 +14,25 @@
14
14
  ActiveRecord::Schema.define(version: Time.now.strftime("%Y%m%d%H%M%S")) do
15
15
  create_table "decimal_models", force: true do |t|
16
16
  t.decimal "deleted_at", default: 0
17
+ t.integer "integer_model_id"
17
18
  end
18
19
 
19
20
  create_table "integer_models", force: true do |t|
20
21
  t.integer "deleted_at", default: 0
21
22
  end
23
+
24
+ create_table "forests", force: true do |t|
25
+ t.integer "deleted_at", default: 0
26
+ end
27
+
28
+ create_table "trees", force: true do |t|
29
+ t.integer "deleted_at", default: 0
30
+ t.integer "forest_id"
31
+ t.integer "park_id"
32
+ t.boolean "biggest", default: false
33
+ end
34
+
35
+ create_table "parks", force: true do |t|
36
+ t.integer "forest_id"
37
+ end
22
38
  end
@@ -0,0 +1,2070 @@
1
+ Connecting to database specified by database.yml
2
+  (1.1ms) select sqlite_version(*)
3
+  (1.2ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0)
4
+  (1.0ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
5
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
6
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
+  (0.1ms) SELECT version FROM "schema_migrations"
8
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205225715')
9
+  (0.0ms) begin transaction
10
+ SQL (3.4ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
11
+  (0.9ms) commit transaction
12
+  (0.0ms) begin transaction
13
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.727295 WHERE "integer_models"."id" = 1
14
+  (0.8ms) commit transaction
15
+  (0.0ms) begin transaction
16
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
17
+  (1.0ms) commit transaction
18
+  (0.0ms) begin transaction
19
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.737532 WHERE "integer_models"."id" = 2
20
+  (0.9ms) commit transaction
21
+  (0.0ms) begin transaction
22
+ SQL (0.9ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7fba5998ecf0,'0.0',9(18)>]]
23
+  (0.8ms) commit transaction
24
+  (0.0ms) begin transaction
25
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
26
+  (1.0ms) commit transaction
27
+  (0.0ms) begin transaction
28
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.747094 WHERE "integer_models"."id" = 3
29
+  (0.5ms) commit transaction
30
+  (0.0ms) begin transaction
31
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
32
+  (1.0ms) commit transaction
33
+  (0.0ms) begin transaction
34
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.750599 WHERE "integer_models"."id" = 4
35
+  (0.8ms) commit transaction
36
+  (0.0ms) begin transaction
37
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7fba5998ecf0,'0.0',9(18)>]]
38
+  (0.0ms) commit transaction
39
+  (0.0ms) begin transaction
40
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386313035.752094 WHERE "decimal_models"."id" = 2
41
+  (0.0ms) commit transaction
42
+  (0.0ms) begin transaction
43
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
44
+  (0.0ms) commit transaction
45
+  (0.0ms) begin transaction
46
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.752094 WHERE "integer_models"."id" = 5
47
+  (0.0ms) commit transaction
48
+  (0.0ms) begin transaction
49
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
50
+  (1.0ms) commit transaction
51
+  (0.0ms) begin transaction
52
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.761828 WHERE "integer_models"."id" = 6
53
+  (1.1ms) commit transaction
54
+  (0.0ms) begin transaction
55
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7fba5998ecf0,'0.0',9(18)>]]
56
+  (0.0ms) commit transaction
57
+  (0.0ms) begin transaction
58
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386313035.763585 WHERE "decimal_models"."id" = 3
59
+  (0.0ms) commit transaction
60
+  (0.0ms) begin transaction
61
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
62
+  (0.0ms) commit transaction
63
+  (0.0ms) begin transaction
64
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.763585 WHERE "integer_models"."id" = 7
65
+  (0.0ms) commit transaction
66
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 3
67
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 7
68
+  (0.0ms) begin transaction
69
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
70
+  (0.9ms) commit transaction
71
+  (0.0ms) begin transaction
72
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.772723 WHERE "integer_models"."id" = 8
73
+  (0.6ms) commit transaction
74
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 8
75
+  (0.0ms) begin transaction
76
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
77
+  (1.0ms) commit transaction
78
+  (0.0ms) begin transaction
79
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.777681 WHERE "integer_models"."id" = 9
80
+  (1.2ms) commit transaction
81
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 9
82
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 9
83
+  (0.0ms) begin transaction
84
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
85
+  (1.0ms) commit transaction
86
+  (0.0ms) begin transaction
87
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 10]]
88
+  (1.1ms) commit transaction
89
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 10
90
+  (0.0ms) begin transaction
91
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
92
+  (1.0ms) commit transaction
93
+  (0.0ms) begin transaction
94
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 11]]
95
+  (0.8ms) commit transaction
96
+  (0.0ms) begin transaction
97
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
98
+  (0.6ms) commit transaction
99
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.790561 WHERE "integer_models"."id" = 12
100
+  (0.0ms) begin transaction
101
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
102
+  (1.0ms) commit transaction
103
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.793857 WHERE "integer_models"."id" = 13
104
+  (0.0ms) begin transaction
105
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7fba5998ecf0,'0.0',9(18)>]]
106
+  (0.9ms) commit transaction
107
+  (0.0ms) begin transaction
108
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
109
+  (1.1ms) commit transaction
110
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.799427 WHERE "integer_models"."id" = 14
111
+  (0.1ms) begin transaction
112
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
113
+  (1.0ms) commit transaction
114
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.803126 WHERE "integer_models"."id" = 15
115
+  (0.0ms) begin transaction
116
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7fba5998ecf0,'0.0',9(18)>]]
117
+  (0.0ms) commit transaction
118
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386313035.804755 WHERE "decimal_models"."id" = 5
119
+  (0.0ms) begin transaction
120
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
121
+  (0.0ms) commit transaction
122
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.804755 WHERE "integer_models"."id" = 16
123
+  (0.0ms) begin transaction
124
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
125
+  (1.0ms) commit transaction
126
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.813698 WHERE "integer_models"."id" = 17
127
+  (0.0ms) begin transaction
128
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7fba5998ecf0,'0.0',9(18)>]]
129
+  (0.0ms) commit transaction
130
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386313035.815349 WHERE "decimal_models"."id" = 6
131
+  (0.0ms) begin transaction
132
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
133
+  (0.0ms) commit transaction
134
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.815349 WHERE "integer_models"."id" = 18
135
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 6
136
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 18
137
+  (0.0ms) begin transaction
138
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
139
+  (0.7ms) commit transaction
140
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.824247 WHERE "integer_models"."id" = 19
141
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 19
142
+  (0.0ms) begin transaction
143
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
144
+  (0.8ms) commit transaction
145
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.828416 WHERE "integer_models"."id" = 20
146
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 20
147
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 20
148
+  (0.1ms) begin transaction
149
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
150
+  (1.0ms) commit transaction
151
+ SQL (1.0ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 21 AND ("integer_models".deleted_at = 0)
152
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 21
153
+  (0.0ms) begin transaction
154
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
155
+  (1.0ms) commit transaction
156
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 22 AND ("integer_models".deleted_at = 0)
157
+  (0.0ms) begin transaction
158
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
159
+  (1.0ms) commit transaction
160
+  (0.0ms) begin transaction
161
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.841288 WHERE "integer_models"."id" = 23
162
+  (1.1ms) commit transaction
163
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 23
164
+  (0.0ms) begin transaction
165
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
166
+  (0.9ms) commit transaction
167
+  (0.0ms) begin transaction
168
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.847314 WHERE "integer_models"."id" = 24
169
+  (1.1ms) commit transaction
170
+ SQL (1.0ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 24
171
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 24
172
+  (0.0ms) begin transaction
173
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
174
+  (1.0ms) commit transaction
175
+  (0.0ms) begin transaction
176
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.852587 WHERE "integer_models"."id" = 25
177
+  (1.1ms) commit transaction
178
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 25
179
+  (0.0ms) begin transaction
180
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
181
+  (0.7ms) commit transaction
182
+  (0.0ms) begin transaction
183
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.857485 WHERE "integer_models"."id" = 26
184
+  (0.6ms) commit transaction
185
+ SQL (1.0ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 26
186
+  (0.1ms) begin transaction
187
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
188
+  (1.0ms) commit transaction
189
+  (0.0ms) begin transaction
190
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
191
+  (1.1ms) commit transaction
192
+  (0.0ms) begin transaction
193
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386313035.864966 WHERE "integer_models"."id" = 28
194
+  (0.6ms) commit transaction
195
+ Connecting to database specified by database.yml
196
+  (1.9ms) select sqlite_version(*)
197
+  (2.5ms) DROP TABLE "decimal_models"
198
+  (1.6ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0) 
199
+  (2.1ms) DROP TABLE "integer_models"
200
+  (1.4ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
201
+  (0.1ms) SELECT version FROM "schema_migrations"
202
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20131206102529')
203
+  (0.0ms) begin transaction
204
+ SQL (1.9ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
205
+  (1.0ms) commit transaction
206
+  (0.0ms) begin transaction
207
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.851144 WHERE "integer_models"."id" = 1
208
+  (0.9ms) commit transaction
209
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 1
210
+  (0.0ms) begin transaction
211
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
212
+  (1.0ms) commit transaction
213
+  (0.0ms) begin transaction
214
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.862429 WHERE "integer_models"."id" = 2
215
+  (0.8ms) commit transaction
216
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 2
217
+  (0.0ms) begin transaction
218
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
219
+  (1.0ms) commit transaction
220
+  (0.0ms) begin transaction
221
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.866992 WHERE "integer_models"."id" = 3
222
+  (0.8ms) commit transaction
223
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 3
224
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 3
225
+  (0.0ms) begin transaction
226
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
227
+  (0.9ms) commit transaction
228
+  (0.0ms) begin transaction
229
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.871743 WHERE "integer_models"."id" = 4
230
+  (1.1ms) commit transaction
231
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 4
232
+  (0.0ms) begin transaction
233
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
234
+  (1.1ms) commit transaction
235
+  (0.0ms) begin transaction
236
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
237
+  (1.0ms) commit transaction
238
+  (0.0ms) begin transaction
239
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.881176 WHERE "integer_models"."id" = 6
240
+  (0.7ms) commit transaction
241
+  (0.0ms) begin transaction
242
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
243
+  (1.1ms) commit transaction
244
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.885251 WHERE "integer_models"."id" = 7
245
+  (0.0ms) begin transaction
246
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
247
+  (1.1ms) commit transaction
248
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.888952 WHERE "integer_models"."id" = 8
249
+  (0.0ms) begin transaction
250
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
251
+  (1.2ms) commit transaction
252
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.892746 WHERE "integer_models"."id" = 9
253
+  (0.0ms) begin transaction
254
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
255
+  (0.7ms) commit transaction
256
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.895632 WHERE "integer_models"."id" = 10
257
+  (0.0ms) begin transaction
258
+ SQL (0.5ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7f9b62661638,'0.0',9(18)>]]
259
+  (2.0ms) commit transaction
260
+  (0.0ms) begin transaction
261
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7f9b62661638,'0.0',9(18)>]]
262
+  (0.0ms) commit transaction
263
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386354329.904282 WHERE "decimal_models"."id" = 2
264
+  (0.0ms) begin transaction
265
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
266
+  (0.0ms) commit transaction
267
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.904282 WHERE "integer_models"."id" = 11
268
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 2
269
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 11
270
+  (0.0ms) begin transaction
271
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
272
+  (1.1ms) commit transaction
273
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.914617 WHERE "integer_models"."id" = 12
274
+  (0.0ms) begin transaction
275
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7f9b62661638,'0.0',9(18)>]]
276
+  (0.0ms) commit transaction
277
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386354329.916669 WHERE "decimal_models"."id" = 3
278
+  (0.0ms) begin transaction
279
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
280
+  (0.0ms) commit transaction
281
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.916669 WHERE "integer_models"."id" = 13
282
+  (0.0ms) begin transaction
283
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
284
+  (0.9ms) commit transaction
285
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.92503 WHERE "integer_models"."id" = 14
286
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 14
287
+  (0.0ms) begin transaction
288
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
289
+  (1.1ms) commit transaction
290
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.929485 WHERE "integer_models"."id" = 15
291
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 15
292
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 15
293
+  (0.0ms) begin transaction
294
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
295
+  (1.1ms) commit transaction
296
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 16 AND ("integer_models".deleted_at = 0)
297
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 16
298
+  (0.0ms) begin transaction
299
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
300
+  (1.0ms) commit transaction
301
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 17 AND ("integer_models".deleted_at = 0)
302
+  (0.0ms) begin transaction
303
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
304
+  (0.7ms) commit transaction
305
+  (0.0ms) begin transaction
306
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.942192 WHERE "integer_models"."id" = 18
307
+  (1.0ms) commit transaction
308
+  (0.0ms) begin transaction
309
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
310
+  (1.0ms) commit transaction
311
+  (0.0ms) begin transaction
312
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.946389 WHERE "integer_models"."id" = 19
313
+  (0.9ms) commit transaction
314
+  (0.0ms) begin transaction
315
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
316
+  (1.1ms) commit transaction
317
+  (0.0ms) begin transaction
318
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.950455 WHERE "integer_models"."id" = 20
319
+  (1.1ms) commit transaction
320
+  (0.0ms) begin transaction
321
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
322
+  (0.9ms) commit transaction
323
+  (0.0ms) begin transaction
324
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.954307 WHERE "integer_models"."id" = 21
325
+  (1.1ms) commit transaction
326
+  (0.0ms) begin transaction
327
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7f9b62661638,'0.0',9(18)>]]
328
+  (0.9ms) commit transaction
329
+  (0.0ms) begin transaction
330
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7f9b62661638,'0.0',9(18)>]]
331
+  (0.0ms) commit transaction
332
+  (0.0ms) begin transaction
333
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386354329.95805 WHERE "decimal_models"."id" = 5
334
+  (0.0ms) commit transaction
335
+  (0.0ms) begin transaction
336
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
337
+  (0.0ms) commit transaction
338
+  (0.0ms) begin transaction
339
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.95805 WHERE "integer_models"."id" = 22
340
+  (0.0ms) commit transaction
341
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 5
342
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 22
343
+  (0.0ms) begin transaction
344
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
345
+  (1.2ms) commit transaction
346
+  (0.0ms) begin transaction
347
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.968532 WHERE "integer_models"."id" = 23
348
+  (0.5ms) commit transaction
349
+  (0.0ms) begin transaction
350
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at") VALUES (?) [["deleted_at", #<BigDecimal:7f9b62661638,'0.0',9(18)>]]
351
+  (0.0ms) commit transaction
352
+  (0.0ms) begin transaction
353
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386354329.969949 WHERE "decimal_models"."id" = 6
354
+  (0.0ms) commit transaction
355
+  (0.0ms) begin transaction
356
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
357
+  (0.0ms) commit transaction
358
+  (0.0ms) begin transaction
359
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.969949 WHERE "integer_models"."id" = 24
360
+  (0.0ms) commit transaction
361
+  (0.0ms) begin transaction
362
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
363
+  (1.1ms) commit transaction
364
+  (0.0ms) begin transaction
365
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.979186 WHERE "integer_models"."id" = 25
366
+  (0.5ms) commit transaction
367
+ SQL (0.9ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 25
368
+  (0.0ms) begin transaction
369
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
370
+  (0.9ms) commit transaction
371
+  (0.0ms) begin transaction
372
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386354329.983717 WHERE "integer_models"."id" = 26
373
+  (1.1ms) commit transaction
374
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 26
375
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 26
376
+  (0.0ms) begin transaction
377
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
378
+  (1.1ms) commit transaction
379
+  (0.0ms) begin transaction
380
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 27]]
381
+  (0.5ms) commit transaction
382
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 27
383
+  (0.0ms) begin transaction
384
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
385
+  (1.1ms) commit transaction
386
+  (0.0ms) begin transaction
387
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 28]]
388
+  (1.1ms) commit transaction
389
+ Connecting to database specified by database.yml
390
+  (2.6ms) select sqlite_version(*)
391
+  (2.4ms) DROP TABLE "decimal_models"
392
+  (1.0ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer) 
393
+  (1.7ms) DROP TABLE "integer_models"
394
+  (0.9ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
395
+  (1.3ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
396
+  (0.9ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f') 
397
+  (1.3ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer)
398
+  (0.3ms) SELECT version FROM "schema_migrations"
399
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20131210195924')
400
+  (0.0ms) begin transaction
401
+ SQL (3.6ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
402
+  (0.9ms) commit transaction
403
+  (0.0ms) begin transaction
404
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.04316 WHERE "integer_models"."id" = 1
405
+  (0.9ms) commit transaction
406
+  (0.0ms) begin transaction
407
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
408
+  (1.0ms) commit transaction
409
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models"
410
+  (0.0ms) begin transaction
411
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
412
+  (1.1ms) commit transaction
413
+  (0.0ms) begin transaction
414
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.055483 WHERE "integer_models"."id" = 3
415
+  (1.1ms) commit transaction
416
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 3
417
+  (0.0ms) begin transaction
418
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
419
+  (0.9ms) commit transaction
420
+  (0.0ms) begin transaction
421
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.061495 WHERE "integer_models"."id" = 4
422
+  (1.2ms) commit transaction
423
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 4
424
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 4
425
+  (0.0ms) begin transaction
426
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
427
+  (1.0ms) commit transaction
428
+  (0.0ms) begin transaction
429
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.067021 WHERE "integer_models"."id" = 5
430
+  (0.8ms) commit transaction
431
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 5
432
+  (0.0ms) begin transaction
433
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
434
+  (1.0ms) commit transaction
435
+  (0.0ms) begin transaction
436
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.071584 WHERE "integer_models"."id" = 6
437
+  (0.8ms) commit transaction
438
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 6
439
+  (0.0ms) begin transaction
440
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7faf8aa5b090,'0.0',9(18)>], ["integer_model_id", nil]]
441
+  (0.0ms) commit transaction
442
+  (0.0ms) begin transaction
443
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734365.076177 WHERE "decimal_models"."id" = 1
444
+  (0.0ms) commit transaction
445
+  (0.0ms) begin transaction
446
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
447
+  (0.0ms) commit transaction
448
+  (0.0ms) begin transaction
449
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.076177 WHERE "integer_models"."id" = 7
450
+  (0.0ms) commit transaction
451
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 1
452
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 7
453
+  (0.1ms) begin transaction
454
+ SQL (0.3ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
455
+  (1.1ms) commit transaction
456
+  (0.0ms) begin transaction
457
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.095519 WHERE "integer_models"."id" = 8
458
+  (0.9ms) commit transaction
459
+  (0.0ms) begin transaction
460
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7faf8aa5b090,'0.0',9(18)>], ["integer_model_id", nil]]
461
+  (0.8ms) commit transaction
462
+  (0.0ms) begin transaction
463
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
464
+  (1.3ms) commit transaction
465
+  (0.0ms) begin transaction
466
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.101902 WHERE "integer_models"."id" = 9
467
+  (1.3ms) commit transaction
468
+  (0.0ms) begin transaction
469
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7faf8aa5b090,'0.0',9(18)>], ["integer_model_id", nil]]
470
+  (0.0ms) commit transaction
471
+  (0.0ms) begin transaction
472
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734365.0 WHERE "decimal_models"."id" = 3
473
+  (0.0ms) commit transaction
474
+  (0.0ms) begin transaction
475
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
476
+  (0.0ms) commit transaction
477
+  (0.0ms) begin transaction
478
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.0 WHERE "integer_models"."id" = 10
479
+  (0.0ms) commit transaction
480
+  (0.0ms) begin transaction
481
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
482
+  (1.1ms) commit transaction
483
+  (0.0ms) begin transaction
484
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.113666 WHERE "integer_models"."id" = 11
485
+  (1.1ms) commit transaction
486
+  (0.0ms) begin transaction
487
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
488
+  (1.0ms) commit transaction
489
+  (0.0ms) begin transaction
490
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.118069 WHERE "integer_models"."id" = 12
491
+  (0.8ms) commit transaction
492
+  (0.0ms) begin transaction
493
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
494
+  (1.0ms) commit transaction
495
+  (0.0ms) begin transaction
496
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.12157 WHERE "integer_models"."id" = 13
497
+  (0.8ms) commit transaction
498
+  (0.0ms) begin transaction
499
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
500
+  (1.0ms) commit transaction
501
+  (0.0ms) begin transaction
502
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 14]]
503
+  (0.6ms) commit transaction
504
+  (0.0ms) begin transaction
505
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
506
+  (1.2ms) commit transaction
507
+  (0.0ms) begin transaction
508
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 15]]
509
+  (1.1ms) commit transaction
510
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 15
511
+  (0.0ms) begin transaction
512
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
513
+  (0.8ms) commit transaction
514
+  (0.0ms) begin transaction
515
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.132961 WHERE "integer_models"."id" = 16
516
+  (0.7ms) commit transaction
517
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 16
518
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 16
519
+  (0.0ms) begin transaction
520
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
521
+  (0.7ms) commit transaction
522
+  (0.0ms) begin transaction
523
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.137705 WHERE "integer_models"."id" = 17
524
+  (1.1ms) commit transaction
525
+ SQL (0.9ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 17
526
+  (0.0ms) begin transaction
527
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
528
+  (1.1ms) commit transaction
529
+  (0.0ms) begin transaction
530
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.143096 WHERE "integer_models"."id" = 18
531
+  (1.2ms) commit transaction
532
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
533
+  (0.0ms) begin transaction
534
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
535
+  (1.1ms) commit transaction
536
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
537
+  (0.0ms) begin transaction
538
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
539
+  (1.1ms) commit transaction
540
+  (0.0ms) begin transaction
541
+ SQL (0.1ms) UPDATE "forests" SET "deleted_at" = 1386734365.153935 WHERE "forests"."id" = 1
542
+  (0.9ms) commit transaction
543
+  (0.0ms) begin transaction
544
+ SQL (3.8ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
545
+  (2.9ms) commit transaction
546
+  (0.0ms) begin transaction
547
+  (0.3ms) UPDATE "parks" SET "forest_id" = 1 WHERE "parks"."id" = 1
548
+  (0.7ms) commit transaction
549
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 1]]
550
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 1 AND ("forests".deleted_at = 0) LIMIT 1
551
+  (0.0ms) begin transaction
552
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
553
+  (1.0ms) commit transaction
554
+  (0.0ms) begin transaction
555
+ SQL (0.1ms) UPDATE "forests" SET "deleted_at" = 1386734365.202448 WHERE "forests"."id" = 2
556
+  (0.8ms) commit transaction
557
+  (0.0ms) begin transaction
558
+ SQL (0.1ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
559
+  (0.9ms) commit transaction
560
+  (0.0ms) begin transaction
561
+  (0.1ms) UPDATE "parks" SET "forest_id" = 2 WHERE "parks"."id" = 2
562
+  (0.9ms) commit transaction
563
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 2]]
564
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 2 LIMIT 1
565
+  (0.0ms) begin transaction
566
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
567
+  (0.7ms) commit transaction
568
+  (0.0ms) begin transaction
569
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 3]]
570
+  (1.2ms) commit transaction
571
+  (0.0ms) begin transaction
572
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734365.219395 WHERE "trees"."id" = 1
573
+  (1.0ms) commit transaction
574
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 3 AND ("trees".deleted_at = 0)
575
+  (0.0ms) begin transaction
576
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
577
+  (1.1ms) commit transaction
578
+  (0.0ms) begin transaction
579
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 4]]
580
+  (1.0ms) commit transaction
581
+  (0.0ms) begin transaction
582
+ SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1386734365.231068 WHERE "trees"."id" = 2
583
+  (1.1ms) commit transaction
584
+  (0.0ms) begin transaction
585
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 4]]
586
+  (0.8ms) commit transaction
587
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 4
588
+  (0.0ms) begin transaction
589
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
590
+  (0.8ms) commit transaction
591
+  (0.0ms) begin transaction
592
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 5]]
593
+  (1.0ms) commit transaction
594
+  (0.0ms) begin transaction
595
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734365.240614 WHERE "trees"."id" = 4
596
+  (0.8ms) commit transaction
597
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 5 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
598
+  (0.0ms) begin transaction
599
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
600
+  (1.0ms) commit transaction
601
+  (0.0ms) begin transaction
602
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 6]]
603
+  (1.0ms) commit transaction
604
+  (0.0ms) begin transaction
605
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734365.24835 WHERE "trees"."id" = 5
606
+  (0.5ms) commit transaction
607
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 6 AND (biggest = 't') LIMIT 1
608
+  (0.0ms) begin transaction
609
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
610
+  (0.7ms) commit transaction
611
+  (0.0ms) begin transaction
612
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734365.2533 WHERE "forests"."id" = 3
613
+  (0.6ms) commit transaction
614
+  (0.0ms) begin transaction
615
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 3], ["park_id", nil]]
616
+  (1.1ms) commit transaction
617
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 3 AND ("forests".deleted_at = 0) LIMIT 1
618
+  (0.0ms) begin transaction
619
+ SQL (0.1ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
620
+  (0.8ms) commit transaction
621
+  (0.0ms) begin transaction
622
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734365.260576 WHERE "forests"."id" = 4
623
+  (1.1ms) commit transaction
624
+  (0.0ms) begin transaction
625
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 4], ["park_id", nil]]
626
+  (1.0ms) commit transaction
627
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 4 LIMIT 1
628
+  (0.0ms) begin transaction
629
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
630
+  (1.0ms) commit transaction
631
+  (0.0ms) begin transaction
632
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
633
+  (0.6ms) commit transaction
634
+  (0.0ms) begin transaction
635
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734365.27161 WHERE "trees"."id" = 8
636
+  (0.9ms) commit transaction
637
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 5 AND ("trees".deleted_at = 0)
638
+  (0.0ms) begin transaction
639
+ SQL (0.1ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
640
+  (1.1ms) commit transaction
641
+  (0.0ms) begin transaction
642
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 6], ["park_id", nil]]
643
+  (1.3ms) commit transaction
644
+  (0.0ms) begin transaction
645
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734365.279721 WHERE "trees"."id" = 9
646
+  (0.9ms) commit transaction
647
+  (0.0ms) begin transaction
648
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 6], ["park_id", nil]]
649
+  (1.1ms) commit transaction
650
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 6
651
+  (0.0ms) begin transaction
652
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
653
+  (1.6ms) commit transaction
654
+  (0.0ms) begin transaction
655
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 7], ["park_id", nil]]
656
+  (0.8ms) commit transaction
657
+  (0.0ms) begin transaction
658
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734365.290348 WHERE "trees"."id" = 11
659
+  (0.6ms) commit transaction
660
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 7 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
661
+  (0.0ms) begin transaction
662
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
663
+  (1.1ms) commit transaction
664
+  (0.0ms) begin transaction
665
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 8], ["park_id", nil]]
666
+  (1.0ms) commit transaction
667
+  (0.0ms) begin transaction
668
+ SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1386734365.297735 WHERE "trees"."id" = 12
669
+  (1.1ms) commit transaction
670
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 8 AND (biggest = 't') LIMIT 1
671
+  (0.0ms) begin transaction
672
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
673
+  (0.6ms) commit transaction
674
+  (0.0ms) begin transaction
675
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.302249 WHERE "integer_models"."id" = 20
676
+  (1.0ms) commit transaction
677
+  (0.0ms) begin transaction
678
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
679
+  (1.0ms) commit transaction
680
+  (0.0ms) begin transaction
681
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7faf8aa5b090,'0.0',9(18)>], ["integer_model_id", nil]]
682
+  (0.0ms) commit transaction
683
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734365.307029 WHERE "decimal_models"."id" = 4
684
+  (0.0ms) begin transaction
685
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
686
+  (0.0ms) commit transaction
687
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.307029 WHERE "integer_models"."id" = 22
688
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 4
689
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 22
690
+  (0.0ms) begin transaction
691
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
692
+  (1.0ms) commit transaction
693
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.31543 WHERE "integer_models"."id" = 23
694
+  (0.0ms) begin transaction
695
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7faf8aa5b090,'0.0',9(18)>], ["integer_model_id", nil]]
696
+  (0.8ms) commit transaction
697
+  (0.0ms) begin transaction
698
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
699
+  (0.7ms) commit transaction
700
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.320746 WHERE "integer_models"."id" = 24
701
+  (0.0ms) begin transaction
702
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7faf8aa5b090,'0.0',9(18)>], ["integer_model_id", nil]]
703
+  (0.0ms) commit transaction
704
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734365.0 WHERE "decimal_models"."id" = 6
705
+  (0.0ms) begin transaction
706
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
707
+  (0.0ms) commit transaction
708
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.0 WHERE "integer_models"."id" = 25
709
+  (0.0ms) begin transaction
710
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
711
+  (1.0ms) commit transaction
712
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.33134 WHERE "integer_models"."id" = 26
713
+  (0.0ms) begin transaction
714
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
715
+  (0.9ms) commit transaction
716
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.334845 WHERE "integer_models"."id" = 27
717
+  (0.0ms) begin transaction
718
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
719
+  (1.0ms) commit transaction
720
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.338424 WHERE "integer_models"."id" = 28
721
+  (0.0ms) begin transaction
722
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
723
+  (1.1ms) commit transaction
724
+ SQL (1.3ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 29 AND ("integer_models".deleted_at = 0)
725
+  (0.0ms) begin transaction
726
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
727
+  (0.8ms) commit transaction
728
+ SQL (1.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 30 AND ("integer_models".deleted_at = 0)
729
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 30
730
+  (0.0ms) begin transaction
731
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
732
+  (0.6ms) commit transaction
733
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.349394 WHERE "integer_models"."id" = 31
734
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 31
735
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 31
736
+  (0.0ms) begin transaction
737
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
738
+  (1.1ms) commit transaction
739
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1386734365.354266 WHERE "integer_models"."id" = 32
740
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 32
741
+ Connecting to database specified by database.yml
742
+  (2.6ms) select sqlite_version(*)
743
+  (2.4ms) DROP TABLE "decimal_models"
744
+  (0.9ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer) 
745
+  (1.2ms) DROP TABLE "integer_models"
746
+  (0.8ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
747
+  (1.1ms) DROP TABLE "forests"
748
+  (1.0ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
749
+  (1.5ms) DROP TABLE "trees"
750
+  (1.1ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f') 
751
+  (1.1ms) DROP TABLE "parks"
752
+  (0.9ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer) 
753
+  (0.5ms) SELECT version FROM "schema_migrations"
754
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20131210200622')
755
+  (0.0ms) begin transaction
756
+ SQL (3.9ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
757
+  (0.9ms) commit transaction
758
+  (0.0ms) begin transaction
759
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
760
+  (1.0ms) commit transaction
761
+  (0.0ms) begin transaction
762
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734782.787368 WHERE "integer_models"."id" = 2
763
+  (0.6ms) commit transaction
764
+  (0.0ms) begin transaction
765
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
766
+  (1.0ms) commit transaction
767
+  (0.0ms) begin transaction
768
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734782.796687 WHERE "integer_models"."id" = 3
769
+  (1.2ms) commit transaction
770
+  (0.0ms) begin transaction
771
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
772
+  (1.2ms) commit transaction
773
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models"
774
+  (0.0ms) begin transaction
775
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
776
+  (0.8ms) commit transaction
777
+  (0.0ms) begin transaction
778
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734782.804321 WHERE "integer_models"."id" = 5
779
+  (0.6ms) commit transaction
780
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 5
781
+  (0.0ms) begin transaction
782
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
783
+  (3.3ms) commit transaction
784
+  (0.1ms) begin transaction
785
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386734782.813121 WHERE "integer_models"."id" = 6
786
+  (0.6ms) commit transaction
787
+ SQL (1.4ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 6
788
+  (0.0ms) begin transaction
789
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
790
+  (1.4ms) commit transaction
791
+  (0.0ms) begin transaction
792
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734782.820735 WHERE "integer_models"."id" = 7
793
+  (1.0ms) commit transaction
794
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 7
795
+  (0.1ms) begin transaction
796
+ SQL (0.3ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
797
+  (0.8ms) commit transaction
798
+  (0.1ms) begin transaction
799
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734782.826676 WHERE "integer_models"."id" = 8
800
+  (1.1ms) commit transaction
801
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 8
802
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 8
803
+  (0.0ms) begin transaction
804
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
805
+  (1.1ms) commit transaction
806
+  (0.0ms) begin transaction
807
+ SQL (0.7ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 1], ["park_id", nil]]
808
+  (1.2ms) commit transaction
809
+  (0.0ms) begin transaction
810
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734782.844456 WHERE "trees"."id" = 1
811
+  (0.9ms) commit transaction
812
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 1 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
813
+  (0.0ms) begin transaction
814
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
815
+  (1.5ms) commit transaction
816
+  (0.0ms) begin transaction
817
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 2], ["park_id", nil]]
818
+  (1.4ms) commit transaction
819
+  (0.0ms) begin transaction
820
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734782.882195 WHERE "trees"."id" = 2
821
+  (1.0ms) commit transaction
822
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 2 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
823
+  (0.0ms) begin transaction
824
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
825
+  (1.5ms) commit transaction
826
+  (0.0ms) begin transaction
827
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734782.888737 WHERE "forests"."id" = 3
828
+  (1.0ms) commit transaction
829
+  (0.0ms) begin transaction
830
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 3], ["park_id", nil]]
831
+  (1.3ms) commit transaction
832
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 3 AND ("forests".deleted_at = 0) LIMIT 1
833
+  (0.0ms) begin transaction
834
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
835
+  (2.8ms) commit transaction
836
+  (0.1ms) begin transaction
837
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734782.899898 WHERE "forests"."id" = 4
838
+  (1.6ms) commit transaction
839
+  (0.0ms) begin transaction
840
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 4], ["park_id", nil]]
841
+  (1.4ms) commit transaction
842
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 4 AND ("forests".deleted_at = 0) LIMIT 1
843
+  (0.0ms) begin transaction
844
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
845
+  (1.0ms) commit transaction
846
+  (0.0ms) begin transaction
847
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
848
+  (1.1ms) commit transaction
849
+  (0.0ms) begin transaction
850
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734782.913125 WHERE "trees"."id" = 5
851
+  (1.2ms) commit transaction
852
+  (0.0ms) begin transaction
853
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
854
+  (1.4ms) commit transaction
855
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 5 AND ("trees".deleted_at = 0)
856
+  (0.1ms) begin transaction
857
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
858
+  (1.4ms) commit transaction
859
+  (0.0ms) begin transaction
860
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 6], ["park_id", nil]]
861
+  (1.3ms) commit transaction
862
+  (0.0ms) begin transaction
863
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734782.929908 WHERE "trees"."id" = 7
864
+  (1.0ms) commit transaction
865
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 6 AND ("trees".deleted_at = 0)
866
+  (0.0ms) begin transaction
867
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
868
+  (1.3ms) commit transaction
869
+  (0.0ms) begin transaction
870
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 1]]
871
+  (1.4ms) commit transaction
872
+  (0.0ms) begin transaction
873
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734782.941513 WHERE "trees"."id" = 8
874
+  (1.3ms) commit transaction
875
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 1 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
876
+  (0.0ms) begin transaction
877
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
878
+  (1.5ms) commit transaction
879
+  (0.0ms) begin transaction
880
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 2]]
881
+  (1.2ms) commit transaction
882
+  (0.0ms) begin transaction
883
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734782.94995 WHERE "trees"."id" = 9
884
+  (1.5ms) commit transaction
885
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 2 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
886
+  (0.0ms) begin transaction
887
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
888
+  (2.5ms) commit transaction
889
+  (0.1ms) begin transaction
890
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734782.957908 WHERE "forests"."id" = 7
891
+  (3.4ms) commit transaction
892
+  (0.0ms) begin transaction
893
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
894
+  (1.3ms) commit transaction
895
+  (0.0ms) begin transaction
896
+  (0.2ms) UPDATE "parks" SET "forest_id" = 7 WHERE "parks"."id" = 3
897
+  (1.1ms) commit transaction
898
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 3]]
899
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 7 AND ("forests".deleted_at = 0) LIMIT 1
900
+  (0.0ms) begin transaction
901
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
902
+  (1.9ms) commit transaction
903
+  (0.0ms) begin transaction
904
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734782.97268 WHERE "forests"."id" = 8
905
+  (2.2ms) commit transaction
906
+  (0.0ms) begin transaction
907
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
908
+  (2.0ms) commit transaction
909
+  (0.0ms) begin transaction
910
+  (0.2ms) UPDATE "parks" SET "forest_id" = 8 WHERE "parks"."id" = 4
911
+  (1.0ms) commit transaction
912
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 4]]
913
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 8 AND ("forests".deleted_at = 0) LIMIT 1
914
+  (0.0ms) begin transaction
915
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
916
+  (1.2ms) commit transaction
917
+  (0.0ms) begin transaction
918
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 5]]
919
+  (0.9ms) commit transaction
920
+  (0.0ms) begin transaction
921
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734782.988658 WHERE "trees"."id" = 10
922
+  (1.0ms) commit transaction
923
+  (0.0ms) begin transaction
924
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 5]]
925
+  (0.7ms) commit transaction
926
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 5 AND ("trees".deleted_at = 0)
927
+  (0.0ms) begin transaction
928
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
929
+  (1.0ms) commit transaction
930
+  (0.0ms) begin transaction
931
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 6]]
932
+  (0.9ms) commit transaction
933
+  (0.0ms) begin transaction
934
+ SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1386734782.998716 WHERE "trees"."id" = 12
935
+  (0.7ms) commit transaction
936
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 6 AND ("trees".deleted_at = 0)
937
+  (0.0ms) begin transaction
938
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
939
+  (0.6ms) commit transaction
940
+  (0.0ms) begin transaction
941
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.003424 WHERE "integer_models"."id" = 9
942
+  (0.8ms) commit transaction
943
+  (0.0ms) begin transaction
944
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7f8b1badd9e8,'0.0',9(18)>], ["integer_model_id", nil]]
945
+  (0.0ms) commit transaction
946
+  (0.0ms) begin transaction
947
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734783.00509 WHERE "decimal_models"."id" = 1
948
+  (0.0ms) commit transaction
949
+  (0.0ms) begin transaction
950
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
951
+  (0.0ms) commit transaction
952
+  (0.0ms) begin transaction
953
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.00509 WHERE "integer_models"."id" = 10
954
+  (0.0ms) commit transaction
955
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 1
956
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 10
957
+  (0.0ms) begin transaction
958
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
959
+  (1.3ms) commit transaction
960
+  (0.0ms) begin transaction
961
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.020701 WHERE "integer_models"."id" = 11
962
+  (1.1ms) commit transaction
963
+  (0.0ms) begin transaction
964
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7f8b1badd9e8,'0.0',9(18)>], ["integer_model_id", nil]]
965
+  (0.7ms) commit transaction
966
+  (0.0ms) begin transaction
967
+ SQL (0.4ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
968
+  (1.1ms) commit transaction
969
+  (0.1ms) begin transaction
970
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.027555 WHERE "integer_models"."id" = 12
971
+  (0.9ms) commit transaction
972
+  (0.1ms) begin transaction
973
+ SQL (0.3ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
974
+  (1.1ms) commit transaction
975
+  (0.0ms) begin transaction
976
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.032958 WHERE "integer_models"."id" = 13
977
+  (0.8ms) commit transaction
978
+  (0.0ms) begin transaction
979
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7f8b1badd9e8,'0.0',9(18)>], ["integer_model_id", nil]]
980
+  (0.0ms) commit transaction
981
+  (0.0ms) begin transaction
982
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734783.0 WHERE "decimal_models"."id" = 3
983
+  (0.0ms) commit transaction
984
+  (0.0ms) begin transaction
985
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
986
+  (0.0ms) commit transaction
987
+  (0.0ms) begin transaction
988
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.0 WHERE "integer_models"."id" = 14
989
+  (0.0ms) commit transaction
990
+  (0.0ms) begin transaction
991
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
992
+  (0.9ms) commit transaction
993
+  (0.1ms) begin transaction
994
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.044009 WHERE "integer_models"."id" = 15
995
+  (0.6ms) commit transaction
996
+  (0.0ms) begin transaction
997
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
998
+  (1.0ms) commit transaction
999
+  (0.0ms) begin transaction
1000
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.047894 WHERE "integer_models"."id" = 16
1001
+  (1.1ms) commit transaction
1002
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 16
1003
+  (0.0ms) begin transaction
1004
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1005
+  (0.8ms) commit transaction
1006
+  (0.0ms) begin transaction
1007
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.052837 WHERE "integer_models"."id" = 17
1008
+  (0.8ms) commit transaction
1009
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 17
1010
+  (0.4ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 17
1011
+  (0.0ms) begin transaction
1012
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1013
+  (0.7ms) commit transaction
1014
+  (0.0ms) begin transaction
1015
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 18]]
1016
+  (0.6ms) commit transaction
1017
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 18
1018
+  (0.0ms) begin transaction
1019
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1020
+  (0.7ms) commit transaction
1021
+  (0.0ms) begin transaction
1022
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 19]]
1023
+  (0.7ms) commit transaction
1024
+  (0.0ms) begin transaction
1025
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1026
+  (1.1ms) commit transaction
1027
+  (0.1ms) begin transaction
1028
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.065119 WHERE "integer_models"."id" = 20
1029
+  (0.8ms) commit transaction
1030
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1031
+  (0.0ms) begin transaction
1032
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1033
+  (0.9ms) commit transaction
1034
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1035
+  (0.0ms) begin transaction
1036
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1037
+  (1.0ms) commit transaction
1038
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.071885 WHERE "integer_models"."id" = 22
1039
+  (0.0ms) begin transaction
1040
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7f8b1badd9e8,'0.0',9(18)>], ["integer_model_id", nil]]
1041
+  (0.0ms) commit transaction
1042
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734783.07324 WHERE "decimal_models"."id" = 4
1043
+  (0.0ms) begin transaction
1044
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1045
+  (0.0ms) commit transaction
1046
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.07324 WHERE "integer_models"."id" = 23
1047
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 4
1048
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 23
1049
+  (0.0ms) begin transaction
1050
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1051
+  (1.1ms) commit transaction
1052
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.082409 WHERE "integer_models"."id" = 24
1053
+  (0.0ms) begin transaction
1054
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7f8b1badd9e8,'0.0',9(18)>], ["integer_model_id", nil]]
1055
+  (0.7ms) commit transaction
1056
+  (0.0ms) begin transaction
1057
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1058
+  (1.1ms) commit transaction
1059
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.087933 WHERE "integer_models"."id" = 25
1060
+  (0.0ms) begin transaction
1061
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1062
+  (0.7ms) commit transaction
1063
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.09144 WHERE "integer_models"."id" = 26
1064
+  (0.0ms) begin transaction
1065
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7f8b1badd9e8,'0.0',9(18)>], ["integer_model_id", nil]]
1066
+  (0.0ms) commit transaction
1067
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734783.0 WHERE "decimal_models"."id" = 6
1068
+  (0.0ms) begin transaction
1069
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1070
+  (0.0ms) commit transaction
1071
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.0 WHERE "integer_models"."id" = 27
1072
+  (0.0ms) begin transaction
1073
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1074
+  (0.8ms) commit transaction
1075
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.101778 WHERE "integer_models"."id" = 28
1076
+  (0.0ms) begin transaction
1077
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1078
+  (1.0ms) commit transaction
1079
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.105622 WHERE "integer_models"."id" = 29
1080
+ SQL (1.0ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 29
1081
+  (0.0ms) begin transaction
1082
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1083
+  (1.1ms) commit transaction
1084
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734783.110584 WHERE "integer_models"."id" = 30
1085
+ SQL (1.0ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 30
1086
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 30
1087
+  (0.0ms) begin transaction
1088
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1089
+  (0.6ms) commit transaction
1090
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 31 AND ("integer_models".deleted_at = 0)
1091
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 31
1092
+  (0.0ms) begin transaction
1093
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1094
+  (0.9ms) commit transaction
1095
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 32 AND ("integer_models".deleted_at = 0)
1096
+ Connecting to database specified by database.yml
1097
+  (1.2ms) select sqlite_version(*)
1098
+  (1.7ms) DROP TABLE "decimal_models"
1099
+  (1.0ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer) 
1100
+  (1.7ms) DROP TABLE "integer_models"
1101
+  (1.2ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
1102
+  (1.7ms) DROP TABLE "forests"
1103
+  (0.7ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
1104
+  (1.4ms) DROP TABLE "trees"
1105
+  (0.9ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f') 
1106
+  (1.4ms) DROP TABLE "parks"
1107
+  (1.2ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer) 
1108
+  (0.3ms) SELECT version FROM "schema_migrations"
1109
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20131210200648')
1110
+  (0.0ms) begin transaction
1111
+ SQL (3.3ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1112
+  (1.2ms) commit transaction
1113
+  (0.0ms) begin transaction
1114
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1115
+  (1.1ms) commit transaction
1116
+  (0.0ms) begin transaction
1117
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.030431 WHERE "integer_models"."id" = 2
1118
+  (0.9ms) commit transaction
1119
+  (0.0ms) begin transaction
1120
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1121
+  (1.0ms) commit transaction
1122
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.039506 WHERE "integer_models"."id" = 3
1123
+  (0.0ms) begin transaction
1124
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1125
+  (1.0ms) commit transaction
1126
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.042766 WHERE "integer_models"."id" = 4
1127
+  (0.0ms) begin transaction
1128
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7ff2dd3d8a60,'0.0',9(18)>], ["integer_model_id", nil]]
1129
+  (0.0ms) commit transaction
1130
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734809.0 WHERE "decimal_models"."id" = 1
1131
+  (0.0ms) begin transaction
1132
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1133
+  (0.0ms) commit transaction
1134
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.0 WHERE "integer_models"."id" = 5
1135
+  (0.0ms) begin transaction
1136
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1137
+  (1.0ms) commit transaction
1138
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.057578 WHERE "integer_models"."id" = 6
1139
+  (0.0ms) begin transaction
1140
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1141
+  (1.1ms) commit transaction
1142
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.061303 WHERE "integer_models"."id" = 7
1143
+  (0.0ms) begin transaction
1144
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7ff2dd3d8a60,'0.0',9(18)>], ["integer_model_id", nil]]
1145
+  (0.8ms) commit transaction
1146
+  (0.0ms) begin transaction
1147
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1148
+  (0.8ms) commit transaction
1149
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.066435 WHERE "integer_models"."id" = 8
1150
+  (0.0ms) begin transaction
1151
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7ff2dd3d8a60,'0.0',9(18)>], ["integer_model_id", nil]]
1152
+  (0.0ms) commit transaction
1153
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734809.068001 WHERE "decimal_models"."id" = 3
1154
+  (0.0ms) begin transaction
1155
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1156
+  (0.0ms) commit transaction
1157
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.068001 WHERE "integer_models"."id" = 9
1158
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 3
1159
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 9
1160
+  (0.0ms) begin transaction
1161
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1162
+  (1.0ms) commit transaction
1163
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.077316 WHERE "integer_models"."id" = 10
1164
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 10
1165
+  (0.0ms) begin transaction
1166
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1167
+  (1.1ms) commit transaction
1168
+ SQL (1.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.08216 WHERE "integer_models"."id" = 11
1169
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 11
1170
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 11
1171
+  (0.0ms) begin transaction
1172
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1173
+  (1.0ms) commit transaction
1174
+ SQL (1.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 12 AND ("integer_models".deleted_at = 0)
1175
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 12
1176
+  (0.0ms) begin transaction
1177
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1178
+  (1.0ms) commit transaction
1179
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 13 AND ("integer_models".deleted_at = 0)
1180
+  (0.0ms) begin transaction
1181
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1182
+  (1.1ms) commit transaction
1183
+  (0.0ms) begin transaction
1184
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.094574 WHERE "integer_models"."id" = 14
1185
+  (1.1ms) commit transaction
1186
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1187
+  (0.0ms) begin transaction
1188
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1189
+  (0.7ms) commit transaction
1190
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1191
+  (0.0ms) begin transaction
1192
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1193
+  (0.8ms) commit transaction
1194
+  (0.0ms) begin transaction
1195
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.102545 WHERE "integer_models"."id" = 16
1196
+  (0.8ms) commit transaction
1197
+  (0.0ms) begin transaction
1198
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1199
+  (1.0ms) commit transaction
1200
+  (0.0ms) begin transaction
1201
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.106354 WHERE "integer_models"."id" = 17
1202
+  (1.2ms) commit transaction
1203
+  (0.0ms) begin transaction
1204
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7ff2dd3d8a60,'0.0',9(18)>], ["integer_model_id", nil]]
1205
+  (0.0ms) commit transaction
1206
+  (0.0ms) begin transaction
1207
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734809.0 WHERE "decimal_models"."id" = 4
1208
+  (0.0ms) commit transaction
1209
+  (0.0ms) begin transaction
1210
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1211
+  (0.0ms) commit transaction
1212
+  (0.0ms) begin transaction
1213
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.0 WHERE "integer_models"."id" = 18
1214
+  (0.0ms) commit transaction
1215
+  (0.0ms) begin transaction
1216
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1217
+  (0.9ms) commit transaction
1218
+  (0.0ms) begin transaction
1219
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.118636 WHERE "integer_models"."id" = 19
1220
+  (0.9ms) commit transaction
1221
+  (0.0ms) begin transaction
1222
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1223
+  (1.0ms) commit transaction
1224
+  (0.0ms) begin transaction
1225
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.122746 WHERE "integer_models"."id" = 20
1226
+  (0.8ms) commit transaction
1227
+  (0.0ms) begin transaction
1228
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7ff2dd3d8a60,'0.0',9(18)>], ["integer_model_id", nil]]
1229
+  (0.9ms) commit transaction
1230
+  (0.0ms) begin transaction
1231
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1232
+  (1.2ms) commit transaction
1233
+  (0.0ms) begin transaction
1234
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.128626 WHERE "integer_models"."id" = 21
1235
+  (1.4ms) commit transaction
1236
+  (0.0ms) begin transaction
1237
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7ff2dd3d8a60,'0.0',9(18)>], ["integer_model_id", nil]]
1238
+  (0.0ms) commit transaction
1239
+  (0.0ms) begin transaction
1240
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734809.130817 WHERE "decimal_models"."id" = 6
1241
+  (0.0ms) commit transaction
1242
+  (0.0ms) begin transaction
1243
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1244
+  (0.0ms) commit transaction
1245
+  (0.0ms) begin transaction
1246
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.130817 WHERE "integer_models"."id" = 22
1247
+  (0.0ms) commit transaction
1248
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 6
1249
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 22
1250
+  (0.0ms) begin transaction
1251
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1252
+  (1.0ms) commit transaction
1253
+  (0.0ms) begin transaction
1254
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.140775 WHERE "integer_models"."id" = 23
1255
+  (1.1ms) commit transaction
1256
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 23
1257
+  (0.0ms) begin transaction
1258
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1259
+  (1.0ms) commit transaction
1260
+  (0.0ms) begin transaction
1261
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.146083 WHERE "integer_models"."id" = 24
1262
+  (1.1ms) commit transaction
1263
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 24
1264
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 24
1265
+  (0.0ms) begin transaction
1266
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1267
+  (1.0ms) commit transaction
1268
+  (0.0ms) begin transaction
1269
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 25]]
1270
+  (0.8ms) commit transaction
1271
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 25
1272
+  (0.0ms) begin transaction
1273
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1274
+  (0.9ms) commit transaction
1275
+  (0.0ms) begin transaction
1276
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 26]]
1277
+  (0.8ms) commit transaction
1278
+  (0.0ms) begin transaction
1279
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1280
+  (1.0ms) commit transaction
1281
+  (0.0ms) begin transaction
1282
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.158971 WHERE "integer_models"."id" = 27
1283
+  (1.1ms) commit transaction
1284
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 27
1285
+  (0.0ms) begin transaction
1286
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1287
+  (1.1ms) commit transaction
1288
+  (0.0ms) begin transaction
1289
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.164671 WHERE "integer_models"."id" = 28
1290
+  (0.5ms) commit transaction
1291
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 28
1292
+  (0.0ms) begin transaction
1293
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1294
+  (1.1ms) commit transaction
1295
+  (0.0ms) begin transaction
1296
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.168944 WHERE "integer_models"."id" = 29
1297
+  (1.0ms) commit transaction
1298
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 29
1299
+  (0.0ms) begin transaction
1300
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1301
+  (1.0ms) commit transaction
1302
+  (0.0ms) begin transaction
1303
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734809.17487 WHERE "integer_models"."id" = 30
1304
+  (0.5ms) commit transaction
1305
+ SQL (1.0ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 30
1306
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 30
1307
+  (0.0ms) begin transaction
1308
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1309
+  (1.2ms) commit transaction
1310
+  (0.1ms) begin transaction
1311
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 1], ["park_id", nil]]
1312
+  (1.3ms) commit transaction
1313
+  (0.0ms) begin transaction
1314
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734809.215192 WHERE "trees"."id" = 1
1315
+  (0.9ms) commit transaction
1316
+ Tree Load (0.3ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0)
1317
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0)
1318
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 1 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1319
+  (0.1ms) begin transaction
1320
+ SQL (0.4ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1321
+  (0.9ms) commit transaction
1322
+  (0.1ms) begin transaction
1323
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 2], ["park_id", nil]]
1324
+  (1.0ms) commit transaction
1325
+  (0.0ms) begin transaction
1326
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734837.852868 WHERE "trees"."id" = 2
1327
+  (0.8ms) commit transaction
1328
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 2 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1329
+  (0.1ms) begin transaction
1330
+ SQL (0.4ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1331
+  (2.1ms) commit transaction
1332
+  (0.1ms) begin transaction
1333
+ SQL (0.3ms) UPDATE "forests" SET "deleted_at" = 1386734842.107504 WHERE "forests"."id" = 3
1334
+  (0.9ms) commit transaction
1335
+  (0.0ms) begin transaction
1336
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 3], ["park_id", nil]]
1337
+  (0.7ms) commit transaction
1338
+ Forest Load (0.4ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 3 AND ("forests".deleted_at = 0) LIMIT 1
1339
+  (0.1ms) begin transaction
1340
+ SQL (0.4ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1341
+  (2.1ms) commit transaction
1342
+  (0.1ms) begin transaction
1343
+ SQL (0.3ms) UPDATE "forests" SET "deleted_at" = 1386734843.074383 WHERE "forests"."id" = 4
1344
+  (1.0ms) commit transaction
1345
+  (0.0ms) begin transaction
1346
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 4], ["park_id", nil]]
1347
+  (1.0ms) commit transaction
1348
+ Forest Load (0.4ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 4 AND ("forests".deleted_at = 0) LIMIT 1
1349
+  (0.1ms) begin transaction
1350
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1351
+  (2.4ms) commit transaction
1352
+  (0.1ms) begin transaction
1353
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
1354
+  (0.9ms) commit transaction
1355
+  (0.1ms) begin transaction
1356
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734843.337923 WHERE "trees"."id" = 5
1357
+  (0.9ms) commit transaction
1358
+  (0.0ms) begin transaction
1359
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
1360
+  (0.7ms) commit transaction
1361
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 5 AND ("trees".deleted_at = 0)
1362
+  (0.1ms) begin transaction
1363
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1364
+  (2.3ms) commit transaction
1365
+  (0.1ms) begin transaction
1366
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 6], ["park_id", nil]]
1367
+  (1.0ms) commit transaction
1368
+  (0.0ms) begin transaction
1369
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734843.769658 WHERE "trees"."id" = 7
1370
+  (0.7ms) commit transaction
1371
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 6 AND ("trees".deleted_at = 0)
1372
+  (0.1ms) begin transaction
1373
+ SQL (0.3ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1374
+  (2.1ms) commit transaction
1375
+  (0.1ms) begin transaction
1376
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 1]]
1377
+  (1.1ms) commit transaction
1378
+  (0.0ms) begin transaction
1379
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734844.027298 WHERE "trees"."id" = 8
1380
+  (1.0ms) commit transaction
1381
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 1 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1382
+  (0.1ms) begin transaction
1383
+ SQL (0.3ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1384
+  (0.9ms) commit transaction
1385
+  (0.1ms) begin transaction
1386
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 2]]
1387
+  (1.0ms) commit transaction
1388
+  (0.0ms) begin transaction
1389
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734844.268395 WHERE "trees"."id" = 9
1390
+  (0.9ms) commit transaction
1391
+ Connecting to database specified by database.yml
1392
+  (1.2ms) select sqlite_version(*)
1393
+  (1.1ms) DROP TABLE "decimal_models"
1394
+  (1.0ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer) 
1395
+  (1.4ms) DROP TABLE "integer_models"
1396
+  (0.9ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
1397
+  (1.4ms) DROP TABLE "forests"
1398
+  (1.1ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
1399
+  (1.1ms) DROP TABLE "trees"
1400
+  (1.1ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f') 
1401
+  (1.4ms) DROP TABLE "parks"
1402
+  (0.9ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer) 
1403
+  (0.1ms) SELECT version FROM "schema_migrations"
1404
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20131210200736')
1405
+  (0.0ms) begin transaction
1406
+ SQL (2.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1407
+  (1.0ms) commit transaction
1408
+  (0.0ms) begin transaction
1409
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734856.955487 WHERE "integer_models"."id" = 1
1410
+  (0.8ms) commit transaction
1411
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 1
1412
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 1
1413
+  (0.0ms) begin transaction
1414
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1415
+  (1.0ms) commit transaction
1416
+  (0.0ms) begin transaction
1417
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734856.966444 WHERE "integer_models"."id" = 2
1418
+  (0.7ms) commit transaction
1419
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 2
1420
+  (0.0ms) begin transaction
1421
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1422
+  (1.0ms) commit transaction
1423
+  (0.0ms) begin transaction
1424
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734856.971 WHERE "integer_models"."id" = 3
1425
+  (0.7ms) commit transaction
1426
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 3
1427
+  (0.0ms) begin transaction
1428
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1429
+  (0.9ms) commit transaction
1430
+  (0.0ms) begin transaction
1431
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734856.975563 WHERE "integer_models"."id" = 4
1432
+  (0.8ms) commit transaction
1433
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 4
1434
+  (0.0ms) begin transaction
1435
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1436
+  (1.0ms) commit transaction
1437
+  (0.0ms) begin transaction
1438
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734856.982298 WHERE "integer_models"."id" = 5
1439
+  (0.8ms) commit transaction
1440
+  (0.0ms) begin transaction
1441
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1442
+  (0.8ms) commit transaction
1443
+  (0.0ms) begin transaction
1444
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1445
+  (1.0ms) commit transaction
1446
+  (0.0ms) begin transaction
1447
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734856.988428 WHERE "integer_models"."id" = 7
1448
+  (0.7ms) commit transaction
1449
+  (0.0ms) begin transaction
1450
+ SQL (0.2ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fbe667bc6a0,'0.0',9(18)>], ["integer_model_id", nil]]
1451
+  (0.8ms) commit transaction
1452
+  (0.0ms) begin transaction
1453
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1454
+  (0.6ms) commit transaction
1455
+  (0.0ms) begin transaction
1456
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734856.997185 WHERE "integer_models"."id" = 8
1457
+  (0.6ms) commit transaction
1458
+  (0.0ms) begin transaction
1459
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1460
+  (0.6ms) commit transaction
1461
+  (0.0ms) begin transaction
1462
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.000384 WHERE "integer_models"."id" = 9
1463
+  (0.5ms) commit transaction
1464
+  (0.0ms) begin transaction
1465
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fbe667bc6a0,'0.0',9(18)>], ["integer_model_id", nil]]
1466
+  (0.0ms) commit transaction
1467
+  (0.0ms) begin transaction
1468
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734857.0 WHERE "decimal_models"."id" = 2
1469
+  (0.0ms) commit transaction
1470
+  (0.0ms) begin transaction
1471
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1472
+  (0.0ms) commit transaction
1473
+  (0.0ms) begin transaction
1474
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.0 WHERE "integer_models"."id" = 10
1475
+  (0.0ms) commit transaction
1476
+  (0.0ms) begin transaction
1477
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1478
+  (0.7ms) commit transaction
1479
+  (0.0ms) begin transaction
1480
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.011749 WHERE "integer_models"."id" = 11
1481
+  (1.1ms) commit transaction
1482
+  (0.0ms) begin transaction
1483
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1484
+  (1.0ms) commit transaction
1485
+  (0.0ms) begin transaction
1486
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.015932 WHERE "integer_models"."id" = 12
1487
+  (1.1ms) commit transaction
1488
+  (0.0ms) begin transaction
1489
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fbe667bc6a0,'0.0',9(18)>], ["integer_model_id", nil]]
1490
+  (0.0ms) commit transaction
1491
+  (0.0ms) begin transaction
1492
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734857.017904 WHERE "decimal_models"."id" = 3
1493
+  (0.0ms) commit transaction
1494
+  (0.0ms) begin transaction
1495
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1496
+  (0.0ms) commit transaction
1497
+  (0.0ms) begin transaction
1498
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.017904 WHERE "integer_models"."id" = 13
1499
+  (0.0ms) commit transaction
1500
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 3
1501
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 13
1502
+  (0.0ms) begin transaction
1503
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1504
+  (1.0ms) commit transaction
1505
+  (0.0ms) begin transaction
1506
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 14]]
1507
+  (1.1ms) commit transaction
1508
+  (0.0ms) begin transaction
1509
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1510
+  (0.8ms) commit transaction
1511
+  (0.0ms) begin transaction
1512
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 15]]
1513
+  (1.1ms) commit transaction
1514
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 15
1515
+  (0.0ms) begin transaction
1516
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1517
+  (1.0ms) commit transaction
1518
+  (0.0ms) begin transaction
1519
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.035503 WHERE "integer_models"."id" = 16
1520
+  (1.1ms) commit transaction
1521
+ SQL (0.9ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 16
1522
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 16
1523
+  (0.0ms) begin transaction
1524
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1525
+  (1.0ms) commit transaction
1526
+  (0.0ms) begin transaction
1527
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.040797 WHERE "integer_models"."id" = 17
1528
+  (0.5ms) commit transaction
1529
+ SQL (1.0ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 17
1530
+  (0.0ms) begin transaction
1531
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1532
+  (1.0ms) commit transaction
1533
+  (0.0ms) begin transaction
1534
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.045589 WHERE "integer_models"."id" = 18
1535
+  (1.1ms) commit transaction
1536
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1537
+  (0.0ms) begin transaction
1538
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1539
+  (0.7ms) commit transaction
1540
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1541
+  (0.0ms) begin transaction
1542
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1543
+  (0.7ms) commit transaction
1544
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.053291 WHERE "integer_models"."id" = 20
1545
+  (0.0ms) begin transaction
1546
+ SQL (0.2ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fbe667bc6a0,'0.0',9(18)>], ["integer_model_id", nil]]
1547
+  (0.9ms) commit transaction
1548
+  (0.0ms) begin transaction
1549
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1550
+  (1.0ms) commit transaction
1551
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.059012 WHERE "integer_models"."id" = 21
1552
+  (0.0ms) begin transaction
1553
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1554
+  (1.0ms) commit transaction
1555
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.062706 WHERE "integer_models"."id" = 22
1556
+  (0.0ms) begin transaction
1557
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fbe667bc6a0,'0.0',9(18)>], ["integer_model_id", nil]]
1558
+  (0.0ms) commit transaction
1559
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734857.0 WHERE "decimal_models"."id" = 5
1560
+  (0.0ms) begin transaction
1561
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1562
+  (0.0ms) commit transaction
1563
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.0 WHERE "integer_models"."id" = 23
1564
+  (0.0ms) begin transaction
1565
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1566
+  (0.8ms) commit transaction
1567
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.072742 WHERE "integer_models"."id" = 24
1568
+  (0.0ms) begin transaction
1569
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1570
+  (1.0ms) commit transaction
1571
+ SQL (1.3ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.076705 WHERE "integer_models"."id" = 25
1572
+  (0.0ms) begin transaction
1573
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fbe667bc6a0,'0.0',9(18)>], ["integer_model_id", nil]]
1574
+  (0.0ms) commit transaction
1575
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734857.078519 WHERE "decimal_models"."id" = 6
1576
+  (0.0ms) begin transaction
1577
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1578
+  (0.0ms) commit transaction
1579
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.078519 WHERE "integer_models"."id" = 26
1580
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 6
1581
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 26
1582
+  (0.0ms) begin transaction
1583
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1584
+  (1.1ms) commit transaction
1585
+ SQL (1.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 27 AND ("integer_models".deleted_at = 0)
1586
+  (0.0ms) begin transaction
1587
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1588
+  (1.0ms) commit transaction
1589
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 28 AND ("integer_models".deleted_at = 0)
1590
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 28
1591
+  (0.0ms) begin transaction
1592
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1593
+  (0.7ms) commit transaction
1594
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.120269 WHERE "integer_models"."id" = 29
1595
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 29
1596
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 29
1597
+  (0.0ms) begin transaction
1598
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1599
+  (1.0ms) commit transaction
1600
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734857.125048 WHERE "integer_models"."id" = 30
1601
+ SQL (0.9ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 30
1602
+  (0.0ms) begin transaction
1603
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1604
+  (1.1ms) commit transaction
1605
+  (0.0ms) begin transaction
1606
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 1]]
1607
+  (1.1ms) commit transaction
1608
+  (0.0ms) begin transaction
1609
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734857.142103 WHERE "trees"."id" = 1
1610
+  (0.9ms) commit transaction
1611
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0)
1612
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 1 AND ("trees".deleted_at = 0)
1613
+  (0.1ms) begin transaction
1614
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1615
+  (1.1ms) commit transaction
1616
+  (0.0ms) begin transaction
1617
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 2]]
1618
+  (1.0ms) commit transaction
1619
+  (0.0ms) begin transaction
1620
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734895.431444 WHERE "trees"."id" = 2
1621
+  (0.9ms) commit transaction
1622
+  (0.0ms) begin transaction
1623
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 2]]
1624
+  (1.0ms) commit transaction
1625
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 2 AND ("trees".deleted_at = 0)
1626
+  (0.1ms) begin transaction
1627
+ SQL (0.3ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1628
+  (2.3ms) commit transaction
1629
+  (0.1ms) begin transaction
1630
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 3]]
1631
+  (1.0ms) commit transaction
1632
+  (0.1ms) begin transaction
1633
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734896.327624 WHERE "trees"."id" = 4
1634
+  (1.1ms) commit transaction
1635
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 3 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1636
+  (0.1ms) begin transaction
1637
+ SQL (0.3ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1638
+  (2.0ms) commit transaction
1639
+  (0.1ms) begin transaction
1640
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 4]]
1641
+  (1.0ms) commit transaction
1642
+  (0.0ms) begin transaction
1643
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734896.787468 WHERE "trees"."id" = 5
1644
+  (0.9ms) commit transaction
1645
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 4 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1646
+  (0.1ms) begin transaction
1647
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1648
+  (2.1ms) commit transaction
1649
+  (0.1ms) begin transaction
1650
+ SQL (0.3ms) UPDATE "forests" SET "deleted_at" = 1386734897.182841 WHERE "forests"."id" = 1
1651
+  (0.9ms) commit transaction
1652
+  (0.1ms) begin transaction
1653
+ SQL (0.3ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1654
+  (1.1ms) commit transaction
1655
+  (0.1ms) begin transaction
1656
+  (0.3ms) UPDATE "parks" SET "forest_id" = 1 WHERE "parks"."id" = 5
1657
+  (0.6ms) commit transaction
1658
+ Park Load (0.2ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 5]]
1659
+ Forest Load (0.3ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 1 AND ("forests".deleted_at = 0) LIMIT 1
1660
+  (0.1ms) begin transaction
1661
+ SQL (0.4ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1662
+  (1.9ms) commit transaction
1663
+  (0.1ms) begin transaction
1664
+ SQL (0.3ms) UPDATE "forests" SET "deleted_at" = 1386734897.464513 WHERE "forests"."id" = 2
1665
+  (0.8ms) commit transaction
1666
+  (0.1ms) begin transaction
1667
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1668
+  (1.1ms) commit transaction
1669
+  (0.1ms) begin transaction
1670
+  (0.2ms) UPDATE "parks" SET "forest_id" = 2 WHERE "parks"."id" = 6
1671
+  (0.8ms) commit transaction
1672
+ Park Load (0.2ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 6]]
1673
+ Forest Load (0.3ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 2 AND ("forests".deleted_at = 0) LIMIT 1
1674
+  (0.1ms) begin transaction
1675
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1676
+  (2.3ms) commit transaction
1677
+  (0.1ms) begin transaction
1678
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 3], ["park_id", nil]]
1679
+  (1.0ms) commit transaction
1680
+  (0.0ms) begin transaction
1681
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734897.696567 WHERE "trees"."id" = 6
1682
+  (0.9ms) commit transaction
1683
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 3 AND ("trees".deleted_at = 0)
1684
+  (0.1ms) begin transaction
1685
+ SQL (0.4ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1686
+  (2.0ms) commit transaction
1687
+  (0.1ms) begin transaction
1688
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 4], ["park_id", nil]]
1689
+  (1.3ms) commit transaction
1690
+  (0.0ms) begin transaction
1691
+ SQL (0.5ms) UPDATE "trees" SET "deleted_at" = 1386734897.917408 WHERE "trees"."id" = 7
1692
+  (0.7ms) commit transaction
1693
+  (0.1ms) begin transaction
1694
+ SQL (0.4ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 4], ["park_id", nil]]
1695
+  (1.1ms) commit transaction
1696
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 4 AND ("trees".deleted_at = 0)
1697
+  (0.1ms) begin transaction
1698
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1699
+  (2.3ms) commit transaction
1700
+  (0.1ms) begin transaction
1701
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
1702
+  (1.0ms) commit transaction
1703
+  (0.0ms) begin transaction
1704
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734898.14361 WHERE "trees"."id" = 9
1705
+  (0.9ms) commit transaction
1706
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 5 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1707
+  (0.1ms) begin transaction
1708
+ SQL (0.4ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1709
+  (2.1ms) commit transaction
1710
+  (0.1ms) begin transaction
1711
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 6], ["park_id", nil]]
1712
+  (1.0ms) commit transaction
1713
+  (0.1ms) begin transaction
1714
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734898.364351 WHERE "trees"."id" = 10
1715
+  (0.9ms) commit transaction
1716
+ Connecting to database specified by database.yml
1717
+  (1.2ms) select sqlite_version(*)
1718
+  (1.0ms) DROP TABLE "decimal_models"
1719
+  (0.9ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer) 
1720
+  (1.0ms) DROP TABLE "integer_models"
1721
+  (0.9ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
1722
+  (1.0ms) DROP TABLE "forests"
1723
+  (0.9ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
1724
+  (1.0ms) DROP TABLE "trees"
1725
+  (1.4ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f') 
1726
+  (1.4ms) DROP TABLE "parks"
1727
+  (1.2ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer) 
1728
+  (0.1ms) SELECT version FROM "schema_migrations"
1729
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20131210200833')
1730
+  (0.0ms) begin transaction
1731
+ SQL (1.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1732
+  (1.0ms) commit transaction
1733
+  (0.0ms) begin transaction
1734
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1735
+  (1.0ms) commit transaction
1736
+  (0.0ms) begin transaction
1737
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.730868 WHERE "integer_models"."id" = 2
1738
+  (0.7ms) commit transaction
1739
+  (0.0ms) begin transaction
1740
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1741
+  (1.1ms) commit transaction
1742
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.739973 WHERE "integer_models"."id" = 3
1743
+  (0.0ms) begin transaction
1744
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1745
+  (1.0ms) commit transaction
1746
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.743524 WHERE "integer_models"."id" = 4
1747
+  (0.0ms) begin transaction
1748
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fdf7f2a1000,'0.0',9(18)>], ["integer_model_id", nil]]
1749
+  (0.0ms) commit transaction
1750
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734913.745193 WHERE "decimal_models"."id" = 1
1751
+  (0.0ms) begin transaction
1752
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1753
+  (0.0ms) commit transaction
1754
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.745193 WHERE "integer_models"."id" = 5
1755
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 1
1756
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 5
1757
+  (0.0ms) begin transaction
1758
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1759
+  (1.0ms) commit transaction
1760
+ SQL (1.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.758496 WHERE "integer_models"."id" = 6
1761
+  (0.0ms) begin transaction
1762
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1763
+  (1.2ms) commit transaction
1764
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.76229 WHERE "integer_models"."id" = 7
1765
+  (0.0ms) begin transaction
1766
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1767
+  (1.1ms) commit transaction
1768
+ SQL (1.3ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.766085 WHERE "integer_models"."id" = 8
1769
+  (0.0ms) begin transaction
1770
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fdf7f2a1000,'0.0',9(18)>], ["integer_model_id", nil]]
1771
+  (0.9ms) commit transaction
1772
+  (0.0ms) begin transaction
1773
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fdf7f2a1000,'0.0',9(18)>], ["integer_model_id", nil]]
1774
+  (0.0ms) commit transaction
1775
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734914.0 WHERE "decimal_models"."id" = 3
1776
+  (0.0ms) begin transaction
1777
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1778
+  (0.0ms) commit transaction
1779
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734914.0 WHERE "integer_models"."id" = 9
1780
+  (0.0ms) begin transaction
1781
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1782
+  (1.1ms) commit transaction
1783
+ SQL (1.3ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.781664 WHERE "integer_models"."id" = 10
1784
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 10
1785
+  (0.1ms) begin transaction
1786
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1787
+  (1.0ms) commit transaction
1788
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.787057 WHERE "integer_models"."id" = 11
1789
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 11
1790
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 11
1791
+  (0.0ms) begin transaction
1792
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1793
+  (1.1ms) commit transaction
1794
+ SQL (1.3ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 12 AND ("integer_models".deleted_at = 0)
1795
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 12
1796
+  (0.0ms) begin transaction
1797
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1798
+  (1.0ms) commit transaction
1799
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 13 AND ("integer_models".deleted_at = 0)
1800
+  (0.0ms) begin transaction
1801
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1802
+  (0.7ms) commit transaction
1803
+  (0.0ms) begin transaction
1804
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.79951 WHERE "integer_models"."id" = 14
1805
+  (0.8ms) commit transaction
1806
+  (0.0ms) begin transaction
1807
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1808
+  (1.0ms) commit transaction
1809
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" 
1810
+  (0.0ms) begin transaction
1811
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1812
+  (1.0ms) commit transaction
1813
+  (0.1ms) begin transaction
1814
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.807386 WHERE "integer_models"."id" = 16
1815
+  (0.7ms) commit transaction
1816
+  (0.0ms) begin transaction
1817
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1818
+  (0.8ms) commit transaction
1819
+  (0.0ms) begin transaction
1820
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.810991 WHERE "integer_models"."id" = 17
1821
+  (0.8ms) commit transaction
1822
+  (0.0ms) begin transaction
1823
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fdf7f2a1000,'0.0',9(18)>], ["integer_model_id", nil]]
1824
+  (0.0ms) commit transaction
1825
+  (0.0ms) begin transaction
1826
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734913.8128 WHERE "decimal_models"."id" = 4
1827
+  (0.0ms) commit transaction
1828
+  (0.0ms) begin transaction
1829
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1830
+  (0.0ms) commit transaction
1831
+  (0.0ms) begin transaction
1832
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.8128 WHERE "integer_models"."id" = 18
1833
+  (0.0ms) commit transaction
1834
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 4
1835
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 18
1836
+  (0.0ms) begin transaction
1837
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1838
+  (1.1ms) commit transaction
1839
+  (0.0ms) begin transaction
1840
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.822673 WHERE "integer_models"."id" = 19
1841
+  (0.7ms) commit transaction
1842
+  (0.0ms) begin transaction
1843
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1844
+  (1.0ms) commit transaction
1845
+  (0.0ms) begin transaction
1846
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.826241 WHERE "integer_models"."id" = 20
1847
+  (1.0ms) commit transaction
1848
+  (0.0ms) begin transaction
1849
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1850
+  (1.1ms) commit transaction
1851
+  (0.0ms) begin transaction
1852
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.830326 WHERE "integer_models"."id" = 21
1853
+  (1.2ms) commit transaction
1854
+  (0.0ms) begin transaction
1855
+ SQL (0.1ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fdf7f2a1000,'0.0',9(18)>], ["integer_model_id", nil]]
1856
+  (0.8ms) commit transaction
1857
+  (0.0ms) begin transaction
1858
+ SQL (0.0ms) INSERT INTO "decimal_models" ("deleted_at", "integer_model_id") VALUES (?, ?) [["deleted_at", #<BigDecimal:7fdf7f2a1000,'0.0',9(18)>], ["integer_model_id", nil]]
1859
+  (0.0ms) commit transaction
1860
+  (0.0ms) begin transaction
1861
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1386734914.0 WHERE "decimal_models"."id" = 6
1862
+  (0.0ms) commit transaction
1863
+  (0.0ms) begin transaction
1864
+ SQL (0.0ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1865
+  (0.0ms) commit transaction
1866
+  (0.0ms) begin transaction
1867
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1386734914.0 WHERE "integer_models"."id" = 22
1868
+  (0.0ms) commit transaction
1869
+  (0.0ms) begin transaction
1870
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1871
+  (1.0ms) commit transaction
1872
+  (0.0ms) begin transaction
1873
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.84385 WHERE "integer_models"."id" = 23
1874
+  (0.5ms) commit transaction
1875
+ SQL (0.9ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 23
1876
+  (0.1ms) begin transaction
1877
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1878
+  (1.1ms) commit transaction
1879
+  (0.0ms) begin transaction
1880
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734913.84864 WHERE "integer_models"."id" = 24
1881
+  (0.5ms) commit transaction
1882
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 24
1883
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 24
1884
+  (0.0ms) begin transaction
1885
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1886
+  (1.0ms) commit transaction
1887
+  (0.0ms) begin transaction
1888
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 25]]
1889
+  (0.9ms) commit transaction
1890
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 25
1891
+  (0.0ms) begin transaction
1892
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1893
+  (1.0ms) commit transaction
1894
+  (0.0ms) begin transaction
1895
+ SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 26]]
1896
+  (1.1ms) commit transaction
1897
+  (0.0ms) begin transaction
1898
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1899
+  (1.1ms) commit transaction
1900
+  (0.0ms) begin transaction
1901
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 1], ["park_id", nil]]
1902
+  (1.0ms) commit transaction
1903
+  (0.1ms) begin transaction
1904
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1386734913.895804 WHERE "trees"."id" = 1
1905
+  (1.2ms) commit transaction
1906
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 1 AND (biggest = 't') LIMIT 1
1907
+  (0.1ms) begin transaction
1908
+ SQL (0.3ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1909
+  (1.1ms) commit transaction
1910
+  (0.0ms) begin transaction
1911
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", 2], ["park_id", nil]]
1912
+  (1.0ms) commit transaction
1913
+  (0.0ms) begin transaction
1914
+ SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1386734913.914948 WHERE "trees"."id" = 2
1915
+  (0.7ms) commit transaction
1916
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 2 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1917
+  (0.0ms) begin transaction
1918
+ SQL (0.1ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1919
+  (1.0ms) commit transaction
1920
+  (0.0ms) begin transaction
1921
+ SQL (0.1ms) UPDATE "forests" SET "deleted_at" = 1386734913.920329 WHERE "forests"."id" = 3
1922
+  (0.7ms) commit transaction
1923
+  (0.0ms) begin transaction
1924
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 3], ["park_id", nil]]
1925
+  (1.0ms) commit transaction
1926
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 3 LIMIT 1
1927
+  (0.0ms) begin transaction
1928
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1929
+  (1.0ms) commit transaction
1930
+  (0.0ms) begin transaction
1931
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734913.928776 WHERE "forests"."id" = 4
1932
+  (1.1ms) commit transaction
1933
+  (0.0ms) begin transaction
1934
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 4], ["park_id", nil]]
1935
+  (0.8ms) commit transaction
1936
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 4 AND ("forests".deleted_at = 0) LIMIT 1
1937
+  (0.0ms) begin transaction
1938
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1939
+  (1.1ms) commit transaction
1940
+  (0.0ms) begin transaction
1941
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
1942
+  (1.5ms) commit transaction
1943
+  (0.0ms) begin transaction
1944
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734913.94015 WHERE "trees"."id" = 5
1945
+  (0.9ms) commit transaction
1946
+  (0.0ms) begin transaction
1947
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 5], ["park_id", nil]]
1948
+  (0.6ms) commit transaction
1949
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 5
1950
+  (0.0ms) begin transaction
1951
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1952
+  (1.1ms) commit transaction
1953
+  (0.0ms) begin transaction
1954
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", 6], ["park_id", nil]]
1955
+  (1.0ms) commit transaction
1956
+  (0.0ms) begin transaction
1957
+ SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1386734913.952558 WHERE "trees"."id" = 7
1958
+  (0.8ms) commit transaction
1959
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = 6 AND ("trees".deleted_at = 0)
1960
+  (0.0ms) begin transaction
1961
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1962
+  (1.2ms) commit transaction
1963
+  (0.0ms) begin transaction
1964
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 1]]
1965
+  (1.1ms) commit transaction
1966
+  (0.0ms) begin transaction
1967
+ SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1386734913.962677 WHERE "trees"."id" = 8
1968
+  (1.0ms) commit transaction
1969
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 1 AND (biggest = 't') LIMIT 1
1970
+  (0.0ms) begin transaction
1971
+ SQL (0.1ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1972
+  (1.1ms) commit transaction
1973
+  (0.0ms) begin transaction
1974
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", true], ["deleted_at", 0], ["forest_id", nil], ["park_id", 2]]
1975
+  (1.0ms) commit transaction
1976
+  (0.0ms) begin transaction
1977
+ SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1386734913.96961 WHERE "trees"."id" = 9
1978
+  (1.1ms) commit transaction
1979
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 2 AND ("trees".deleted_at = 0) AND (biggest = 't') LIMIT 1
1980
+  (0.0ms) begin transaction
1981
+ SQL (0.1ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1982
+  (0.8ms) commit transaction
1983
+  (0.0ms) begin transaction
1984
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734913.974787 WHERE "forests"."id" = 7
1985
+  (0.9ms) commit transaction
1986
+  (0.0ms) begin transaction
1987
+ SQL (0.1ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
1988
+  (1.0ms) commit transaction
1989
+  (0.0ms) begin transaction
1990
+  (0.1ms) UPDATE "parks" SET "forest_id" = 7 WHERE "parks"."id" = 3
1991
+  (0.9ms) commit transaction
1992
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 3]]
1993
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 7 LIMIT 1
1994
+  (0.0ms) begin transaction
1995
+ SQL (0.2ms) INSERT INTO "forests" ("deleted_at") VALUES (?) [["deleted_at", 0]]
1996
+  (1.2ms) commit transaction
1997
+  (0.0ms) begin transaction
1998
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1386734913.984333 WHERE "forests"."id" = 8
1999
+  (0.9ms) commit transaction
2000
+  (0.0ms) begin transaction
2001
+ SQL (0.1ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
2002
+  (0.9ms) commit transaction
2003
+  (0.0ms) begin transaction
2004
+  (0.1ms) UPDATE "parks" SET "forest_id" = 8 WHERE "parks"."id" = 4
2005
+  (0.9ms) commit transaction
2006
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 4]]
2007
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = 8 AND ("forests".deleted_at = 0) LIMIT 1
2008
+  (0.0ms) begin transaction
2009
+ SQL (0.1ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
2010
+  (1.0ms) commit transaction
2011
+  (0.0ms) begin transaction
2012
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 5]]
2013
+  (0.8ms) commit transaction
2014
+  (0.0ms) begin transaction
2015
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734913.996236 WHERE "trees"."id" = 10
2016
+  (1.0ms) commit transaction
2017
+  (0.0ms) begin transaction
2018
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 5]]
2019
+  (1.0ms) commit transaction
2020
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 5
2021
+  (0.0ms) begin transaction
2022
+ SQL (0.2ms) INSERT INTO "parks" ("forest_id") VALUES (?) [["forest_id", nil]]
2023
+  (1.2ms) commit transaction
2024
+  (0.0ms) begin transaction
2025
+ SQL (0.1ms) INSERT INTO "trees" ("biggest", "deleted_at", "forest_id", "park_id") VALUES (?, ?, ?, ?) [["biggest", false], ["deleted_at", 0], ["forest_id", nil], ["park_id", 6]]
2026
+  (1.1ms) commit transaction
2027
+  (0.0ms) begin transaction
2028
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1386734914.006144 WHERE "trees"."id" = 12
2029
+  (0.7ms) commit transaction
2030
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = 6 AND ("trees".deleted_at = 0)
2031
+  (0.0ms) begin transaction
2032
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
2033
+  (1.1ms) commit transaction
2034
+  (0.0ms) begin transaction
2035
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734914.011137 WHERE "integer_models"."id" = 27
2036
+  (1.1ms) commit transaction
2037
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 27
2038
+  (0.0ms) begin transaction
2039
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
2040
+  (1.1ms) commit transaction
2041
+  (0.0ms) begin transaction
2042
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734914.016864 WHERE "integer_models"."id" = 28
2043
+  (0.7ms) commit transaction
2044
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 28
2045
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 28
2046
+  (0.0ms) begin transaction
2047
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
2048
+  (1.0ms) commit transaction
2049
+  (0.0ms) begin transaction
2050
+ SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1386734914.021632 WHERE "integer_models"."id" = 29
2051
+  (1.1ms) commit transaction
2052
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 29
2053
+  (0.0ms) begin transaction
2054
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
2055
+  (1.1ms) commit transaction
2056
+  (0.0ms) begin transaction
2057
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734914.027381 WHERE "integer_models"."id" = 30
2058
+  (0.5ms) commit transaction
2059
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 30
2060
+  (0.0ms) begin transaction
2061
+ SQL (0.2ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
2062
+  (1.0ms) commit transaction
2063
+  (0.0ms) begin transaction
2064
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1386734914.032222 WHERE "integer_models"."id" = 31
2065
+  (1.1ms) commit transaction
2066
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
2067
+  (0.0ms) begin transaction
2068
+ SQL (0.1ms) INSERT INTO "integer_models" ("deleted_at") VALUES (?) [["deleted_at", 0]]
2069
+  (1.0ms) commit transaction
2070
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)