serializer 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -53,7 +53,11 @@ View:
53
53
  <%- if @user.fb_share? -%>
54
54
  ...
55
55
  <%- end -%>
56
-
56
+
57
+ == Status
58
+
59
+ {<img src="http://travis-ci.org/ksylvest/serializer.png" />}[http://travis-ci.org/ksylvest/serializer]
60
+
57
61
  == Copyright
58
62
 
59
63
  Copyright (c) 2010 - 2011 Kevin Sylvestre. See LICENSE for details.
data/lib/serializer.rb CHANGED
@@ -30,14 +30,34 @@ module Serializer
30
30
  define_method "#{method}" do
31
31
  hash = send(name)
32
32
  result = hash[method.to_sym] if hash
33
- return options[:default] if hash.nil? or result.nil?
33
+
34
+ if hash.nil? or result.nil?
35
+ send("#{name}=", {}) unless send(name)
36
+ hash = send(name)
37
+
38
+ result = options[:default]
39
+ result = result.clone if result.duplicable?
40
+
41
+ hash[method.to_sym] = result
42
+ end
43
+
34
44
  return result
35
45
  end
36
46
 
37
47
  define_method "#{method}?" do
38
48
  hash = send(name)
39
49
  result = hash[method.to_sym] if hash
40
- return options[:default] if hash.nil? or result.nil?
50
+
51
+ if hash.nil? or result.nil?
52
+ send("#{name}=", {}) unless send(name)
53
+ hash = send(name)
54
+
55
+ result = options[:default]
56
+ result = result.clone if result.duplicable?
57
+
58
+ hash[method.to_sym] = result
59
+ end
60
+
41
61
  return result
42
62
  end
43
63
 
@@ -1,3 +1,3 @@
1
1
  module Serializer
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -3,7 +3,16 @@ class User < ActiveRecord::Base
3
3
  has_serialized :settings do |settings|
4
4
  settings.define :tw_share, :default => true, :type => :boolean
5
5
  settings.define :fb_share, :default => true, :type => :boolean
6
- settings.define :tumblr_share, :default => true, :type => :boolean
6
+ settings.define :tb_share, :default => true, :type => :boolean
7
+
8
+ settings.define :status, :default => :user, :type => :symbol
9
+ settings.define :location, :type => :string
10
+
11
+ settings.define :percentage, :default => 0.0, :type => :float
12
+
13
+ settings.define :permissions, :default => [], :type => :array
14
+
15
+ settings.define :mystery
7
16
  end
8
17
 
9
18
  end
@@ -30,13 +30,13 @@
30
30
  </div>
31
31
 
32
32
  <div class="field">
33
- <%= f.radio_button :tumblr_share, true %>
34
- <%= f.label :tumblr_share_true, "Enable Tumblr Share" %>
33
+ <%= f.radio_button :tb_share, true %>
34
+ <%= f.label :tb_share_true, "Enable Tumblr Share" %>
35
35
  </div>
36
36
 
37
37
  <div class="field">
38
- <%= f.radio_button :tumblr_share, false %>
39
- <%= f.label :tumblr_share_false, "Disable Tumblr Share" %>
38
+ <%= f.radio_button :tb_share, false %>
39
+ <%= f.label :tb_share_false, "Disable Tumblr Share" %>
40
40
  </div>
41
41
 
42
42
  <div class="actions">
Binary file
Binary file
@@ -193,3 +193,24 @@ Started GET "/users/1" for 127.0.0.1 at 2011-12-02 17:56:34 -0800
193
193
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
194
194
  Rendered users/show.html.erb within layouts/application (6.3ms)
195
195
  Completed 200 OK in 18ms (Views: 12.0ms | ActiveRecord: 0.7ms)
196
+  (0.2ms) select sqlite_version(*)
197
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
198
+  (0.1ms) PRAGMA index_list("schema_migrations")
199
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
200
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
201
+ Migrating to CreateUsers (20110927222742)
202
+  (0.1ms) begin transaction
203
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
204
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
205
+  (1.0ms) commit transaction
206
+  (0.3ms) select sqlite_version(*)
207
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
208
+  (0.0ms) PRAGMA index_list("users")
209
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
210
+  (0.2ms) select sqlite_version(*)
211
+  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
212
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
213
+  (0.0ms) PRAGMA index_list("schema_migrations")
214
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
215
+  (0.1ms) SELECT version FROM "schema_migrations"
216
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
@@ -1246,3 +1246,1724 @@ tw_share: true
1246
1246
   (0.0ms) RELEASE SAVEPOINT active_record_1
1247
1247
  Redirected to http://test.host/users/593363170
1248
1248
  Completed 302 Found in 5ms
1249
+ Processing by MainController#index as HTML
1250
+ Rendered main/index.html.erb within layouts/application (2.1ms)
1251
+ Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.0ms)
1252
+ Fixture Delete (0.8ms) DELETE FROM "users"
1253
+ Fixture Insert (0.3ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
1254
+ :fb_share: true
1255
+ :tw_share: true
1256
+ ', '2011-12-03 09:51:53', '2011-12-03 09:51:53', 593363170)
1257
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2011-12-03 09:51:53', '2011-12-03 09:51:53', 815823836)
1258
+
1259
+
1260
+ Started GET "/users/new" for 127.0.0.1 at 2011-12-03 01:51:53 -0800
1261
+ Processing by UsersController#new as HTML
1262
+ Rendered users/_form.html.erb (12.5ms)
1263
+ Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.0ms)
1264
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1265
+
1266
+
1267
+ Started POST "/users" for 127.0.0.1 at 2011-12-03 01:51:53 -0800
1268
+ Processing by UsersController#create as HTML
1269
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tumblr_share"=>"false"}
1270
+  (0.1ms) SAVEPOINT active_record_1
1271
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00]]
1272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1273
+ Redirected to http://www.example.com/users/815823837
1274
+ Completed 302 Found in 33ms
1275
+
1276
+
1277
+ Started GET "/users/815823837" for 127.0.0.1 at 2011-12-03 01:51:53 -0800
1278
+ Processing by UsersController#show as HTML
1279
+ Parameters: {"id"=>"815823837"}
1280
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
1281
+ Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.1ms)
1282
+  (0.0ms) SAVEPOINT active_record_1
1283
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00]]
1284
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1285
+  (0.0ms) SAVEPOINT active_record_1
1286
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tumblr_share: false\n"], ["updated_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00]]
1287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1288
+  (0.0ms) SAVEPOINT active_record_1
1289
+  (0.3ms) UPDATE "users" SET "updated_at" = '2011-12-03 09:51:53.444124', "settings" = '---
1290
+ :fb_share: true
1291
+ :tw_share: true
1292
+ :tumblr_share: true
1293
+ ' WHERE "users"."id" = 815823837
1294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
1296
+  (0.0ms) SAVEPOINT active_record_1
1297
+  (0.2ms) UPDATE "users" SET "updated_at" = '2011-12-03 09:51:53.447419', "settings" = '---
1298
+ :fb_share: false
1299
+ :tw_share: false
1300
+ :tumblr_share: false
1301
+ ' WHERE "users"."id" = 815823836
1302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1303
+  (0.1ms) SAVEPOINT active_record_1
1304
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tumblr_share: true\n"], ["updated_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00]]
1305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1306
+  (0.0ms) SAVEPOINT active_record_1
1307
+  (0.3ms) UPDATE "users" SET "updated_at" = '2011-12-03 09:51:53.452207', "settings" = '---
1308
+ :fb_share: false
1309
+ :tw_share: false
1310
+ :tumblr_share: false
1311
+ ' WHERE "users"."id" = 815823837
1312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1313
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1314
+
1315
+
1316
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2011-12-03 01:51:53 -0800
1317
+ Processing by UsersController#edit as HTML
1318
+ Parameters: {"id"=>"593363170"}
1319
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1320
+ Rendered users/_form.html.erb (2.9ms)
1321
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)
1322
+
1323
+
1324
+ Started POST "/users" for 127.0.0.1 at 2011-12-03 01:51:53 -0800
1325
+ Processing by UsersController#create as HTML
1326
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tumblr_share"=>"true"}
1327
+  (0.1ms) SAVEPOINT active_record_1
1328
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00]]
1329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1330
+ Redirected to http://www.example.com/users/815823837
1331
+ Completed 302 Found in 3ms
1332
+
1333
+
1334
+ Started GET "/users/815823837" for 127.0.0.1 at 2011-12-03 01:51:53 -0800
1335
+ Processing by UsersController#show as HTML
1336
+ Parameters: {"id"=>"815823837"}
1337
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
1338
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
1339
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1340
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1341
+ Processing by UsersController#create as HTML
1342
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-12-03 09:51:53 UTC", "updated_at"=>"2011-12-03 09:51:53 UTC"}}
1343
+ WARNING: Can't mass-assign protected attributes: id
1344
+  (0.1ms) SAVEPOINT active_record_1
1345
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sat, 03 Dec 2011 09:51:53 UTC +00:00]]
1346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1347
+ Redirected to http://test.host/users/815823837
1348
+ Completed 302 Found in 6ms
1349
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1350
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1351
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1352
+ Processing by UsersController#destroy as HTML
1353
+ Parameters: {"id"=>"593363170"}
1354
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1355
+  (0.1ms) SAVEPOINT active_record_1
1356
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
1357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1358
+ Redirected to http://test.host/users
1359
+ Completed 302 Found in 5ms
1360
+  (0.1ms) SELECT COUNT(*) FROM "users"
1361
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1362
+ Processing by UsersController#edit as HTML
1363
+ Parameters: {"id"=>"593363170"}
1364
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1365
+ Rendered users/_form.html.erb (4.5ms)
1366
+ Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.1ms)
1367
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1368
+ Processing by UsersController#index as HTML
1369
+ User Load (0.1ms) SELECT "users".* FROM "users"
1370
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)
1371
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1372
+ Processing by UsersController#new as HTML
1373
+ Rendered users/_form.html.erb (2.4ms)
1374
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
1375
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1376
+ Processing by UsersController#show as HTML
1377
+ Parameters: {"id"=>"593363170"}
1378
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1379
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1380
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1381
+ Processing by UsersController#update as HTML
1382
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-12-03 09:51:53 UTC", "updated_at"=>"2011-12-03 09:51:53 UTC"}, "id"=>"593363170"}
1383
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1384
+ WARNING: Can't mass-assign protected attributes: id
1385
+  (0.0ms) SAVEPOINT active_record_1
1386
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
1387
+ fb_share: true
1388
+ tw_share: true
1389
+ ', "updated_at" = '2011-12-03 09:51:53.537415' WHERE "users"."id" = 593363170
1390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1391
+ Redirected to http://test.host/users/593363170
1392
+ Completed 302 Found in 5ms
1393
+  (0.4ms) begin transaction
1394
+ Processing by MainController#index as HTML
1395
+ Rendered main/index.html.erb within layouts/application (2.9ms)
1396
+ Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)
1397
+  (0.1ms) rollback transaction
1398
+  (0.0ms) begin transaction
1399
+  (0.0ms) rollback transaction
1400
+  (0.0ms) begin transaction
1401
+ Fixture Delete (0.3ms) DELETE FROM "users"
1402
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
1403
+ :fb_share: true
1404
+ :tw_share: true
1405
+ ', '2012-02-05 10:27:11', '2012-02-05 10:27:11', 593363170)
1406
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:27:11', '2012-02-05 10:27:11', 815823836)
1407
+  (1.0ms) commit transaction
1408
+  (0.0ms) begin transaction
1409
+
1410
+
1411
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:27:11 -0800
1412
+ Processing by UsersController#new as HTML
1413
+ Rendered users/_form.html.erb (5.6ms)
1414
+ Completed 500 Internal Server Error in 18ms
1415
+  (0.1ms) rollback transaction
1416
+  (0.0ms) begin transaction
1417
+  (0.0ms) SAVEPOINT active_record_1
1418
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1420
+  (0.6ms) rollback transaction
1421
+  (0.0ms) begin transaction
1422
+  (0.0ms) SAVEPOINT active_record_1
1423
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1425
+  (0.0ms) SAVEPOINT active_record_1
1426
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1428
+  (0.4ms) rollback transaction
1429
+  (0.0ms) begin transaction
1430
+  (0.0ms) SAVEPOINT active_record_1
1431
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1433
+  (0.0ms) SAVEPOINT active_record_1
1434
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1436
+  (0.3ms) rollback transaction
1437
+  (0.0ms) begin transaction
1438
+  (0.0ms) SAVEPOINT active_record_1
1439
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1441
+  (0.3ms) rollback transaction
1442
+  (0.0ms) begin transaction
1443
+  (0.0ms) SAVEPOINT active_record_1
1444
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1446
+  (0.2ms) rollback transaction
1447
+  (0.0ms) begin transaction
1448
+  (0.0ms) SAVEPOINT active_record_1
1449
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1451
+  (0.0ms) SAVEPOINT active_record_1
1452
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:27:11.879980', "settings" = '---
1453
+ :fb_share: true
1454
+ :tw_share: true
1455
+ :tb_share: true
1456
+ ' WHERE "users"."id" = 815823837
1457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1458
+  (0.5ms) rollback transaction
1459
+  (0.0ms) begin transaction
1460
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
1461
+  (0.0ms) rollback transaction
1462
+  (0.0ms) begin transaction
1463
+  (0.0ms) SAVEPOINT active_record_1
1464
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1466
+  (0.0ms) SAVEPOINT active_record_1
1467
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:27:11.887993', "settings" = '---
1468
+ :fb_share: false
1469
+ :tw_share: false
1470
+ :tb_share: false
1471
+ ' WHERE "users"."id" = 815823837
1472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1473
+  (0.5ms) rollback transaction
1474
+  (0.0ms) begin transaction
1475
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1476
+
1477
+
1478
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:27:11 -0800
1479
+ Processing by UsersController#edit as HTML
1480
+ Parameters: {"id"=>"593363170"}
1481
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1482
+ Rendered users/_form.html.erb (3.4ms)
1483
+ Completed 500 Internal Server Error in 6ms
1484
+  (0.2ms) rollback transaction
1485
+  (0.1ms) begin transaction
1486
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1487
+  (0.1ms) SELECT COUNT(*) FROM "users"
1488
+ Processing by UsersController#create as HTML
1489
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:27:11 UTC", "updated_at"=>"2012-02-05 10:27:11 UTC"}}
1490
+ WARNING: Can't mass-assign protected attributes: id
1491
+  (0.1ms) SAVEPOINT active_record_1
1492
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:27:11 UTC +00:00]]
1493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1494
+ Redirected to http://test.host/users/815823837
1495
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
1496
+  (0.1ms) SELECT COUNT(*) FROM "users"
1497
+  (0.5ms) rollback transaction
1498
+  (0.0ms) begin transaction
1499
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1500
+  (0.1ms) SELECT COUNT(*) FROM "users"
1501
+ Processing by UsersController#destroy as HTML
1502
+ Parameters: {"id"=>"593363170"}
1503
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1504
+  (0.0ms) SAVEPOINT active_record_1
1505
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
1506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1507
+ Redirected to http://test.host/users
1508
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
1509
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1510
+  (0.3ms) rollback transaction
1511
+  (0.0ms) begin transaction
1512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1513
+ Processing by UsersController#edit as HTML
1514
+ Parameters: {"id"=>"593363170"}
1515
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1516
+ Rendered users/_form.html.erb (2.8ms)
1517
+ Completed 500 Internal Server Error in 4ms
1518
+  (0.1ms) rollback transaction
1519
+  (0.0ms) begin transaction
1520
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1521
+ Processing by UsersController#index as HTML
1522
+ User Load (0.2ms) SELECT "users".* FROM "users" 
1523
+ Completed 200 OK in 34ms (Views: 4.0ms | ActiveRecord: 0.2ms)
1524
+  (0.1ms) rollback transaction
1525
+  (0.0ms) begin transaction
1526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1527
+ Processing by UsersController#new as HTML
1528
+ Rendered users/_form.html.erb (2.2ms)
1529
+ Completed 500 Internal Server Error in 4ms
1530
+  (0.1ms) rollback transaction
1531
+  (0.1ms) begin transaction
1532
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1533
+ Processing by UsersController#show as HTML
1534
+ Parameters: {"id"=>"593363170"}
1535
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1536
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.1ms)
1537
+  (0.1ms) rollback transaction
1538
+  (0.0ms) begin transaction
1539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1540
+ Processing by UsersController#update as HTML
1541
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:27:11 UTC", "updated_at"=>"2012-02-05 10:27:11 UTC"}, "id"=>"593363170"}
1542
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1543
+ WARNING: Can't mass-assign protected attributes: id
1544
+  (0.1ms) SAVEPOINT active_record_1
1545
+  (0.8ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
1546
+ fb_share: true
1547
+ tw_share: true
1548
+ ', "updated_at" = '2012-02-05 10:27:12.011620' WHERE "users"."id" = 593363170
1549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1550
+ Redirected to http://test.host/users/593363170
1551
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1552
+  (0.3ms) rollback transaction
1553
+  (0.4ms) begin transaction
1554
+ Processing by MainController#index as HTML
1555
+ Rendered main/index.html.erb within layouts/application (2.2ms)
1556
+ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
1557
+  (0.1ms) rollback transaction
1558
+  (0.0ms) begin transaction
1559
+  (0.0ms) rollback transaction
1560
+  (0.0ms) begin transaction
1561
+ Fixture Delete (0.8ms) DELETE FROM "users"
1562
+ Fixture Insert (0.3ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
1563
+ :fb_share: true
1564
+ :tw_share: true
1565
+ ', '2012-02-05 10:27:33', '2012-02-05 10:27:33', 593363170)
1566
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:27:33', '2012-02-05 10:27:33', 815823836)
1567
+  (0.9ms) commit transaction
1568
+  (0.0ms) begin transaction
1569
+
1570
+
1571
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:27:33 -0800
1572
+ Processing by UsersController#new as HTML
1573
+ Rendered users/_form.html.erb (7.6ms)
1574
+ Completed 200 OK in 19ms (Views: 12.6ms | ActiveRecord: 0.0ms)
1575
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1576
+
1577
+
1578
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:27:33 -0800
1579
+ Processing by UsersController#create as HTML
1580
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
1581
+  (0.0ms) SAVEPOINT active_record_1
1582
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1584
+ Redirected to http://www.example.com/users/815823837
1585
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
1586
+
1587
+
1588
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:27:33 -0800
1589
+ Processing by UsersController#show as HTML
1590
+ Parameters: {"id"=>"815823837"}
1591
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
1592
+ Completed 500 Internal Server Error in 3ms
1593
+  (0.5ms) rollback transaction
1594
+  (0.0ms) begin transaction
1595
+  (0.0ms) SAVEPOINT active_record_1
1596
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1598
+  (0.3ms) rollback transaction
1599
+  (0.0ms) begin transaction
1600
+  (0.0ms) SAVEPOINT active_record_1
1601
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1603
+  (0.0ms) SAVEPOINT active_record_1
1604
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1606
+  (0.5ms) rollback transaction
1607
+  (0.1ms) begin transaction
1608
+  (0.0ms) SAVEPOINT active_record_1
1609
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1611
+  (0.0ms) SAVEPOINT active_record_1
1612
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1614
+  (0.4ms) rollback transaction
1615
+  (0.0ms) begin transaction
1616
+  (0.0ms) SAVEPOINT active_record_1
1617
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1619
+  (0.5ms) rollback transaction
1620
+  (0.0ms) begin transaction
1621
+  (0.0ms) SAVEPOINT active_record_1
1622
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1624
+  (0.3ms) rollback transaction
1625
+  (0.0ms) begin transaction
1626
+  (0.0ms) SAVEPOINT active_record_1
1627
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1629
+  (0.0ms) SAVEPOINT active_record_1
1630
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:27:33.204192', "settings" = '---
1631
+ :fb_share: true
1632
+ :tw_share: true
1633
+ :tb_share: true
1634
+ ' WHERE "users"."id" = 815823837
1635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1636
+  (0.5ms) rollback transaction
1637
+  (0.0ms) begin transaction
1638
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
1639
+  (0.1ms) rollback transaction
1640
+  (0.0ms) begin transaction
1641
+  (0.0ms) SAVEPOINT active_record_1
1642
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1644
+  (0.0ms) SAVEPOINT active_record_1
1645
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:27:33.210941', "settings" = '---
1646
+ :fb_share: false
1647
+ :tw_share: false
1648
+ :tb_share: false
1649
+ ' WHERE "users"."id" = 815823837
1650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1651
+  (0.5ms) rollback transaction
1652
+  (0.0ms) begin transaction
1653
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1654
+
1655
+
1656
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:27:33 -0800
1657
+ Processing by UsersController#edit as HTML
1658
+ Parameters: {"id"=>"593363170"}
1659
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1660
+ Rendered users/_form.html.erb (5.1ms)
1661
+ Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.1ms)
1662
+
1663
+
1664
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:27:33 -0800
1665
+ Processing by UsersController#create as HTML
1666
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
1667
+  (0.1ms) SAVEPOINT active_record_1
1668
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1670
+ Redirected to http://www.example.com/users/815823837
1671
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1672
+
1673
+
1674
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:27:33 -0800
1675
+ Processing by UsersController#show as HTML
1676
+ Parameters: {"id"=>"815823837"}
1677
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
1678
+ Completed 500 Internal Server Error in 2ms
1679
+  (0.4ms) rollback transaction
1680
+  (0.1ms) begin transaction
1681
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1682
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1683
+ Processing by UsersController#create as HTML
1684
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:27:33 UTC", "updated_at"=>"2012-02-05 10:27:33 UTC"}}
1685
+ WARNING: Can't mass-assign protected attributes: id
1686
+  (0.0ms) SAVEPOINT active_record_1
1687
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:27:33 UTC +00:00]]
1688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1689
+ Redirected to http://test.host/users/815823837
1690
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1691
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1692
+  (0.4ms) rollback transaction
1693
+  (0.0ms) begin transaction
1694
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1695
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1696
+ Processing by UsersController#destroy as HTML
1697
+ Parameters: {"id"=>"593363170"}
1698
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1699
+  (0.0ms) SAVEPOINT active_record_1
1700
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
1701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1702
+ Redirected to http://test.host/users
1703
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1704
+  (0.1ms) SELECT COUNT(*) FROM "users"
1705
+  (0.4ms) rollback transaction
1706
+  (0.1ms) begin transaction
1707
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1708
+ Processing by UsersController#edit as HTML
1709
+ Parameters: {"id"=>"593363170"}
1710
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1711
+ Rendered users/_form.html.erb (3.1ms)
1712
+ Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.1ms)
1713
+  (0.1ms) rollback transaction
1714
+  (0.0ms) begin transaction
1715
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1716
+ Processing by UsersController#index as HTML
1717
+ User Load (0.1ms) SELECT "users".* FROM "users"
1718
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
1719
+  (0.1ms) rollback transaction
1720
+  (0.0ms) begin transaction
1721
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1722
+ Processing by UsersController#new as HTML
1723
+ Rendered users/_form.html.erb (3.2ms)
1724
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
1725
+  (0.1ms) rollback transaction
1726
+  (0.0ms) begin transaction
1727
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1728
+ Processing by UsersController#show as HTML
1729
+ Parameters: {"id"=>"593363170"}
1730
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1731
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1732
+  (0.1ms) rollback transaction
1733
+  (0.0ms) begin transaction
1734
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1735
+ Processing by UsersController#update as HTML
1736
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:27:33 UTC", "updated_at"=>"2012-02-05 10:27:33 UTC"}, "id"=>"593363170"}
1737
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1738
+ WARNING: Can't mass-assign protected attributes: id
1739
+  (0.0ms) SAVEPOINT active_record_1
1740
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
1741
+ fb_share: true
1742
+ tw_share: true
1743
+ ', "updated_at" = '2012-02-05 10:27:33.330768' WHERE "users"."id" = 593363170
1744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1745
+ Redirected to http://test.host/users/593363170
1746
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1747
+  (0.5ms) rollback transaction
1748
+  (0.4ms) begin transaction
1749
+ Processing by MainController#index as HTML
1750
+ Rendered main/index.html.erb within layouts/application (30.3ms)
1751
+ Completed 200 OK in 39ms (Views: 38.7ms | ActiveRecord: 0.0ms)
1752
+  (0.1ms) rollback transaction
1753
+  (0.0ms) begin transaction
1754
+  (0.0ms) rollback transaction
1755
+  (0.0ms) begin transaction
1756
+ Fixture Delete (0.3ms) DELETE FROM "users"
1757
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
1758
+ :fb_share: true
1759
+ :tw_share: true
1760
+ ', '2012-02-05 10:28:00', '2012-02-05 10:28:00', 593363170)
1761
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:28:00', '2012-02-05 10:28:00', 815823836)
1762
+  (1.0ms) commit transaction
1763
+  (0.0ms) begin transaction
1764
+
1765
+
1766
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:28:00 -0800
1767
+ Processing by UsersController#new as HTML
1768
+ Rendered users/_form.html.erb (7.2ms)
1769
+ Completed 200 OK in 44ms (Views: 37.2ms | ActiveRecord: 0.0ms)
1770
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1771
+
1772
+
1773
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:28:00 -0800
1774
+ Processing by UsersController#create as HTML
1775
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
1776
+  (0.0ms) SAVEPOINT active_record_1
1777
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1779
+ Redirected to http://www.example.com/users/815823837
1780
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
1781
+
1782
+
1783
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:28:00 -0800
1784
+ Processing by UsersController#show as HTML
1785
+ Parameters: {"id"=>"815823837"}
1786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
1787
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
1788
+  (0.6ms) rollback transaction
1789
+  (0.0ms) begin transaction
1790
+  (0.0ms) SAVEPOINT active_record_1
1791
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1793
+  (0.5ms) rollback transaction
1794
+  (0.0ms) begin transaction
1795
+  (0.0ms) SAVEPOINT active_record_1
1796
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1798
+  (0.0ms) SAVEPOINT active_record_1
1799
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1801
+  (0.5ms) rollback transaction
1802
+  (0.0ms) begin transaction
1803
+  (0.0ms) SAVEPOINT active_record_1
1804
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1806
+  (0.0ms) SAVEPOINT active_record_1
1807
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1809
+  (0.5ms) rollback transaction
1810
+  (0.6ms) begin transaction
1811
+  (0.0ms) SAVEPOINT active_record_1
1812
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1814
+  (0.4ms) rollback transaction
1815
+  (0.0ms) begin transaction
1816
+  (0.0ms) SAVEPOINT active_record_1
1817
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1819
+  (0.4ms) rollback transaction
1820
+  (0.0ms) begin transaction
1821
+  (0.0ms) SAVEPOINT active_record_1
1822
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1824
+  (0.0ms) SAVEPOINT active_record_1
1825
+  (0.4ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:00.590404', "settings" = '---
1826
+ :fb_share: true
1827
+ :tw_share: true
1828
+ :tb_share: true
1829
+ ' WHERE "users"."id" = 815823837
1830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1831
+  (0.5ms) rollback transaction
1832
+  (0.0ms) begin transaction
1833
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
1834
+  (0.0ms) SAVEPOINT active_record_1
1835
+  (0.2ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:00.594464', "settings" = '---
1836
+ :fb_share: false
1837
+ :tw_share: false
1838
+ :tb_share: false
1839
+ ' WHERE "users"."id" = 815823836
1840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1841
+  (0.2ms) rollback transaction
1842
+  (0.1ms) begin transaction
1843
+  (0.0ms) SAVEPOINT active_record_1
1844
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1846
+  (0.0ms) SAVEPOINT active_record_1
1847
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:00.598255', "settings" = '---
1848
+ :fb_share: false
1849
+ :tw_share: false
1850
+ :tb_share: false
1851
+ ' WHERE "users"."id" = 815823837
1852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1853
+  (0.5ms) rollback transaction
1854
+  (0.0ms) begin transaction
1855
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1856
+
1857
+
1858
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:28:00 -0800
1859
+ Processing by UsersController#edit as HTML
1860
+ Parameters: {"id"=>"593363170"}
1861
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1862
+ Rendered users/_form.html.erb (5.6ms)
1863
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.1ms)
1864
+
1865
+
1866
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:28:00 -0800
1867
+ Processing by UsersController#create as HTML
1868
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
1869
+  (0.1ms) SAVEPOINT active_record_1
1870
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1871
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1872
+ Redirected to http://www.example.com/users/815823837
1873
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
1874
+
1875
+
1876
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:28:00 -0800
1877
+ Processing by UsersController#show as HTML
1878
+ Parameters: {"id"=>"815823837"}
1879
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
1880
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
1881
+  (0.6ms) rollback transaction
1882
+  (0.1ms) begin transaction
1883
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1884
+  (0.1ms) SELECT COUNT(*) FROM "users"
1885
+ Processing by UsersController#create as HTML
1886
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:28:00 UTC", "updated_at"=>"2012-02-05 10:28:00 UTC"}}
1887
+ WARNING: Can't mass-assign protected attributes: id
1888
+  (0.0ms) SAVEPOINT active_record_1
1889
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:28:00 UTC +00:00]]
1890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1891
+ Redirected to http://test.host/users/815823837
1892
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1893
+  (0.1ms) SELECT COUNT(*) FROM "users"
1894
+  (0.6ms) rollback transaction
1895
+  (0.0ms) begin transaction
1896
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1897
+  (0.1ms) SELECT COUNT(*) FROM "users"
1898
+ Processing by UsersController#destroy as HTML
1899
+ Parameters: {"id"=>"593363170"}
1900
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1901
+  (0.0ms) SAVEPOINT active_record_1
1902
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
1903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1904
+ Redirected to http://test.host/users
1905
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1906
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1907
+  (0.3ms) rollback transaction
1908
+  (0.0ms) begin transaction
1909
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1910
+ Processing by UsersController#edit as HTML
1911
+ Parameters: {"id"=>"593363170"}
1912
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1913
+ Rendered users/_form.html.erb (2.8ms)
1914
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
1915
+  (0.1ms) rollback transaction
1916
+  (0.0ms) begin transaction
1917
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1918
+ Processing by UsersController#index as HTML
1919
+ User Load (0.1ms) SELECT "users".* FROM "users" 
1920
+ Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
1921
+  (0.1ms) rollback transaction
1922
+  (0.0ms) begin transaction
1923
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1924
+ Processing by UsersController#new as HTML
1925
+ Rendered users/_form.html.erb (33.6ms)
1926
+ Completed 200 OK in 36ms (Views: 35.4ms | ActiveRecord: 0.0ms)
1927
+  (0.1ms) rollback transaction
1928
+  (0.0ms) begin transaction
1929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1930
+ Processing by UsersController#show as HTML
1931
+ Parameters: {"id"=>"593363170"}
1932
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1933
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
1934
+  (0.1ms) rollback transaction
1935
+  (0.0ms) begin transaction
1936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1937
+ Processing by UsersController#update as HTML
1938
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:28:00 UTC", "updated_at"=>"2012-02-05 10:28:00 UTC"}, "id"=>"593363170"}
1939
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
1940
+ WARNING: Can't mass-assign protected attributes: id
1941
+  (0.1ms) SAVEPOINT active_record_1
1942
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
1943
+ fb_share: true
1944
+ tw_share: true
1945
+ ', "updated_at" = '2012-02-05 10:28:00.717486' WHERE "users"."id" = 593363170
1946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1947
+ Redirected to http://test.host/users/593363170
1948
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1949
+  (0.5ms) rollback transaction
1950
+  (0.4ms) begin transaction
1951
+ Processing by MainController#index as HTML
1952
+ Rendered main/index.html.erb within layouts/application (26.0ms)
1953
+ Completed 200 OK in 34ms (Views: 33.6ms | ActiveRecord: 0.0ms)
1954
+  (0.1ms) rollback transaction
1955
+  (0.1ms) begin transaction
1956
+  (0.0ms) rollback transaction
1957
+  (0.0ms) begin transaction
1958
+ Fixture Delete (0.3ms) DELETE FROM "users"
1959
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
1960
+ :fb_share: true
1961
+ :tw_share: true
1962
+ ', '2012-02-05 10:28:24', '2012-02-05 10:28:24', 593363170)
1963
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:28:24', '2012-02-05 10:28:24', 815823836)
1964
+  (1.4ms) commit transaction
1965
+  (0.0ms) begin transaction
1966
+
1967
+
1968
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:28:24 -0800
1969
+ Processing by UsersController#new as HTML
1970
+ Rendered users/_form.html.erb (7.1ms)
1971
+ Completed 200 OK in 44ms (Views: 37.0ms | ActiveRecord: 0.0ms)
1972
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
1973
+
1974
+
1975
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:28:24 -0800
1976
+ Processing by UsersController#create as HTML
1977
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
1978
+  (0.1ms) SAVEPOINT active_record_1
1979
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
1980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1981
+ Redirected to http://www.example.com/users/815823837
1982
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1983
+
1984
+
1985
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:28:24 -0800
1986
+ Processing by UsersController#show as HTML
1987
+ Parameters: {"id"=>"815823837"}
1988
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
1989
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
1990
+  (0.6ms) rollback transaction
1991
+  (0.0ms) begin transaction
1992
+  (0.0ms) SAVEPOINT active_record_1
1993
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
1994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1995
+  (0.5ms) rollback transaction
1996
+  (0.0ms) begin transaction
1997
+  (0.0ms) SAVEPOINT active_record_1
1998
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
1999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2000
+  (0.0ms) SAVEPOINT active_record_1
2001
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2003
+  (0.5ms) rollback transaction
2004
+  (0.0ms) begin transaction
2005
+  (0.0ms) SAVEPOINT active_record_1
2006
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2008
+  (0.0ms) SAVEPOINT active_record_1
2009
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2011
+  (0.3ms) rollback transaction
2012
+  (0.1ms) begin transaction
2013
+  (0.0ms) SAVEPOINT active_record_1
2014
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2016
+  (0.5ms) rollback transaction
2017
+  (0.0ms) begin transaction
2018
+  (0.0ms) SAVEPOINT active_record_1
2019
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2021
+  (0.4ms) rollback transaction
2022
+  (0.0ms) begin transaction
2023
+  (0.0ms) SAVEPOINT active_record_1
2024
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2026
+  (0.0ms) SAVEPOINT active_record_1
2027
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:24.818065', "settings" = '---
2028
+ :fb_share: true
2029
+ :tw_share: true
2030
+ :tb_share: true
2031
+ ' WHERE "users"."id" = 815823837
2032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2033
+  (0.5ms) rollback transaction
2034
+  (0.0ms) begin transaction
2035
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
2036
+  (0.0ms) SAVEPOINT active_record_1
2037
+  (0.2ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:24.822071', "settings" = '---
2038
+ :fb_share: false
2039
+ :tw_share: false
2040
+ :tb_share: false
2041
+ ' WHERE "users"."id" = 815823836
2042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2043
+  (0.2ms) rollback transaction
2044
+  (0.0ms) begin transaction
2045
+  (0.0ms) SAVEPOINT active_record_1
2046
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2048
+  (0.0ms) SAVEPOINT active_record_1
2049
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:24.825760', "settings" = '---
2050
+ :fb_share: false
2051
+ :tw_share: false
2052
+ :tb_share: false
2053
+ ' WHERE "users"."id" = 815823837
2054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2055
+  (0.5ms) rollback transaction
2056
+  (0.0ms) begin transaction
2057
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2058
+
2059
+
2060
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:28:24 -0800
2061
+ Processing by UsersController#edit as HTML
2062
+ Parameters: {"id"=>"593363170"}
2063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2064
+ Rendered users/_form.html.erb (5.7ms)
2065
+ Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.1ms)
2066
+
2067
+
2068
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:28:24 -0800
2069
+ Processing by UsersController#create as HTML
2070
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
2071
+  (0.1ms) SAVEPOINT active_record_1
2072
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2074
+ Redirected to http://www.example.com/users/815823837
2075
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2076
+
2077
+
2078
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:28:24 -0800
2079
+ Processing by UsersController#show as HTML
2080
+ Parameters: {"id"=>"815823837"}
2081
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2082
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
2083
+  (0.4ms) rollback transaction
2084
+  (0.0ms) begin transaction
2085
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2086
+  (0.1ms) SELECT COUNT(*) FROM "users"
2087
+ Processing by UsersController#create as HTML
2088
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:28:24 UTC", "updated_at"=>"2012-02-05 10:28:24 UTC"}}
2089
+ WARNING: Can't mass-assign protected attributes: id
2090
+  (0.0ms) SAVEPOINT active_record_1
2091
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:28:24 UTC +00:00]]
2092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2093
+ Redirected to http://test.host/users/815823837
2094
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2095
+  (0.1ms) SELECT COUNT(*) FROM "users"
2096
+  (0.4ms) rollback transaction
2097
+  (0.0ms) begin transaction
2098
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2099
+  (0.1ms) SELECT COUNT(*) FROM "users"
2100
+ Processing by UsersController#destroy as HTML
2101
+ Parameters: {"id"=>"593363170"}
2102
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2103
+  (0.0ms) SAVEPOINT active_record_1
2104
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
2105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2106
+ Redirected to http://test.host/users
2107
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2108
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2109
+  (0.5ms) rollback transaction
2110
+  (0.0ms) begin transaction
2111
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2112
+ Processing by UsersController#edit as HTML
2113
+ Parameters: {"id"=>"593363170"}
2114
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2115
+ Rendered users/_form.html.erb (2.8ms)
2116
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
2117
+  (0.1ms) rollback transaction
2118
+  (0.0ms) begin transaction
2119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2120
+ Processing by UsersController#index as HTML
2121
+ User Load (0.2ms) SELECT "users".* FROM "users" 
2122
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
2123
+  (0.1ms) rollback transaction
2124
+  (0.0ms) begin transaction
2125
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2126
+ Processing by UsersController#new as HTML
2127
+ Rendered users/_form.html.erb (33.8ms)
2128
+ Completed 200 OK in 36ms (Views: 35.6ms | ActiveRecord: 0.0ms)
2129
+  (0.1ms) rollback transaction
2130
+  (0.1ms) begin transaction
2131
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2132
+ Processing by UsersController#show as HTML
2133
+ Parameters: {"id"=>"593363170"}
2134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2135
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
2136
+  (0.1ms) rollback transaction
2137
+  (0.0ms) begin transaction
2138
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2139
+ Processing by UsersController#update as HTML
2140
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:28:24 UTC", "updated_at"=>"2012-02-05 10:28:24 UTC"}, "id"=>"593363170"}
2141
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2142
+ WARNING: Can't mass-assign protected attributes: id
2143
+  (0.0ms) SAVEPOINT active_record_1
2144
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
2145
+ fb_share: true
2146
+ tw_share: true
2147
+ ', "updated_at" = '2012-02-05 10:28:24.945341' WHERE "users"."id" = 593363170
2148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2149
+ Redirected to http://test.host/users/593363170
2150
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2151
+  (0.3ms) rollback transaction
2152
+  (0.5ms) begin transaction
2153
+ Processing by MainController#index as HTML
2154
+ Rendered main/index.html.erb within layouts/application (28.0ms)
2155
+ Completed 200 OK in 37ms (Views: 37.0ms | ActiveRecord: 0.0ms)
2156
+  (0.1ms) rollback transaction
2157
+  (0.0ms) begin transaction
2158
+  (0.0ms) rollback transaction
2159
+  (0.0ms) begin transaction
2160
+ Fixture Delete (0.3ms) DELETE FROM "users"
2161
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2162
+ :fb_share: true
2163
+ :tw_share: true
2164
+ ', '2012-02-05 10:28:56', '2012-02-05 10:28:56', 593363170)
2165
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:28:56', '2012-02-05 10:28:56', 815823836)
2166
+  (1.4ms) commit transaction
2167
+  (0.0ms) begin transaction
2168
+
2169
+
2170
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:28:56 -0800
2171
+ Processing by UsersController#new as HTML
2172
+ Rendered users/_form.html.erb (7.2ms)
2173
+ Completed 200 OK in 46ms (Views: 39.4ms | ActiveRecord: 0.0ms)
2174
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2175
+
2176
+
2177
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:28:56 -0800
2178
+ Processing by UsersController#create as HTML
2179
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
2180
+  (0.0ms) SAVEPOINT active_record_1
2181
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2183
+ Redirected to http://www.example.com/users/815823837
2184
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
2185
+
2186
+
2187
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:28:56 -0800
2188
+ Processing by UsersController#show as HTML
2189
+ Parameters: {"id"=>"815823837"}
2190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2191
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
2192
+  (0.4ms) rollback transaction
2193
+  (0.0ms) begin transaction
2194
+  (0.0ms) SAVEPOINT active_record_1
2195
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2197
+  (0.5ms) rollback transaction
2198
+  (0.0ms) begin transaction
2199
+  (0.0ms) SAVEPOINT active_record_1
2200
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2202
+  (0.0ms) SAVEPOINT active_record_1
2203
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2205
+  (0.5ms) rollback transaction
2206
+  (0.0ms) begin transaction
2207
+  (0.0ms) SAVEPOINT active_record_1
2208
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2210
+  (0.0ms) SAVEPOINT active_record_1
2211
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2213
+  (0.5ms) rollback transaction
2214
+  (0.1ms) begin transaction
2215
+  (0.0ms) SAVEPOINT active_record_1
2216
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2218
+  (0.5ms) rollback transaction
2219
+  (0.0ms) begin transaction
2220
+  (0.0ms) SAVEPOINT active_record_1
2221
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2222
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2223
+  (0.5ms) rollback transaction
2224
+  (0.0ms) begin transaction
2225
+  (0.0ms) SAVEPOINT active_record_1
2226
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2227
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2228
+  (0.0ms) SAVEPOINT active_record_1
2229
+  (0.4ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:56.810683', "settings" = '---
2230
+ :fb_share: true
2231
+ :tw_share: true
2232
+ :tb_share: true
2233
+ ' WHERE "users"."id" = 815823837
2234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2235
+  (0.5ms) rollback transaction
2236
+  (0.0ms) begin transaction
2237
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
2238
+  (0.0ms) SAVEPOINT active_record_1
2239
+  (0.2ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:56.814778', "settings" = '---
2240
+ :fb_share: false
2241
+ :tw_share: false
2242
+ :tb_share: false
2243
+ ' WHERE "users"."id" = 815823836
2244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2245
+  (0.4ms) rollback transaction
2246
+  (0.1ms) begin transaction
2247
+  (0.0ms) SAVEPOINT active_record_1
2248
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2250
+  (0.0ms) SAVEPOINT active_record_1
2251
+  (0.4ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:28:56.818734', "settings" = '---
2252
+ :fb_share: false
2253
+ :tw_share: false
2254
+ :tb_share: false
2255
+ ' WHERE "users"."id" = 815823837
2256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2257
+  (0.5ms) rollback transaction
2258
+  (0.0ms) begin transaction
2259
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2260
+
2261
+
2262
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:28:56 -0800
2263
+ Processing by UsersController#edit as HTML
2264
+ Parameters: {"id"=>"593363170"}
2265
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2266
+ Rendered users/_form.html.erb (4.9ms)
2267
+ Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.1ms)
2268
+
2269
+
2270
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:28:56 -0800
2271
+ Processing by UsersController#create as HTML
2272
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
2273
+  (0.1ms) SAVEPOINT active_record_1
2274
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2276
+ Redirected to http://www.example.com/users/815823837
2277
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2278
+
2279
+
2280
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:28:56 -0800
2281
+ Processing by UsersController#show as HTML
2282
+ Parameters: {"id"=>"815823837"}
2283
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2284
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
2285
+  (0.6ms) rollback transaction
2286
+  (0.1ms) begin transaction
2287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2288
+  (0.1ms) SELECT COUNT(*) FROM "users"
2289
+ Processing by UsersController#create as HTML
2290
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:28:56 UTC", "updated_at"=>"2012-02-05 10:28:56 UTC"}}
2291
+ WARNING: Can't mass-assign protected attributes: id
2292
+  (0.0ms) SAVEPOINT active_record_1
2293
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:28:56 UTC +00:00]]
2294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2295
+ Redirected to http://test.host/users/815823837
2296
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2297
+  (0.1ms) SELECT COUNT(*) FROM "users"
2298
+  (0.4ms) rollback transaction
2299
+  (0.0ms) begin transaction
2300
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2301
+  (0.1ms) SELECT COUNT(*) FROM "users"
2302
+ Processing by UsersController#destroy as HTML
2303
+ Parameters: {"id"=>"593363170"}
2304
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2305
+  (0.0ms) SAVEPOINT active_record_1
2306
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
2307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2308
+ Redirected to http://test.host/users
2309
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2310
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2311
+  (0.5ms) rollback transaction
2312
+  (0.1ms) begin transaction
2313
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2314
+ Processing by UsersController#edit as HTML
2315
+ Parameters: {"id"=>"593363170"}
2316
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2317
+ Rendered users/_form.html.erb (2.8ms)
2318
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
2319
+  (0.1ms) rollback transaction
2320
+  (0.0ms) begin transaction
2321
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2322
+ Processing by UsersController#index as HTML
2323
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2324
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)
2325
+  (0.1ms) rollback transaction
2326
+  (0.0ms) begin transaction
2327
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2328
+ Processing by UsersController#new as HTML
2329
+ Rendered users/_form.html.erb (36.0ms)
2330
+ Completed 200 OK in 38ms (Views: 38.2ms | ActiveRecord: 0.0ms)
2331
+  (0.1ms) rollback transaction
2332
+  (0.0ms) begin transaction
2333
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2334
+ Processing by UsersController#show as HTML
2335
+ Parameters: {"id"=>"593363170"}
2336
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2337
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2338
+  (0.1ms) rollback transaction
2339
+  (0.0ms) begin transaction
2340
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2341
+ Processing by UsersController#update as HTML
2342
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:28:56 UTC", "updated_at"=>"2012-02-05 10:28:56 UTC"}, "id"=>"593363170"}
2343
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2344
+ WARNING: Can't mass-assign protected attributes: id
2345
+  (0.1ms) SAVEPOINT active_record_1
2346
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
2347
+ fb_share: true
2348
+ tw_share: true
2349
+ ', "updated_at" = '2012-02-05 10:28:56.941955' WHERE "users"."id" = 593363170
2350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2351
+ Redirected to http://test.host/users/593363170
2352
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
2353
+  (0.5ms) rollback transaction
2354
+  (0.4ms) begin transaction
2355
+ Processing by MainController#index as HTML
2356
+ Rendered main/index.html.erb within layouts/application (1.8ms)
2357
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
2358
+  (0.1ms) rollback transaction
2359
+  (0.0ms) begin transaction
2360
+  (0.0ms) rollback transaction
2361
+  (0.0ms) begin transaction
2362
+ Fixture Delete (0.3ms) DELETE FROM "users"
2363
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2364
+ :fb_share: true
2365
+ :tw_share: true
2366
+ ', '2012-02-05 10:30:58', '2012-02-05 10:30:58', 593363170)
2367
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:30:58', '2012-02-05 10:30:58', 815823836)
2368
+  (1.1ms) commit transaction
2369
+  (0.0ms) begin transaction
2370
+
2371
+
2372
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:30:58 -0800
2373
+ Processing by UsersController#new as HTML
2374
+ Rendered users/_form.html.erb (6.9ms)
2375
+ Completed 200 OK in 18ms (Views: 11.9ms | ActiveRecord: 0.0ms)
2376
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2377
+
2378
+
2379
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:30:58 -0800
2380
+ Processing by UsersController#create as HTML
2381
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
2382
+  (0.0ms) SAVEPOINT active_record_1
2383
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2385
+ Redirected to http://www.example.com/users/815823837
2386
+ Completed 302 Found in 35ms (ActiveRecord: 0.0ms)
2387
+
2388
+
2389
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:30:58 -0800
2390
+ Processing by UsersController#show as HTML
2391
+ Parameters: {"id"=>"815823837"}
2392
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2393
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
2394
+  (0.5ms) rollback transaction
2395
+  (0.0ms) begin transaction
2396
+  (0.0ms) SAVEPOINT active_record_1
2397
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2399
+  (0.4ms) rollback transaction
2400
+  (0.0ms) begin transaction
2401
+  (0.0ms) SAVEPOINT active_record_1
2402
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2404
+  (0.0ms) SAVEPOINT active_record_1
2405
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2407
+  (0.5ms) rollback transaction
2408
+  (0.0ms) begin transaction
2409
+  (0.0ms) SAVEPOINT active_record_1
2410
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2412
+  (0.0ms) SAVEPOINT active_record_1
2413
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2415
+  (0.5ms) rollback transaction
2416
+  (0.1ms) begin transaction
2417
+  (0.0ms) SAVEPOINT active_record_1
2418
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2420
+  (0.5ms) rollback transaction
2421
+  (0.1ms) begin transaction
2422
+  (0.0ms) SAVEPOINT active_record_1
2423
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2425
+  (0.5ms) rollback transaction
2426
+  (0.0ms) begin transaction
2427
+  (0.0ms) SAVEPOINT active_record_1
2428
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2430
+  (0.0ms) SAVEPOINT active_record_1
2431
+  (0.4ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:30:58.361441', "settings" = '---
2432
+ :fb_share: true
2433
+ :tw_share: true
2434
+ :tb_share: true
2435
+ ' WHERE "users"."id" = 815823837
2436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2437
+  (0.6ms) rollback transaction
2438
+  (0.0ms) begin transaction
2439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
2440
+  (0.0ms) SAVEPOINT active_record_1
2441
+  (0.2ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:30:58.366240', "settings" = '---
2442
+ :fb_share: false
2443
+ :tw_share: false
2444
+ :tb_share: false
2445
+ ' WHERE "users"."id" = 815823836
2446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2447
+  (0.4ms) rollback transaction
2448
+  (0.0ms) begin transaction
2449
+  (0.0ms) SAVEPOINT active_record_1
2450
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2452
+  (0.0ms) SAVEPOINT active_record_1
2453
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:30:58.369901', "settings" = '---
2454
+ :fb_share: false
2455
+ :tw_share: false
2456
+ :tb_share: false
2457
+ ' WHERE "users"."id" = 815823837
2458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2459
+  (0.5ms) rollback transaction
2460
+  (0.0ms) begin transaction
2461
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2462
+
2463
+
2464
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:30:58 -0800
2465
+ Processing by UsersController#edit as HTML
2466
+ Parameters: {"id"=>"593363170"}
2467
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2468
+ Rendered users/_form.html.erb (4.2ms)
2469
+ Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.1ms)
2470
+
2471
+
2472
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:30:58 -0800
2473
+ Processing by UsersController#create as HTML
2474
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
2475
+  (0.1ms) SAVEPOINT active_record_1
2476
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2478
+ Redirected to http://www.example.com/users/815823837
2479
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2480
+
2481
+
2482
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:30:58 -0800
2483
+ Processing by UsersController#show as HTML
2484
+ Parameters: {"id"=>"815823837"}
2485
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2486
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
2487
+  (0.4ms) rollback transaction
2488
+  (0.0ms) begin transaction
2489
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2490
+  (0.1ms) SELECT COUNT(*) FROM "users"
2491
+ Processing by UsersController#create as HTML
2492
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:30:58 UTC", "updated_at"=>"2012-02-05 10:30:58 UTC"}}
2493
+ WARNING: Can't mass-assign protected attributes: id
2494
+  (0.0ms) SAVEPOINT active_record_1
2495
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:30:58 UTC +00:00]]
2496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2497
+ Redirected to http://test.host/users/815823837
2498
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2499
+  (0.1ms) SELECT COUNT(*) FROM "users"
2500
+  (0.4ms) rollback transaction
2501
+  (0.0ms) begin transaction
2502
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2503
+  (0.1ms) SELECT COUNT(*) FROM "users"
2504
+ Processing by UsersController#destroy as HTML
2505
+ Parameters: {"id"=>"593363170"}
2506
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2507
+  (0.0ms) SAVEPOINT active_record_1
2508
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
2509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2510
+ Redirected to http://test.host/users
2511
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2512
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2513
+  (0.4ms) rollback transaction
2514
+  (0.0ms) begin transaction
2515
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2516
+ Processing by UsersController#edit as HTML
2517
+ Parameters: {"id"=>"593363170"}
2518
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2519
+ Rendered users/_form.html.erb (2.9ms)
2520
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
2521
+  (0.1ms) rollback transaction
2522
+  (0.0ms) begin transaction
2523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2524
+ Processing by UsersController#index as HTML
2525
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2526
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms)
2527
+  (0.1ms) rollback transaction
2528
+  (0.0ms) begin transaction
2529
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2530
+ Processing by UsersController#new as HTML
2531
+ Rendered users/_form.html.erb (3.1ms)
2532
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
2533
+  (0.1ms) rollback transaction
2534
+  (0.0ms) begin transaction
2535
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2536
+ Processing by UsersController#show as HTML
2537
+ Parameters: {"id"=>"593363170"}
2538
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2539
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2540
+  (0.0ms) rollback transaction
2541
+  (0.0ms) begin transaction
2542
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2543
+ Processing by UsersController#update as HTML
2544
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:30:58 UTC", "updated_at"=>"2012-02-05 10:30:58 UTC"}, "id"=>"593363170"}
2545
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2546
+ WARNING: Can't mass-assign protected attributes: id
2547
+  (0.1ms) SAVEPOINT active_record_1
2548
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
2549
+ fb_share: true
2550
+ tw_share: true
2551
+ ', "updated_at" = '2012-02-05 10:30:58.453283' WHERE "users"."id" = 593363170
2552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2553
+ Redirected to http://test.host/users/593363170
2554
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
2555
+  (0.3ms) rollback transaction
2556
+  (0.4ms) begin transaction
2557
+ Processing by MainController#index as HTML
2558
+ Rendered main/index.html.erb within layouts/application (1.8ms)
2559
+ Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)
2560
+  (0.1ms) rollback transaction
2561
+  (0.0ms) begin transaction
2562
+  (0.0ms) rollback transaction
2563
+  (0.0ms) begin transaction
2564
+ Fixture Delete (0.3ms) DELETE FROM "users"
2565
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2566
+ :fb_share: true
2567
+ :tw_share: true
2568
+ ', '2012-02-05 10:35:50', '2012-02-05 10:35:50', 593363170)
2569
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:35:50', '2012-02-05 10:35:50', 815823836)
2570
+  (1.4ms) commit transaction
2571
+  (0.0ms) begin transaction
2572
+
2573
+
2574
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:35:50 -0800
2575
+ Processing by UsersController#new as HTML
2576
+ Rendered users/_form.html.erb (6.6ms)
2577
+ Completed 200 OK in 19ms (Views: 11.5ms | ActiveRecord: 0.0ms)
2578
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2579
+
2580
+
2581
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:35:50 -0800
2582
+ Processing by UsersController#create as HTML
2583
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
2584
+  (0.0ms) SAVEPOINT active_record_1
2585
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2587
+ Redirected to http://www.example.com/users/815823837
2588
+ Completed 302 Found in 34ms (ActiveRecord: 0.0ms)
2589
+
2590
+
2591
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:35:50 -0800
2592
+ Processing by UsersController#show as HTML
2593
+ Parameters: {"id"=>"815823837"}
2594
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2595
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
2596
+  (0.4ms) rollback transaction
2597
+  (0.0ms) begin transaction
2598
+  (0.0ms) SAVEPOINT active_record_1
2599
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2601
+  (0.5ms) rollback transaction
2602
+  (0.0ms) begin transaction
2603
+  (0.0ms) SAVEPOINT active_record_1
2604
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2606
+  (0.3ms) rollback transaction
2607
+  (0.0ms) begin transaction
2608
+  (0.0ms) SAVEPOINT active_record_1
2609
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2611
+  (0.0ms) SAVEPOINT active_record_1
2612
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2614
+  (0.6ms) rollback transaction
2615
+  (0.1ms) begin transaction
2616
+  (0.1ms) SAVEPOINT active_record_1
2617
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2619
+  (0.0ms) SAVEPOINT active_record_1
2620
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2622
+  (0.5ms) rollback transaction
2623
+  (0.0ms) begin transaction
2624
+  (0.0ms) SAVEPOINT active_record_1
2625
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2626
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2627
+  (0.4ms) rollback transaction
2628
+  (0.0ms) begin transaction
2629
+  (0.0ms) SAVEPOINT active_record_1
2630
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2632
+  (0.4ms) rollback transaction
2633
+  (0.0ms) begin transaction
2634
+  (0.0ms) SAVEPOINT active_record_1
2635
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2637
+  (0.0ms) SAVEPOINT active_record_1
2638
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:35:50.936571', "settings" = '---
2639
+ :fb_share: true
2640
+ :tw_share: true
2641
+ :tb_share: true
2642
+ ' WHERE "users"."id" = 815823837
2643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2644
+  (0.3ms) rollback transaction
2645
+  (0.1ms) begin transaction
2646
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
2647
+  (0.0ms) SAVEPOINT active_record_1
2648
+  (0.2ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:35:50.940785', "settings" = '---
2649
+ :fb_share: false
2650
+ :tw_share: false
2651
+ :tb_share: false
2652
+ ' WHERE "users"."id" = 815823836
2653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2654
+  (0.5ms) rollback transaction
2655
+  (0.0ms) begin transaction
2656
+  (0.0ms) SAVEPOINT active_record_1
2657
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2659
+  (0.0ms) SAVEPOINT active_record_1
2660
+  (0.3ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:35:50.944342', "settings" = '---
2661
+ :fb_share: false
2662
+ :tw_share: false
2663
+ :tb_share: false
2664
+ ' WHERE "users"."id" = 815823837
2665
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2666
+  (0.3ms) rollback transaction
2667
+  (0.1ms) begin transaction
2668
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2669
+
2670
+
2671
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:35:50 -0800
2672
+ Processing by UsersController#edit as HTML
2673
+ Parameters: {"id"=>"593363170"}
2674
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2675
+ Rendered users/_form.html.erb (3.3ms)
2676
+ Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.1ms)
2677
+
2678
+
2679
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:35:50 -0800
2680
+ Processing by UsersController#create as HTML
2681
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
2682
+  (0.1ms) SAVEPOINT active_record_1
2683
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2685
+ Redirected to http://www.example.com/users/815823837
2686
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2687
+
2688
+
2689
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:35:50 -0800
2690
+ Processing by UsersController#show as HTML
2691
+ Parameters: {"id"=>"815823837"}
2692
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2693
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2694
+  (0.5ms) rollback transaction
2695
+  (0.0ms) begin transaction
2696
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2697
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2698
+ Processing by UsersController#create as HTML
2699
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:35:50 UTC", "updated_at"=>"2012-02-05 10:35:50 UTC"}}
2700
+ WARNING: Can't mass-assign protected attributes: id
2701
+  (0.1ms) SAVEPOINT active_record_1
2702
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:35:50 UTC +00:00]]
2703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2704
+ Redirected to http://test.host/users/815823837
2705
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2706
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2707
+  (0.6ms) rollback transaction
2708
+  (0.0ms) begin transaction
2709
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2710
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2711
+ Processing by UsersController#destroy as HTML
2712
+ Parameters: {"id"=>"593363170"}
2713
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2714
+  (0.0ms) SAVEPOINT active_record_1
2715
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
2716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2717
+ Redirected to http://test.host/users
2718
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2719
+  (0.1ms) SELECT COUNT(*) FROM "users"
2720
+  (0.4ms) rollback transaction
2721
+  (0.1ms) begin transaction
2722
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2723
+ Processing by UsersController#edit as HTML
2724
+ Parameters: {"id"=>"593363170"}
2725
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2726
+ Rendered users/_form.html.erb (2.8ms)
2727
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
2728
+  (0.1ms) rollback transaction
2729
+  (0.0ms) begin transaction
2730
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2731
+ Processing by UsersController#index as HTML
2732
+ User Load (0.1ms) SELECT "users".* FROM "users"
2733
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
2734
+  (0.1ms) rollback transaction
2735
+  (0.1ms) begin transaction
2736
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2737
+ Processing by UsersController#new as HTML
2738
+ Rendered users/_form.html.erb (2.6ms)
2739
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
2740
+  (0.1ms) rollback transaction
2741
+  (0.1ms) begin transaction
2742
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2743
+ Processing by UsersController#show as HTML
2744
+ Parameters: {"id"=>"593363170"}
2745
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2746
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
2747
+  (0.1ms) rollback transaction
2748
+  (0.0ms) begin transaction
2749
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2750
+ Processing by UsersController#update as HTML
2751
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:35:50 UTC", "updated_at"=>"2012-02-05 10:35:50 UTC"}, "id"=>"593363170"}
2752
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2753
+ WARNING: Can't mass-assign protected attributes: id
2754
+  (0.1ms) SAVEPOINT active_record_1
2755
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
2756
+ fb_share: true
2757
+ tw_share: true
2758
+ ', "updated_at" = '2012-02-05 10:35:51.032972' WHERE "users"."id" = 593363170
2759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2760
+ Redirected to http://test.host/users/593363170
2761
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
2762
+  (0.4ms) rollback transaction
2763
+  (0.4ms) begin transaction
2764
+ Processing by MainController#index as HTML
2765
+ Rendered main/index.html.erb within layouts/application (1.8ms)
2766
+ Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms)
2767
+  (0.1ms) rollback transaction
2768
+  (0.0ms) begin transaction
2769
+  (0.0ms) rollback transaction
2770
+  (0.0ms) begin transaction
2771
+ Fixture Delete (0.3ms) DELETE FROM "users"
2772
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2773
+ :fb_share: true
2774
+ :tw_share: true
2775
+ ', '2012-02-05 10:36:01', '2012-02-05 10:36:01', 593363170)
2776
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-02-05 10:36:01', '2012-02-05 10:36:01', 815823836)
2777
+  (1.4ms) commit transaction
2778
+  (0.0ms) begin transaction
2779
+
2780
+
2781
+ Started GET "/users/new" for 127.0.0.1 at 2012-02-05 02:36:01 -0800
2782
+ Processing by UsersController#new as HTML
2783
+ Rendered users/_form.html.erb (7.0ms)
2784
+ Completed 200 OK in 18ms (Views: 12.3ms | ActiveRecord: 0.0ms)
2785
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2786
+
2787
+
2788
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:36:01 -0800
2789
+ Processing by UsersController#create as HTML
2790
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
2791
+  (0.0ms) SAVEPOINT active_record_1
2792
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2794
+ Redirected to http://www.example.com/users/815823837
2795
+ Completed 302 Found in 34ms (ActiveRecord: 0.0ms)
2796
+
2797
+
2798
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:36:01 -0800
2799
+ Processing by UsersController#show as HTML
2800
+ Parameters: {"id"=>"815823837"}
2801
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2802
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
2803
+  (0.4ms) rollback transaction
2804
+  (0.1ms) begin transaction
2805
+  (0.1ms) SAVEPOINT active_record_1
2806
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2808
+  (0.6ms) rollback transaction
2809
+  (0.0ms) begin transaction
2810
+  (0.0ms) SAVEPOINT active_record_1
2811
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2813
+  (0.3ms) rollback transaction
2814
+  (0.0ms) begin transaction
2815
+  (0.0ms) SAVEPOINT active_record_1
2816
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2818
+  (0.0ms) SAVEPOINT active_record_1
2819
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2821
+  (0.4ms) rollback transaction
2822
+  (0.0ms) begin transaction
2823
+  (0.0ms) SAVEPOINT active_record_1
2824
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2826
+  (0.0ms) SAVEPOINT active_record_1
2827
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2829
+  (0.5ms) rollback transaction
2830
+  (0.0ms) begin transaction
2831
+  (0.0ms) SAVEPOINT active_record_1
2832
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2834
+  (0.4ms) rollback transaction
2835
+  (0.0ms) begin transaction
2836
+  (0.0ms) SAVEPOINT active_record_1
2837
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2839
+  (0.4ms) rollback transaction
2840
+  (0.0ms) begin transaction
2841
+  (0.0ms) SAVEPOINT active_record_1
2842
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2844
+  (0.0ms) SAVEPOINT active_record_1
2845
+  (0.4ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:36:01.637517', "settings" = '---
2846
+ :fb_share: true
2847
+ :tw_share: true
2848
+ :tb_share: true
2849
+ ' WHERE "users"."id" = 815823837
2850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2851
+  (0.6ms) rollback transaction
2852
+  (0.0ms) begin transaction
2853
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
2854
+  (0.0ms) SAVEPOINT active_record_1
2855
+  (0.2ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:36:01.641679', "settings" = '---
2856
+ :fb_share: false
2857
+ :tw_share: false
2858
+ :tb_share: false
2859
+ ' WHERE "users"."id" = 815823836
2860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2861
+  (0.3ms) rollback transaction
2862
+  (0.0ms) begin transaction
2863
+  (0.0ms) SAVEPOINT active_record_1
2864
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2866
+  (0.0ms) SAVEPOINT active_record_1
2867
+  (0.4ms) UPDATE "users" SET "updated_at" = '2012-02-05 10:36:01.645916', "settings" = '---
2868
+ :fb_share: false
2869
+ :tw_share: false
2870
+ :tb_share: false
2871
+ ' WHERE "users"."id" = 815823837
2872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2873
+  (0.4ms) rollback transaction
2874
+  (0.1ms) begin transaction
2875
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2876
+
2877
+
2878
+ Started GET "/users/593363170/edit" for 127.0.0.1 at 2012-02-05 02:36:01 -0800
2879
+ Processing by UsersController#edit as HTML
2880
+ Parameters: {"id"=>"593363170"}
2881
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2882
+ Rendered users/_form.html.erb (3.0ms)
2883
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.1ms)
2884
+
2885
+
2886
+ Started POST "/users" for 127.0.0.1 at 2012-02-05 02:36:01 -0800
2887
+ Processing by UsersController#create as HTML
2888
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
2889
+  (0.1ms) SAVEPOINT active_record_1
2890
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", nil], ["name", nil], ["settings", nil], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2892
+ Redirected to http://www.example.com/users/815823837
2893
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2894
+
2895
+
2896
+ Started GET "/users/815823837" for 127.0.0.1 at 2012-02-05 02:36:01 -0800
2897
+ Processing by UsersController#show as HTML
2898
+ Parameters: {"id"=>"815823837"}
2899
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
2900
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
2901
+  (0.5ms) rollback transaction
2902
+  (0.0ms) begin transaction
2903
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2904
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2905
+ Processing by UsersController#create as HTML
2906
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:36:01 UTC", "updated_at"=>"2012-02-05 10:36:01 UTC"}}
2907
+ WARNING: Can't mass-assign protected attributes: id
2908
+  (0.1ms) SAVEPOINT active_record_1
2909
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 05 Feb 2012 10:36:01 UTC +00:00]]
2910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2911
+ Redirected to http://test.host/users/815823837
2912
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2913
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2914
+  (0.3ms) rollback transaction
2915
+  (0.0ms) begin transaction
2916
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2917
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2918
+ Processing by UsersController#destroy as HTML
2919
+ Parameters: {"id"=>"593363170"}
2920
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2921
+  (0.0ms) SAVEPOINT active_record_1
2922
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
2923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2924
+ Redirected to http://test.host/users
2925
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2926
+  (0.1ms) SELECT COUNT(*) FROM "users"
2927
+  (0.3ms) rollback transaction
2928
+  (0.0ms) begin transaction
2929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2930
+ Processing by UsersController#edit as HTML
2931
+ Parameters: {"id"=>"593363170"}
2932
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2933
+ Rendered users/_form.html.erb (2.9ms)
2934
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
2935
+  (0.1ms) rollback transaction
2936
+  (0.0ms) begin transaction
2937
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2938
+ Processing by UsersController#index as HTML
2939
+ User Load (0.1ms) SELECT "users".* FROM "users"
2940
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)
2941
+  (0.1ms) rollback transaction
2942
+  (0.0ms) begin transaction
2943
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2944
+ Processing by UsersController#new as HTML
2945
+ Rendered users/_form.html.erb (2.5ms)
2946
+ Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
2947
+  (0.1ms) rollback transaction
2948
+  (0.0ms) begin transaction
2949
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2950
+ Processing by UsersController#show as HTML
2951
+ Parameters: {"id"=>"593363170"}
2952
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2953
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
2954
+  (0.1ms) rollback transaction
2955
+  (0.0ms) begin transaction
2956
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
2957
+ Processing by UsersController#update as HTML
2958
+ Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2012-02-05 10:36:01 UTC", "updated_at"=>"2012-02-05 10:36:01 UTC"}, "id"=>"593363170"}
2959
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
2960
+ WARNING: Can't mass-assign protected attributes: id
2961
+  (0.1ms) SAVEPOINT active_record_1
2962
+  (0.3ms) UPDATE "users" SET "settings" = '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
2963
+ fb_share: true
2964
+ tw_share: true
2965
+ ', "updated_at" = '2012-02-05 10:36:01.731315' WHERE "users"."id" = 593363170
2966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2967
+ Redirected to http://test.host/users/593363170
2968
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
2969
+  (0.4ms) rollback transaction