serializer 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -1
- data/lib/serializer.rb +22 -2
- data/lib/serializer/version.rb +1 -1
- data/test/dummy/app/models/user.rb +10 -1
- data/test/dummy/app/views/users/_form.html.erb +4 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +21 -0
- data/test/dummy/log/test.log +1721 -0
- data/test/dummy/test/integration/user_create_test.rb +1 -1
- data/test/dummy/test/integration/user_update_test.rb +1 -1
- data/test/dummy/test/unit/user_test.rb +57 -13
- metadata +7 -7
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
|
-
|
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
|
-
|
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
|
|
data/lib/serializer/version.rb
CHANGED
@@ -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 :
|
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 :
|
34
|
-
<%= f.label :
|
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 :
|
39
|
-
<%= f.label :
|
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
|
data/test/dummy/db/test.sqlite3
CHANGED
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
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
197
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
198
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
199
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
200
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
201
|
+
Migrating to CreateUsers (20110927222742)
|
202
|
+
[1m[35m (0.1ms)[0m begin transaction
|
203
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
204
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
|
205
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
206
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
207
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
208
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
209
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
210
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
211
|
+
[1m[36m (1.4ms)[0m [1mCREATE 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) [0m
|
212
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
213
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
214
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
215
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
216
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
|
data/test/dummy/log/test.log
CHANGED
@@ -1246,3 +1246,1724 @@ tw_share: true
|
|
1246
1246
|
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "users"[0m
|
1253
|
+
[1m[35mFixture Insert (0.3ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1271
|
+
[1m[35mSQL (2.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
1281
|
+
Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.1ms)
|
1282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1283
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1286
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1288
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1289
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1295
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
1296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1297
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1304
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1307
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1313
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1328
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
1338
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
|
1339
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1340
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1345
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1347
|
+
Redirected to http://test.host/users/815823837
|
1348
|
+
Completed 302 Found in 6ms
|
1349
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
1350
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1351
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
1352
|
+
Processing by UsersController#destroy as HTML
|
1353
|
+
Parameters: {"id"=>"593363170"}
|
1354
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
1355
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1356
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
|
1357
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1358
|
+
Redirected to http://test.host/users
|
1359
|
+
Completed 302 Found in 5ms
|
1360
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1361
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1362
|
+
Processing by UsersController#edit as HTML
|
1363
|
+
Parameters: {"id"=>"593363170"}
|
1364
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1368
|
+
Processing by UsersController#index as HTML
|
1369
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
1370
|
+
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)
|
1371
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1376
|
+
Processing by UsersController#show as HTML
|
1377
|
+
Parameters: {"id"=>"593363170"}
|
1378
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1379
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
1380
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1384
|
+
WARNING: Can't mass-assign protected attributes: id
|
1385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1386
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
1390
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1391
|
+
Redirected to http://test.host/users/593363170
|
1392
|
+
Completed 302 Found in 5ms
|
1393
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1399
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1401
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
1402
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
1406
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1408
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1417
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1418
|
+
[1m[35mSQL (1.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1420
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1421
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1422
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1423
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1425
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1426
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1428
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1429
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1430
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1431
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1434
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1436
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1438
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1439
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1441
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1442
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1443
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1444
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1446
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1448
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1449
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1451
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1452
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1458
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1460
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
1461
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1462
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1463
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1464
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1466
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1467
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
1472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1473
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1475
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1485
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1486
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1487
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1492
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1494
|
+
Redirected to http://test.host/users/815823837
|
1495
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
|
1496
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1497
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1499
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1500
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1501
|
+
Processing by UsersController#destroy as HTML
|
1502
|
+
Parameters: {"id"=>"593363170"}
|
1503
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1505
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
1506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1507
|
+
Redirected to http://test.host/users
|
1508
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
1509
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
1510
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1512
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1513
|
+
Processing by UsersController#edit as HTML
|
1514
|
+
Parameters: {"id"=>"593363170"}
|
1515
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1516
|
+
Rendered users/_form.html.erb (2.8ms)
|
1517
|
+
Completed 500 Internal Server Error in 4ms
|
1518
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1519
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1520
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1521
|
+
Processing by UsersController#index as HTML
|
1522
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1523
|
+
Completed 200 OK in 34ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
1524
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1526
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1532
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1533
|
+
Processing by UsersController#show as HTML
|
1534
|
+
Parameters: {"id"=>"593363170"}
|
1535
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
1536
|
+
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
1537
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1538
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1539
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
1543
|
+
WARNING: Can't mass-assign protected attributes: id
|
1544
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1545
|
+
[1m[35m (0.8ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1550
|
+
Redirected to http://test.host/users/593363170
|
1551
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
1552
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1553
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1558
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1559
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1561
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users"
|
1562
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
|
1566
|
+
[1m[35mFixture Insert (0.0ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1568
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1582
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
1592
|
+
Completed 500 Internal Server Error in 3ms
|
1593
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1595
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1596
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1598
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1599
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1600
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1601
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1603
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1604
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1606
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1607
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1608
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1609
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1611
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1612
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1614
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1616
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1617
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1619
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1622
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1624
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1627
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1629
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1630
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
1635
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1636
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1638
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 815823836]]
|
1639
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1640
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1642
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1645
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1651
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1652
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1653
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1668
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
1678
|
+
Completed 500 Internal Server Error in 2ms
|
1679
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1681
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1682
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1687
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1689
|
+
Redirected to http://test.host/users/815823837
|
1690
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
1691
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
1692
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1693
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1694
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1695
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
1696
|
+
Processing by UsersController#destroy as HTML
|
1697
|
+
Parameters: {"id"=>"593363170"}
|
1698
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
1699
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1700
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
|
1701
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1702
|
+
Redirected to http://test.host/users
|
1703
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
1704
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1705
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1706
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1707
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1708
|
+
Processing by UsersController#edit as HTML
|
1709
|
+
Parameters: {"id"=>"593363170"}
|
1710
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1715
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1716
|
+
Processing by UsersController#index as HTML
|
1717
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
1718
|
+
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
|
1719
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1720
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1721
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1726
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1727
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1728
|
+
Processing by UsersController#show as HTML
|
1729
|
+
Parameters: {"id"=>"593363170"}
|
1730
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1731
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
1732
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1733
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1734
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1738
|
+
WARNING: Can't mass-assign protected attributes: id
|
1739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1740
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
1744
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1745
|
+
Redirected to http://test.host/users/593363170
|
1746
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
1747
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1748
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1753
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1754
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1756
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
1757
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1761
|
+
[1m[35mFixture Insert (0.0ms)[0m 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
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1763
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1777
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
1787
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
1788
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1790
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1791
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1793
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1796
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1798
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1799
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1801
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1804
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1807
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1809
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1810
|
+
[1m[35m (0.6ms)[0m begin transaction
|
1811
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1812
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1814
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1816
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1817
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1819
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1821
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1822
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1824
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1825
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "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[0m
|
1830
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1831
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1832
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1833
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 815823836]]
|
1834
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1835
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
1840
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1841
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1842
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1843
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1844
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1846
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1847
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
1852
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1853
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1854
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1855
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1870
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
1880
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
1881
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1882
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1883
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1884
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1889
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1891
|
+
Redirected to http://test.host/users/815823837
|
1892
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
1893
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1894
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1895
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1896
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1897
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1898
|
+
Processing by UsersController#destroy as HTML
|
1899
|
+
Parameters: {"id"=>"593363170"}
|
1900
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1901
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1902
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
1903
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1904
|
+
Redirected to http://test.host/users
|
1905
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
1906
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
1907
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1909
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1910
|
+
Processing by UsersController#edit as HTML
|
1911
|
+
Parameters: {"id"=>"593363170"}
|
1912
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
1913
|
+
Rendered users/_form.html.erb (2.8ms)
|
1914
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
1915
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1917
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
1918
|
+
Processing by UsersController#index as HTML
|
1919
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1920
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
1921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1923
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1929
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
1930
|
+
Processing by UsersController#show as HTML
|
1931
|
+
Parameters: {"id"=>"593363170"}
|
1932
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
1933
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1934
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1935
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1936
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
1940
|
+
WARNING: Can't mass-assign protected attributes: id
|
1941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1942
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1947
|
+
Redirected to http://test.host/users/593363170
|
1948
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
1949
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1950
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1956
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1958
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
1959
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1963
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
1965
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1979
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
1989
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
|
1990
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1993
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1995
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1996
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1997
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1998
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2000
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2001
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2003
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2004
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2005
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2006
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2008
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2009
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2011
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2013
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2014
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2016
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2018
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2019
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2021
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2024
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2027
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
2032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2033
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2034
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2035
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 815823836]]
|
2036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2037
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
2042
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2043
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2044
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2045
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2046
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2048
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2049
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
2054
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2055
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2056
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2057
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2072
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
2082
|
+
Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
2083
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2085
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2086
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2091
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2093
|
+
Redirected to http://test.host/users/815823837
|
2094
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
2095
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2096
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2098
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2099
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2100
|
+
Processing by UsersController#destroy as HTML
|
2101
|
+
Parameters: {"id"=>"593363170"}
|
2102
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2103
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2104
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
2105
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2106
|
+
Redirected to http://test.host/users
|
2107
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
2108
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
2109
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2111
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2112
|
+
Processing by UsersController#edit as HTML
|
2113
|
+
Parameters: {"id"=>"593363170"}
|
2114
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2115
|
+
Rendered users/_form.html.erb (2.8ms)
|
2116
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
2117
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2118
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2119
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2120
|
+
Processing by UsersController#index as HTML
|
2121
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
2122
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
|
2123
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2125
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2131
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2132
|
+
Processing by UsersController#show as HTML
|
2133
|
+
Parameters: {"id"=>"593363170"}
|
2134
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2135
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2136
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2137
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2138
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2142
|
+
WARNING: Can't mass-assign protected attributes: id
|
2143
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2144
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2149
|
+
Redirected to http://test.host/users/593363170
|
2150
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
2151
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2152
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2158
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2159
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2160
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
2161
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
2165
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
2167
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2181
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
2191
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
2192
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2195
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2197
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2198
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2199
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2200
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2202
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2203
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2205
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2207
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2208
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2210
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2211
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2213
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2214
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2215
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2216
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2218
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2220
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2221
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2223
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2225
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2226
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2228
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2229
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "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[0m
|
2234
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2235
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2236
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2237
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 815823836]]
|
2238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2239
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
2244
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2245
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2247
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2248
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2251
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "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[0m
|
2256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2257
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2258
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2259
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2274
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
2284
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
2285
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2286
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2287
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2288
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2293
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2295
|
+
Redirected to http://test.host/users/815823837
|
2296
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
2297
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2298
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2300
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2301
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2302
|
+
Processing by UsersController#destroy as HTML
|
2303
|
+
Parameters: {"id"=>"593363170"}
|
2304
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2306
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
2307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2308
|
+
Redirected to http://test.host/users
|
2309
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
2310
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
2311
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2313
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2314
|
+
Processing by UsersController#edit as HTML
|
2315
|
+
Parameters: {"id"=>"593363170"}
|
2316
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2317
|
+
Rendered users/_form.html.erb (2.8ms)
|
2318
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
2319
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2321
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2322
|
+
Processing by UsersController#index as HTML
|
2323
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
2324
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
2325
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2327
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2332
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2333
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2334
|
+
Processing by UsersController#show as HTML
|
2335
|
+
Parameters: {"id"=>"593363170"}
|
2336
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2337
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
2338
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2340
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2344
|
+
WARNING: Can't mass-assign protected attributes: id
|
2345
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2346
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2351
|
+
Redirected to http://test.host/users/593363170
|
2352
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
2353
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2354
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2359
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2360
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2361
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2362
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
2363
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
2367
|
+
[1m[35mFixture Insert (0.0ms)[0m 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
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
2369
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2383
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
2393
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
2394
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2395
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2397
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2399
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2401
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2402
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2405
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2407
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2409
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2410
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2413
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2415
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2417
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2418
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2420
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2422
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2423
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2425
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2427
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2428
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2430
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2431
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "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[0m
|
2436
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2437
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2438
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2439
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 815823836]]
|
2440
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2441
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
2446
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2447
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2449
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2450
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2452
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2453
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
2458
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2459
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2461
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2476
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
2486
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
2487
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2489
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2490
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2495
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2497
|
+
Redirected to http://test.host/users/815823837
|
2498
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
2499
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2500
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2501
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2502
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2503
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2504
|
+
Processing by UsersController#destroy as HTML
|
2505
|
+
Parameters: {"id"=>"593363170"}
|
2506
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2507
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2508
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
2509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2510
|
+
Redirected to http://test.host/users
|
2511
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
2512
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
2513
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2514
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2515
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2516
|
+
Processing by UsersController#edit as HTML
|
2517
|
+
Parameters: {"id"=>"593363170"}
|
2518
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2519
|
+
Rendered users/_form.html.erb (2.9ms)
|
2520
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
2521
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2523
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2524
|
+
Processing by UsersController#index as HTML
|
2525
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
2526
|
+
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms)
|
2527
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2528
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2529
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2535
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2536
|
+
Processing by UsersController#show as HTML
|
2537
|
+
Parameters: {"id"=>"593363170"}
|
2538
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2539
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2540
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2541
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2542
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2546
|
+
WARNING: Can't mass-assign protected attributes: id
|
2547
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2548
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2553
|
+
Redirected to http://test.host/users/593363170
|
2554
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
2555
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2556
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2562
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2564
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
2565
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
2569
|
+
[1m[35mFixture Insert (0.0ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
2571
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2585
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
2595
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
2596
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2598
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2599
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2601
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2603
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2604
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2606
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2608
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2609
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2611
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2612
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2614
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2616
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2617
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2619
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2620
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2622
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2623
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2624
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2625
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2627
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2629
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2630
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2632
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2634
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2635
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2637
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2638
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2644
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2646
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
2647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2648
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2654
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2655
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2656
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2657
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2659
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2660
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2666
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2667
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2668
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2683
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
2693
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2694
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2696
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2697
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2702
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2704
|
+
Redirected to http://test.host/users/815823837
|
2705
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
2706
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
2707
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2709
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2710
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
2711
|
+
Processing by UsersController#destroy as HTML
|
2712
|
+
Parameters: {"id"=>"593363170"}
|
2713
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2714
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2715
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
|
2716
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2717
|
+
Redirected to http://test.host/users
|
2718
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
2719
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2720
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2721
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2722
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2723
|
+
Processing by UsersController#edit as HTML
|
2724
|
+
Parameters: {"id"=>"593363170"}
|
2725
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2729
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2730
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2731
|
+
Processing by UsersController#index as HTML
|
2732
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
2733
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
2734
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2735
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2736
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2741
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2742
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2743
|
+
Processing by UsersController#show as HTML
|
2744
|
+
Parameters: {"id"=>"593363170"}
|
2745
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2746
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
2747
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2749
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2753
|
+
WARNING: Can't mass-assign protected attributes: id
|
2754
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2755
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
2759
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2760
|
+
Redirected to http://test.host/users/593363170
|
2761
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
2762
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2763
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2768
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2769
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2771
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
2772
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
2776
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
2778
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2792
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
2802
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
2803
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2806
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2808
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2811
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2813
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2816
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2818
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2819
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2821
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2824
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2826
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2827
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2829
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2830
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2831
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2832
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2834
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2835
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2836
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2837
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2839
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2840
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2842
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2844
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2845
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2851
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2853
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
2854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2855
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2861
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2864
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2866
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2867
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2873
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2875
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2890
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "815823837"]]
|
2900
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
2901
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2903
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2904
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2909
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2911
|
+
Redirected to http://test.host/users/815823837
|
2912
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
2913
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
2914
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2915
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2916
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2917
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
2918
|
+
Processing by UsersController#destroy as HTML
|
2919
|
+
Parameters: {"id"=>"593363170"}
|
2920
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
2921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2922
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 593363170]]
|
2923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2924
|
+
Redirected to http://test.host/users
|
2925
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
2926
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
2927
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2929
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2930
|
+
Processing by UsersController#edit as HTML
|
2931
|
+
Parameters: {"id"=>"593363170"}
|
2932
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2937
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
2938
|
+
Processing by UsersController#index as HTML
|
2939
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
2940
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)
|
2941
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2942
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2943
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2949
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
2950
|
+
Processing by UsersController#show as HTML
|
2951
|
+
Parameters: {"id"=>"593363170"}
|
2952
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2953
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
2954
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2956
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
2960
|
+
WARNING: Can't mass-assign protected attributes: id
|
2961
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2962
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
2966
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2967
|
+
Redirected to http://test.host/users/593363170
|
2968
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
2969
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|