disclaimer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -14298,3 +14298,999 @@ Connecting to database specified by database.yml
14298
14298
   (172.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14299
14299
   (0.3ms) SELECT version FROM "schema_migrations"
14300
14300
   (215.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024080818')
14301
+
14302
+
14303
+ Started GET "/" for 127.0.0.1 at 2013-01-24 10:07:26 +0000
14304
+ Connecting to database specified by database.yml
14305
+
14306
+ ActionController::RoutingError (No route matches [GET] "/"):
14307
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
14308
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
14309
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
14310
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
14311
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
14312
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
14313
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
14314
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
14315
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
14316
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
14317
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
14318
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
14319
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
14320
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
14321
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
14322
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
14323
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
14324
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
14325
+
14326
+
14327
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.3ms)
14328
+
14329
+
14330
+ Started GET "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:07:35 +0000
14331
+ Processing by Disclaimer::DocumentsController#index as HTML
14332
+ Disclaimer::Document Load (1.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14333
+ Disclaimer::Segment Load (0.4ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14334
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (115.7ms)
14335
+ Completed 200 OK in 519ms (Views: 465.4ms | ActiveRecord: 5.7ms)
14336
+
14337
+
14338
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:07:35 +0000
14339
+ Served asset /disclaimer/application.css - 200 OK (23ms)
14340
+
14341
+
14342
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:07:35 +0000
14343
+ Served asset /disclaimer/documents.css - 200 OK (5ms)
14344
+
14345
+
14346
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:07:35 +0000
14347
+ Served asset /disclaimer/segments.css - 200 OK (20ms)
14348
+
14349
+
14350
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-24 10:07:35 +0000
14351
+ Served asset /jquery.js - 200 OK (39ms)
14352
+
14353
+
14354
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-24 10:07:35 +0000
14355
+ Served asset /jquery_ujs.js - 200 OK (10ms)
14356
+
14357
+
14358
+ Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2013-01-24 10:07:35 +0000
14359
+ Served asset /jquery-ui.js - 200 OK (38ms)
14360
+
14361
+
14362
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:07:36 +0000
14363
+ Served asset /disclaimer/documents.js - 200 OK (5ms)
14364
+
14365
+
14366
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:07:36 +0000
14367
+ Served asset /disclaimer/segments.js - 200 OK (15ms)
14368
+
14369
+
14370
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:07:36 +0000
14371
+ Served asset /disclaimer/application.js - 200 OK (119ms)
14372
+
14373
+
14374
+ Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2013-01-24 10:07:40 +0000
14375
+ Processing by Disclaimer::DocumentsController#show as HTML
14376
+ Parameters: {"id"=>"main"}
14377
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1
14378
+ Disclaimer::Segment Load (4.2ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14379
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (15.1ms)
14380
+ Completed 200 OK in 73ms (Views: 42.3ms | ActiveRecord: 4.5ms)
14381
+
14382
+
14383
+ Started GET "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:07:49 +0000
14384
+ Processing by Disclaimer::DocumentsController#index as HTML
14385
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14386
+ Disclaimer::Segment Load (0.4ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14387
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (9.3ms)
14388
+ Completed 200 OK in 56ms (Views: 54.4ms | ActiveRecord: 0.7ms)
14389
+
14390
+
14391
+ Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2013-01-24 10:07:51 +0000
14392
+ Processing by Disclaimer::DocumentsController#edit as HTML
14393
+ Parameters: {"id"=>"main"}
14394
+ Disclaimer::Document Load (0.5ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1
14395
+ Disclaimer::Segment Load (0.5ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"
14396
+ Disclaimer::Segment Exists (0.4ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1
14397
+ Disclaimer::Segment Exists (0.4ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1
14398
+ Disclaimer::Segment Exists (0.4ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1
14399
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (29.7ms)
14400
+ Completed 200 OK in 48ms (Views: 43.4ms | ActiveRecord: 2.1ms)
14401
+
14402
+
14403
+ Started GET "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:09:09 +0000
14404
+ Connecting to database specified by database.yml
14405
+ Processing by Disclaimer::DocumentsController#index as HTML
14406
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14407
+ Disclaimer::Segment Load (2.0ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14408
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (136.7ms)
14409
+ Compiled disclaimer/application.js (4ms) (pid 3421)
14410
+ Completed 200 OK in 316ms (Views: 246.3ms | ActiveRecord: 8.4ms)
14411
+
14412
+
14413
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:10 +0000
14414
+ Served asset /disclaimer/application.css - 304 Not Modified (24ms)
14415
+
14416
+
14417
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:10 +0000
14418
+ Served asset /disclaimer/documents.css - 304 Not Modified (27ms)
14419
+
14420
+
14421
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:10 +0000
14422
+ Served asset /disclaimer/segments.css - 304 Not Modified (33ms)
14423
+
14424
+
14425
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:10 +0000
14426
+ Served asset /disclaimer/documents.js - 304 Not Modified (15ms)
14427
+
14428
+
14429
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:10 +0000
14430
+ Served asset /disclaimer/application.js - 200 OK (16ms)
14431
+
14432
+
14433
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:11 +0000
14434
+ Served asset /disclaimer/segments.js - 304 Not Modified (29ms)
14435
+
14436
+
14437
+ Started GET "/disclaimer/documents/new" for 127.0.0.1 at 2013-01-24 10:09:12 +0000
14438
+ Processing by Disclaimer::DocumentsController#new as HTML
14439
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 
14440
+ Disclaimer::Segment Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" IS NULL AND "disclaimer_segments"."id" = 1 LIMIT 1
14441
+ Disclaimer::Segment Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" IS NULL AND "disclaimer_segments"."id" = 2 LIMIT 1
14442
+ Disclaimer::Segment Exists (0.3ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" IS NULL AND "disclaimer_segments"."id" = 3 LIMIT 1
14443
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (28.9ms)
14444
+ Completed 200 OK in 39ms (Views: 37.7ms | ActiveRecord: 0.9ms)
14445
+
14446
+
14447
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:12 +0000
14448
+ Served asset /disclaimer/application.css - 304 Not Modified (6ms)
14449
+
14450
+
14451
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:12 +0000
14452
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14453
+
14454
+
14455
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:12 +0000
14456
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14457
+
14458
+
14459
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:12 +0000
14460
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14461
+
14462
+
14463
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:12 +0000
14464
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14465
+
14466
+
14467
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:12 +0000
14468
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14469
+
14470
+
14471
+ Started POST "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14472
+ Processing by Disclaimer::DocumentsController#create as HTML
14473
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "document"=>{"name"=>"delete_me", "title"=>"test", "header"=>"This is a test", "segments"=>{"1"=>"on", "2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Create Document"}
14474
+ Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]]
14475
+ Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]]
14476
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]
14477
+  (0.1ms) begin transaction
14478
+ SQL (119.4ms) INSERT INTO "disclaimer_documents" ("created_at", "footer", "header", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00], ["footer", ""], ["header", "This is a test"], ["name", "delete_me"], ["title", "test"], ["updated_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00]]
14479
+ Disclaimer::SegmentHolder Load (0.4ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 2) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1
14480
+ SQL (0.9ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00], ["document_id", 2], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00]]
14481
+ Disclaimer::SegmentHolder Load (0.3ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 2) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1
14482
+ SQL (0.3ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00], ["document_id", 2], ["position", 2], ["segment_id", 2], ["updated_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00]]
14483
+ Disclaimer::SegmentHolder Load (0.4ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 2) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1
14484
+ SQL (1.1ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00], ["document_id", 2], ["position", 3], ["segment_id", 3], ["updated_at", Thu, 24 Jan 2013 10:09:29 UTC +00:00]]
14485
+  (205.7ms) commit transaction
14486
+ Redirected to http://localhost:3000/disclaimer/documents/delete_me
14487
+ Completed 302 Found in 448ms (ActiveRecord: 329.3ms)
14488
+
14489
+
14490
+ Started GET "/disclaimer/documents/delete_me" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14491
+ Processing by Disclaimer::DocumentsController#show as HTML
14492
+ Parameters: {"id"=>"delete_me"}
14493
+ Disclaimer::Document Load (1.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delete_me' LIMIT 1
14494
+ Disclaimer::Segment Load (0.4ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 2 ORDER BY position
14495
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (12.8ms)
14496
+ Completed 200 OK in 64ms (Views: 29.9ms | ActiveRecord: 1.6ms)
14497
+
14498
+
14499
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14500
+ Served asset /disclaimer/application.css - 304 Not Modified (9ms)
14501
+
14502
+
14503
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14504
+ Served asset /disclaimer/segments.css - 304 Not Modified (2ms)
14505
+
14506
+
14507
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14508
+ Served asset /disclaimer/documents.css - 304 Not Modified (4ms)
14509
+
14510
+
14511
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14512
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14513
+
14514
+
14515
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14516
+ Served asset /disclaimer/application.js - 304 Not Modified (1ms)
14517
+
14518
+
14519
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:29 +0000
14520
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14521
+
14522
+
14523
+ Started GET "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:09:35 +0000
14524
+ Processing by Disclaimer::DocumentsController#index as HTML
14525
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14526
+ Disclaimer::Segment Load (0.6ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14527
+ Disclaimer::Segment Load (0.5ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 2 ORDER BY position
14528
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (31.4ms)
14529
+ Completed 200 OK in 58ms (Views: 54.7ms | ActiveRecord: 1.4ms)
14530
+
14531
+
14532
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:35 +0000
14533
+ Served asset /disclaimer/application.css - 304 Not Modified (19ms)
14534
+
14535
+
14536
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:35 +0000
14537
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14538
+
14539
+
14540
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:35 +0000
14541
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14542
+
14543
+
14544
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:35 +0000
14545
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14546
+
14547
+
14548
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:35 +0000
14549
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14550
+
14551
+
14552
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:35 +0000
14553
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14554
+
14555
+
14556
+ Started GET "/disclaimer/documents/delete_me/delete" for 127.0.0.1 at 2013-01-24 10:09:37 +0000
14557
+ Processing by Disclaimer::DocumentsController#delete as HTML
14558
+ Parameters: {"id"=>"delete_me"}
14559
+ Disclaimer::Document Load (0.5ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delete_me' LIMIT 1
14560
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb within layouts/disclaimer/application (2.0ms)
14561
+ Completed 200 OK in 23ms (Views: 14.9ms | ActiveRecord: 0.5ms)
14562
+
14563
+
14564
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:37 +0000
14565
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14566
+
14567
+
14568
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:37 +0000
14569
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14570
+
14571
+
14572
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:38 +0000
14573
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14574
+
14575
+
14576
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:38 +0000
14577
+ Served asset /disclaimer/documents.js - 304 Not Modified (3ms)
14578
+
14579
+
14580
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:38 +0000
14581
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14582
+
14583
+
14584
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:38 +0000
14585
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14586
+
14587
+
14588
+ Started DELETE "/disclaimer/documents/delete_me" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14589
+ Processing by Disclaimer::DocumentsController#destroy as HTML
14590
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "commit"=>"Yes", "id"=>"delete_me"}
14591
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delete_me' LIMIT 1
14592
+  (0.1ms) begin transaction
14593
+ SQL (1.1ms) DELETE FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? [["id", 2]]
14594
+  (186.2ms) commit transaction
14595
+ Redirected to http://localhost:3000/disclaimer/
14596
+ Completed 302 Found in 202ms (ActiveRecord: 187.6ms)
14597
+
14598
+
14599
+ Started GET "/disclaimer/" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14600
+ Processing by Disclaimer::DocumentsController#index as HTML
14601
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14602
+ Disclaimer::Segment Load (7.7ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14603
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (13.2ms)
14604
+ Completed 200 OK in 30ms (Views: 20.8ms | ActiveRecord: 8.0ms)
14605
+
14606
+
14607
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14608
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14609
+
14610
+
14611
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14612
+ Served asset /disclaimer/documents.css - 304 Not Modified (17ms)
14613
+
14614
+
14615
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14616
+ Served asset /disclaimer/application.js - 304 Not Modified (6ms)
14617
+
14618
+
14619
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14620
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14621
+
14622
+
14623
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14624
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14625
+
14626
+
14627
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:09:44 +0000
14628
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14629
+
14630
+
14631
+ Started GET "/disclaimer/" for 127.0.0.1 at 2013-01-24 10:10:40 +0000
14632
+ Connecting to database specified by database.yml
14633
+ Processing by Disclaimer::DocumentsController#index as HTML
14634
+ Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14635
+ Disclaimer::Segment Load (0.5ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14636
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (129.3ms)
14637
+ Completed 200 OK in 269ms (Views: 193.3ms | ActiveRecord: 6.6ms)
14638
+
14639
+
14640
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:10:41 +0000
14641
+ Served asset /disclaimer/application.css - 304 Not Modified (22ms)
14642
+
14643
+
14644
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:10:41 +0000
14645
+ Served asset /disclaimer/documents.css - 304 Not Modified (35ms)
14646
+
14647
+
14648
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:10:41 +0000
14649
+ Served asset /disclaimer/segments.css - 304 Not Modified (2ms)
14650
+
14651
+
14652
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:10:41 +0000
14653
+ Served asset /disclaimer/documents.js - 304 Not Modified (14ms)
14654
+
14655
+
14656
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:10:41 +0000
14657
+ Served asset /disclaimer/segments.js - 304 Not Modified (2ms)
14658
+
14659
+
14660
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:10:41 +0000
14661
+ Served asset /disclaimer/application.js - 304 Not Modified (17ms)
14662
+
14663
+
14664
+ Started GET "/disclaimer/documents/new" for 127.0.0.1 at 2013-01-24 10:10:44 +0000
14665
+ Processing by Disclaimer::DocumentsController#new as HTML
14666
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 
14667
+ Disclaimer::Segment Exists (0.3ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" IS NULL AND "disclaimer_segments"."id" = 1 LIMIT 1
14668
+ Disclaimer::Segment Exists (0.3ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" IS NULL AND "disclaimer_segments"."id" = 2 LIMIT 1
14669
+ Disclaimer::Segment Exists (0.8ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" IS NULL AND "disclaimer_segments"."id" = 3 LIMIT 1
14670
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (57.0ms)
14671
+ Completed 200 OK in 64ms (Views: 62.2ms | ActiveRecord: 1.6ms)
14672
+
14673
+
14674
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:10:44 +0000
14675
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14676
+
14677
+
14678
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:10:44 +0000
14679
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14680
+
14681
+
14682
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:10:44 +0000
14683
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14684
+
14685
+
14686
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:10:44 +0000
14687
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14688
+
14689
+
14690
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:10:44 +0000
14691
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14692
+
14693
+
14694
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:10:44 +0000
14695
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14696
+
14697
+
14698
+ Started POST "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:10:59 +0000
14699
+ Processing by Disclaimer::DocumentsController#create as HTML
14700
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "document"=>{"name"=>"delet", "title"=>"Get off my land", "header"=>"Help", "segments"=>{"1"=>"on"}, "footer"=>""}, "commit"=>"Create Document"}
14701
+ Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]]
14702
+  (0.0ms) begin transaction
14703
+ SQL (10.0ms) INSERT INTO "disclaimer_documents" ("created_at", "footer", "header", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 24 Jan 2013 10:11:00 UTC +00:00], ["footer", ""], ["header", "Help"], ["name", "delet"], ["title", "Get off my land"], ["updated_at", Thu, 24 Jan 2013 10:11:00 UTC +00:00]]
14704
+ Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 3) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1
14705
+ SQL (0.7ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 24 Jan 2013 10:11:00 UTC +00:00], ["document_id", 3], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 24 Jan 2013 10:11:00 UTC +00:00]]
14706
+  (324.1ms) commit transaction
14707
+ Redirected to http://localhost:3000/disclaimer/documents/delet
14708
+ Completed 302 Found in 381ms (ActiveRecord: 335.6ms)
14709
+
14710
+
14711
+ Started GET "/disclaimer/documents/delet" for 127.0.0.1 at 2013-01-24 10:11:00 +0000
14712
+ Processing by Disclaimer::DocumentsController#show as HTML
14713
+ Parameters: {"id"=>"delet"}
14714
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delet' LIMIT 1
14715
+ Disclaimer::Segment Load (7.6ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 ORDER BY position
14716
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (17.5ms)
14717
+ Completed 200 OK in 38ms (Views: 27.1ms | ActiveRecord: 7.8ms)
14718
+
14719
+
14720
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:00 +0000
14721
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14722
+
14723
+
14724
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:00 +0000
14725
+ Served asset /disclaimer/documents.css - 304 Not Modified (11ms)
14726
+
14727
+
14728
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:00 +0000
14729
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14730
+
14731
+
14732
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:00 +0000
14733
+ Served asset /disclaimer/documents.js - 304 Not Modified (9ms)
14734
+
14735
+
14736
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:00 +0000
14737
+ Served asset /disclaimer/segments.js - 304 Not Modified (2ms)
14738
+
14739
+
14740
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:00 +0000
14741
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14742
+
14743
+
14744
+ Started GET "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:11:07 +0000
14745
+ Processing by Disclaimer::DocumentsController#index as HTML
14746
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14747
+ Disclaimer::Segment Load (0.3ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14748
+ Disclaimer::Segment Load (0.3ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 ORDER BY position
14749
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (18.6ms)
14750
+ Completed 200 OK in 47ms (Views: 39.9ms | ActiveRecord: 0.8ms)
14751
+
14752
+
14753
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:07 +0000
14754
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14755
+
14756
+
14757
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:07 +0000
14758
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14759
+
14760
+
14761
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:07 +0000
14762
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14763
+
14764
+
14765
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:07 +0000
14766
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14767
+
14768
+
14769
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:07 +0000
14770
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14771
+
14772
+
14773
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:07 +0000
14774
+ Served asset /disclaimer/application.js - 304 Not Modified (1ms)
14775
+
14776
+
14777
+ Started GET "/disclaimer/documents/delet/edit" for 127.0.0.1 at 2013-01-24 10:11:10 +0000
14778
+ Processing by Disclaimer::DocumentsController#edit as HTML
14779
+ Parameters: {"id"=>"delet"}
14780
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delet' LIMIT 1
14781
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 
14782
+ Disclaimer::Segment Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 AND "disclaimer_segments"."id" = 1 LIMIT 1
14783
+ Disclaimer::Segment Exists (0.8ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 AND "disclaimer_segments"."id" = 2 LIMIT 1
14784
+ Disclaimer::Segment Exists (3.7ms) SELECT DISTINCT 1 AS one FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 AND "disclaimer_segments"."id" = 3 LIMIT 1
14785
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (34.3ms)
14786
+ Completed 200 OK in 53ms (Views: 44.6ms | ActiveRecord: 5.1ms)
14787
+
14788
+
14789
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:11 +0000
14790
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14791
+
14792
+
14793
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:11 +0000
14794
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14795
+
14796
+
14797
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:11 +0000
14798
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14799
+
14800
+
14801
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:11 +0000
14802
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14803
+
14804
+
14805
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:11 +0000
14806
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14807
+
14808
+
14809
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:11 +0000
14810
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14811
+
14812
+
14813
+ Started PUT "/disclaimer/documents/delet" for 127.0.0.1 at 2013-01-24 10:11:14 +0000
14814
+ Processing by Disclaimer::DocumentsController#update as HTML
14815
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "document"=>{"name"=>"delet", "title"=>"Get off my land", "header"=>"Help", "segments"=>{"1"=>"on", "2"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"delet"}
14816
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delet' LIMIT 1
14817
+ Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]]
14818
+ Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]]
14819
+  (0.1ms) begin transaction
14820
+ Disclaimer::Segment Load (4.7ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 ORDER BY position
14821
+ Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 3) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1
14822
+ SQL (1.5ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 24 Jan 2013 10:11:14 UTC +00:00], ["document_id", 3], ["position", 2], ["segment_id", 2], ["updated_at", Thu, 24 Jan 2013 10:11:14 UTC +00:00]]
14823
+  (241.4ms) commit transaction
14824
+ Redirected to http://localhost:3000/disclaimer/documents/delet
14825
+ Completed 302 Found in 263ms (ActiveRecord: 248.2ms)
14826
+
14827
+
14828
+ Started GET "/disclaimer/documents/delet" for 127.0.0.1 at 2013-01-24 10:11:14 +0000
14829
+ Processing by Disclaimer::DocumentsController#show as HTML
14830
+ Parameters: {"id"=>"delet"}
14831
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delet' LIMIT 1
14832
+ Disclaimer::Segment Load (0.3ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 ORDER BY position
14833
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (21.3ms)
14834
+ Completed 200 OK in 37ms (Views: 27.7ms | ActiveRecord: 0.5ms)
14835
+
14836
+
14837
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:15 +0000
14838
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14839
+
14840
+
14841
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:15 +0000
14842
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14843
+
14844
+
14845
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:15 +0000
14846
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14847
+
14848
+
14849
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:15 +0000
14850
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14851
+
14852
+
14853
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:15 +0000
14854
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14855
+
14856
+
14857
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:15 +0000
14858
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14859
+
14860
+
14861
+ Started GET "/disclaimer/documents" for 127.0.0.1 at 2013-01-24 10:11:18 +0000
14862
+ Processing by Disclaimer::DocumentsController#index as HTML
14863
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14864
+ Disclaimer::Segment Load (0.3ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14865
+ Disclaimer::Segment Load (0.2ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 3 ORDER BY position
14866
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (15.2ms)
14867
+ Completed 200 OK in 37ms (Views: 35.8ms | ActiveRecord: 0.8ms)
14868
+
14869
+
14870
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:18 +0000
14871
+ Served asset /disclaimer/application.css - 304 Not Modified (15ms)
14872
+
14873
+
14874
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:18 +0000
14875
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14876
+
14877
+
14878
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:18 +0000
14879
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14880
+
14881
+
14882
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:19 +0000
14883
+ Served asset /disclaimer/documents.js - 304 Not Modified (19ms)
14884
+
14885
+
14886
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:19 +0000
14887
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14888
+
14889
+
14890
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:19 +0000
14891
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14892
+
14893
+
14894
+ Started GET "/disclaimer/documents/delet/delete" for 127.0.0.1 at 2013-01-24 10:11:22 +0000
14895
+ Processing by Disclaimer::DocumentsController#delete as HTML
14896
+ Parameters: {"id"=>"delet"}
14897
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delet' LIMIT 1
14898
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb within layouts/disclaimer/application (2.3ms)
14899
+ Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.3ms)
14900
+
14901
+
14902
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:23 +0000
14903
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14904
+
14905
+
14906
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:23 +0000
14907
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14908
+
14909
+
14910
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:23 +0000
14911
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14912
+
14913
+
14914
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:23 +0000
14915
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14916
+
14917
+
14918
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:23 +0000
14919
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14920
+
14921
+
14922
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:23 +0000
14923
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14924
+
14925
+
14926
+ Started DELETE "/disclaimer/documents/delet" for 127.0.0.1 at 2013-01-24 10:11:24 +0000
14927
+ Processing by Disclaimer::DocumentsController#destroy as HTML
14928
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "commit"=>"Yes", "id"=>"delet"}
14929
+ Disclaimer::Document Load (3.7ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'delet' LIMIT 1
14930
+  (0.1ms) begin transaction
14931
+ SQL (1.3ms) DELETE FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? [["id", 3]]
14932
+  (565.3ms) commit transaction
14933
+ Redirected to http://localhost:3000/disclaimer/
14934
+ Completed 302 Found in 575ms (ActiveRecord: 570.3ms)
14935
+
14936
+
14937
+ Started GET "/disclaimer/" for 127.0.0.1 at 2013-01-24 10:11:25 +0000
14938
+ Processing by Disclaimer::DocumentsController#index as HTML
14939
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 
14940
+ Disclaimer::Segment Load (0.4ms) SELECT DISTINCT "disclaimer_segments".* FROM "disclaimer_segments" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_segments"."id" = "disclaimer_segment_holders"."segment_id" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position
14941
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (11.8ms)
14942
+ Completed 200 OK in 36ms (Views: 33.3ms | ActiveRecord: 0.6ms)
14943
+
14944
+
14945
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:25 +0000
14946
+ Served asset /disclaimer/application.css - 304 Not Modified (3ms)
14947
+
14948
+
14949
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:25 +0000
14950
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14951
+
14952
+
14953
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:25 +0000
14954
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
14955
+
14956
+
14957
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:25 +0000
14958
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14959
+
14960
+
14961
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:25 +0000
14962
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14963
+
14964
+
14965
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:25 +0000
14966
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14967
+
14968
+
14969
+ Started GET "/disclaimer/segments" for 127.0.0.1 at 2013-01-24 10:11:30 +0000
14970
+ Processing by Disclaimer::SegmentsController#index as HTML
14971
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 
14972
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 1 ORDER BY position
14973
+ Disclaimer::Document Load (6.6ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 2 ORDER BY position
14974
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 3 ORDER BY position
14975
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (31.3ms)
14976
+ Completed 200 OK in 64ms (Views: 46.4ms | ActiveRecord: 7.3ms)
14977
+
14978
+
14979
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:31 +0000
14980
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
14981
+
14982
+
14983
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:31 +0000
14984
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
14985
+
14986
+
14987
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:31 +0000
14988
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
14989
+
14990
+
14991
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:31 +0000
14992
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
14993
+
14994
+
14995
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:31 +0000
14996
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
14997
+
14998
+
14999
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:31 +0000
15000
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
15001
+
15002
+
15003
+ Started GET "/disclaimer/segments/new" for 127.0.0.1 at 2013-01-24 10:11:33 +0000
15004
+ Processing by Disclaimer::SegmentsController#new as HTML
15005
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (12.2ms)
15006
+ Completed 200 OK in 26ms (Views: 24.8ms | ActiveRecord: 0.0ms)
15007
+
15008
+
15009
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:33 +0000
15010
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
15011
+
15012
+
15013
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:33 +0000
15014
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
15015
+
15016
+
15017
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:33 +0000
15018
+ Served asset /disclaimer/segments.css - 304 Not Modified (20ms)
15019
+
15020
+
15021
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:33 +0000
15022
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
15023
+
15024
+
15025
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:33 +0000
15026
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
15027
+
15028
+
15029
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:33 +0000
15030
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
15031
+
15032
+
15033
+ Started POST "/disclaimer/segments" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15034
+ Processing by Disclaimer::SegmentsController#create as HTML
15035
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "segment"=>{"name"=>"testing", "title"=>"Test", "body"=>"Hi there"}, "commit"=>"Create Segment"}
15036
+  (0.1ms) begin transaction
15037
+ SQL (0.8ms) INSERT INTO "disclaimer_segments" ("body", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Hi there"], ["created_at", Thu, 24 Jan 2013 10:11:42 UTC +00:00], ["name", "testing"], ["title", "Test"], ["updated_at", Thu, 24 Jan 2013 10:11:42 UTC +00:00]]
15038
+  (281.2ms) commit transaction
15039
+ Redirected to http://localhost:3000/disclaimer/segments/testing
15040
+ Completed 302 Found in 287ms (ActiveRecord: 282.1ms)
15041
+
15042
+
15043
+ Started GET "/disclaimer/segments/testing" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15044
+ Processing by Disclaimer::SegmentsController#show as HTML
15045
+ Parameters: {"id"=>"testing"}
15046
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'testing' LIMIT 1
15047
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.5ms)
15048
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (6.4ms)
15049
+ Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.2ms)
15050
+
15051
+
15052
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15053
+ Served asset /disclaimer/application.css - 304 Not Modified (23ms)
15054
+
15055
+
15056
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15057
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
15058
+
15059
+
15060
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15061
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
15062
+
15063
+
15064
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15065
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
15066
+
15067
+
15068
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15069
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
15070
+
15071
+
15072
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:42 +0000
15073
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
15074
+
15075
+
15076
+ Started GET "/disclaimer/segments" for 127.0.0.1 at 2013-01-24 10:11:45 +0000
15077
+ Processing by Disclaimer::SegmentsController#index as HTML
15078
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 
15079
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 1 ORDER BY position
15080
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 2 ORDER BY position
15081
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 3 ORDER BY position
15082
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 4 ORDER BY position
15083
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (29.2ms)
15084
+ Completed 200 OK in 45ms (Views: 38.0ms | ActiveRecord: 1.1ms)
15085
+
15086
+
15087
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:45 +0000
15088
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
15089
+
15090
+
15091
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:45 +0000
15092
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
15093
+
15094
+
15095
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:45 +0000
15096
+ Served asset /disclaimer/segments.css - 304 Not Modified (26ms)
15097
+
15098
+
15099
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:45 +0000
15100
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
15101
+
15102
+
15103
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:45 +0000
15104
+ Served asset /disclaimer/segments.js - 304 Not Modified (6ms)
15105
+
15106
+
15107
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:46 +0000
15108
+ Served asset /disclaimer/application.js - 304 Not Modified (1ms)
15109
+
15110
+
15111
+ Started GET "/disclaimer/segments/testing/edit" for 127.0.0.1 at 2013-01-24 10:11:47 +0000
15112
+ Processing by Disclaimer::SegmentsController#edit as HTML
15113
+ Parameters: {"id"=>"testing"}
15114
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'testing' LIMIT 1
15115
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (17.3ms)
15116
+ Completed 200 OK in 33ms (Views: 31.1ms | ActiveRecord: 0.2ms)
15117
+
15118
+
15119
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:48 +0000
15120
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
15121
+
15122
+
15123
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:48 +0000
15124
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
15125
+
15126
+
15127
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:48 +0000
15128
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
15129
+
15130
+
15131
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:48 +0000
15132
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
15133
+
15134
+
15135
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:48 +0000
15136
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
15137
+
15138
+
15139
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:48 +0000
15140
+ Served asset /disclaimer/application.js - 304 Not Modified (6ms)
15141
+
15142
+
15143
+ Started PUT "/disclaimer/segments/testing" for 127.0.0.1 at 2013-01-24 10:11:50 +0000
15144
+ Processing by Disclaimer::SegmentsController#update as HTML
15145
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "segment"=>{"name"=>"testing", "title"=>"Test", "body"=>"Hi there!"}, "commit"=>"Update Segment", "id"=>"testing"}
15146
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'testing' LIMIT 1
15147
+  (3.3ms) begin transaction
15148
+  (0.4ms) UPDATE "disclaimer_segments" SET "body" = 'Hi there!', "updated_at" = '2013-01-24 10:11:50.893291' WHERE "disclaimer_segments"."id" = 4
15149
+  (247.0ms) commit transaction
15150
+ Redirected to http://localhost:3000/disclaimer/segments/testing
15151
+ Completed 302 Found in 256ms (ActiveRecord: 250.8ms)
15152
+
15153
+
15154
+ Started GET "/disclaimer/segments/testing" for 127.0.0.1 at 2013-01-24 10:11:51 +0000
15155
+ Processing by Disclaimer::SegmentsController#show as HTML
15156
+ Parameters: {"id"=>"testing"}
15157
+ Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'testing' LIMIT 1
15158
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.1ms)
15159
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (27.2ms)
15160
+ Completed 200 OK in 37ms (Views: 35.1ms | ActiveRecord: 0.3ms)
15161
+
15162
+
15163
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:51 +0000
15164
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
15165
+
15166
+
15167
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:51 +0000
15168
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
15169
+
15170
+
15171
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:11:51 +0000
15172
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
15173
+
15174
+
15175
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:51 +0000
15176
+ Served asset /disclaimer/documents.js - 304 Not Modified (2ms)
15177
+
15178
+
15179
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:51 +0000
15180
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
15181
+
15182
+
15183
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:11:51 +0000
15184
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
15185
+
15186
+
15187
+ Started GET "/disclaimer/segments" for 127.0.0.1 at 2013-01-24 10:12:55 +0000
15188
+ Processing by Disclaimer::SegmentsController#index as HTML
15189
+ Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"
15190
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 1 ORDER BY position
15191
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 2 ORDER BY position
15192
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 3 ORDER BY position
15193
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 4 ORDER BY position
15194
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (32.1ms)
15195
+ Completed 200 OK in 52ms (Views: 46.0ms | ActiveRecord: 1.3ms)
15196
+
15197
+
15198
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:55 +0000
15199
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
15200
+
15201
+
15202
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:55 +0000
15203
+ Served asset /disclaimer/documents.css - 304 Not Modified (4ms)
15204
+
15205
+
15206
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:55 +0000
15207
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
15208
+
15209
+
15210
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:55 +0000
15211
+ Served asset /disclaimer/documents.js - 304 Not Modified (5ms)
15212
+
15213
+
15214
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:55 +0000
15215
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
15216
+
15217
+
15218
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:55 +0000
15219
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
15220
+
15221
+
15222
+ Started GET "/disclaimer/segments/testing/delete" for 127.0.0.1 at 2013-01-24 10:12:57 +0000
15223
+ Processing by Disclaimer::SegmentsController#delete as HTML
15224
+ Parameters: {"id"=>"testing"}
15225
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'testing' LIMIT 1
15226
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/delete.html.erb within layouts/disclaimer/application (1.7ms)
15227
+ Completed 200 OK in 27ms (Views: 24.9ms | ActiveRecord: 0.2ms)
15228
+
15229
+
15230
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:57 +0000
15231
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
15232
+
15233
+
15234
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:57 +0000
15235
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
15236
+
15237
+
15238
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:57 +0000
15239
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
15240
+
15241
+
15242
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:57 +0000
15243
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
15244
+
15245
+
15246
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:57 +0000
15247
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)
15248
+
15249
+
15250
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:57 +0000
15251
+ Served asset /disclaimer/application.js - 304 Not Modified (1ms)
15252
+
15253
+
15254
+ Started DELETE "/disclaimer/segments/testing" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15255
+ Processing by Disclaimer::SegmentsController#destroy as HTML
15256
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"3guXpdmSRV8M6woYaLM9t5Fh6vQhCOXqscHNDe8vee8=", "commit"=>"Yes", "id"=>"testing"}
15257
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'testing' LIMIT 1
15258
+  (0.0ms) begin transaction
15259
+ SQL (0.3ms) DELETE FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? [["id", 4]]
15260
+  (356.7ms) commit transaction
15261
+ Redirected to http://localhost:3000/disclaimer/segments
15262
+ Completed 302 Found in 361ms (ActiveRecord: 357.3ms)
15263
+
15264
+
15265
+ Started GET "/disclaimer/segments" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15266
+ Processing by Disclaimer::SegmentsController#index as HTML
15267
+ Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"
15268
+ Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 1 ORDER BY position
15269
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 2 ORDER BY position
15270
+ Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" INNER JOIN "disclaimer_segment_holders" ON "disclaimer_documents"."id" = "disclaimer_segment_holders"."document_id" WHERE "disclaimer_segment_holders"."segment_id" = 3 ORDER BY position
15271
+ Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (29.3ms)
15272
+ Completed 200 OK in 42ms (Views: 37.4ms | ActiveRecord: 1.0ms)
15273
+
15274
+
15275
+ Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15276
+ Served asset /disclaimer/application.css - 304 Not Modified (0ms)
15277
+
15278
+
15279
+ Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15280
+ Served asset /disclaimer/documents.css - 304 Not Modified (0ms)
15281
+
15282
+
15283
+ Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15284
+ Served asset /disclaimer/segments.css - 304 Not Modified (0ms)
15285
+
15286
+
15287
+ Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15288
+ Served asset /disclaimer/documents.js - 304 Not Modified (0ms)
15289
+
15290
+
15291
+ Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15292
+ Served asset /disclaimer/application.js - 304 Not Modified (0ms)
15293
+
15294
+
15295
+ Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2013-01-24 10:12:59 +0000
15296
+ Served asset /disclaimer/segments.js - 304 Not Modified (0ms)