Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (159.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (150.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748)  (0.1ms) begin transaction  (7.5ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (2.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121023125748')  (159.1ms) commit transaction  (0.7ms) select sqlite_version(*)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml  (5.3ms) select sqlite_version(*)  (186.3ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (122.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) PRAGMA index_list("schema_migrations")  (116.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (129.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121023125748')  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-10-23 14:43:44 +0100 Connecting to database specified by database.yml ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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.6ms) Started GET "/disclaimers/" for 127.0.0.1 at 2012-10-23 14:43:56 +0100 ActionController::RoutingError (No route matches [GET] "/disclaimers"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (0.8ms) Started GET "/disclaimers/documents" for 127.0.0.1 at 2012-10-23 14:44:05 +0100 ActionController::RoutingError (No route matches [GET] "/disclaimers/documents"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (0.8ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-23 14:44:14 +0100 Processing by Disclaimer::DocumentsController#index as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (0.4ms) Compiled disclaimer/documents.css (0ms) (pid 4113) Compiled disclaimer/application.css (24ms) (pid 4113) Compiled jquery.js (14ms) (pid 4113) Compiled jquery_ujs.js (0ms) (pid 4113) Compiled disclaimer/documents.js (0ms) (pid 4113) Compiled disclaimer/application.js (124ms) (pid 4113) Completed 200 OK in 293ms (Views: 292.7ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 14:44:15 +0100 Served asset /disclaimer/application.css - 200 OK (44ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 14:44:15 +0100 Served asset /disclaimer/documents.css - 200 OK (10ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 14:44:15 +0100 Served asset /jquery.js - 304 Not Modified (23ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 14:44:15 +0100 Served asset /disclaimer/documents.js - 200 OK (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 14:44:15 +0100 Served asset /jquery_ujs.js - 304 Not Modified (20ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 14:44:15 +0100 Served asset /disclaimer/application.js - 200 OK (38ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (252.9ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (188.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.4ms) PRAGMA index_list("schema_migrations")  (197.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (197.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121023125748') Started GET "/" for 127.0.0.1 at 2012-10-23 15:54:12 +0100 Connecting to database specified by database.yml ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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.2ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-23 15:54:20 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.4ms) Completed 200 OK in 217ms (Views: 96.5ms | ActiveRecord: 5.9ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:54:21 +0100 Served asset /disclaimer/application.css - 304 Not Modified (11ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:54:21 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (11ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:21 +0100 Served asset /jquery.js - 304 Not Modified (59ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:21 +0100 Served asset /jquery_ujs.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:21 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (16ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:21 +0100 Served asset /disclaimer/application.js - 304 Not Modified (42ms) Started GET "/disclaimer/documents/new" for 127.0.0.1 at 2012-10-23 15:54:24 +0100 Processing by Disclaimer::DocumentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (24.8ms) Completed 200 OK in 72ms (Views: 53.8ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:54:25 +0100 Served asset /disclaimer/application.css - 304 Not Modified (11ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:54:25 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:25 +0100 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:25 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:25 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:54:25 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/disclaimer/documents/new" for 127.0.0.1 at 2012-10-23 15:56:13 +0100 Processing by Disclaimer::DocumentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (9.6ms) Completed 200 OK in 24ms (Views: 23.3ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:56:13 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:56:13 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:13 +0100 Served asset /jquery.js - 304 Not Modified (22ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:13 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:13 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:13 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started POST "/disclaimer/documents" for 127.0.0.1 at 2012-10-23 15:56:51 +0100 Processing by Disclaimer::DocumentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0T8EJILHnkRKO8mZYSW96EjDddCLBYOzDDr/Q5q4ESo=", "document"=>{"title"=>"WCC Disclaimer", "header"=>"This is it.", "footer"=>"At the foot"}, "commit"=>"Create Document"}  (0.1ms) begin transaction SQL (17.2ms) INSERT INTO "disclaimer_documents" ("created_at", "footer", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:51 UTC +00:00], ["footer", "At the foot"], ["header", "This is it."], ["title", "WCC Disclaimer"], ["updated_at", Tue, 23 Oct 2012 14:56:51 UTC +00:00]]  (194.6ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/1 Completed 302 Found in 217ms (ActiveRecord: 212.0ms) Started GET "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 15:56:51 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.0ms) Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:56:52 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:56:52 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:52 +0100 Served asset /jquery.js - 304 Not Modified (22ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:52 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:52 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:56:52 +0100 Served asset /disclaimer/application.js - 304 Not Modified (14ms) Started GET "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 15:58:15 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.7ms) Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:58:15 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:58:15 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:15 +0100 Served asset /jquery.js - 304 Not Modified (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:16 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:16 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:16 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/documents/1/edit" for 127.0.0.1 at 2012-10-23 15:58:57 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (6.4ms) Completed 200 OK in 28ms (Views: 25.8ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:58:57 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:58:57 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:57 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:57 +0100 Served asset /jquery_ujs.js - 304 Not Modified (17ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:57 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:58:57 +0100 Served asset /disclaimer/application.js - 304 Not Modified (5ms) Started PUT "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0T8EJILHnkRKO8mZYSW96EjDddCLBYOzDDr/Q5q4ESo=", "document"=>{"title"=>"WCC Disclaimer", "header"=>"This is it.", "footer"=>"At the foot"}, "commit"=>"Update Document", "id"=>"1"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.0ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.2ms) Completed 200 OK in 30ms (Views: 21.8ms | ActiveRecord: 0.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Served asset /jquery.js - 304 Not Modified (25ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Served asset /disclaimer/application.js - 304 Not Modified (9ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:02 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (87ms) Started GET "/disclaimer/documents/1/edit" for 127.0.0.1 at 2012-10-23 15:59:24 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (8.0ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:59:25 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:59:25 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:25 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:25 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:25 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:25 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started PUT "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 15:59:37 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0T8EJILHnkRKO8mZYSW96EjDddCLBYOzDDr/Q5q4ESo=", "document"=>{"title"=>"WCC Disclaimer", "header"=>"This is it.", "footer"=>"At the foot"}, "commit"=>"Update Document", "id"=>"1"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/1 Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 15:59:37 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:59:38 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 15:59:38 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:38 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:38 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:38 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:59:38 +0100 Served asset /disclaimer/application.js - 304 Not Modified (14ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-23 16:02:11 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 16:02:11 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 16:02:11 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (48ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:02:11 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:02:11 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 16:02:11 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 16:02:11 +0100 Served asset /disclaimer/application.js - 304 Not Modified (8ms) Started GET "/disclaimer" for 127.0.0.1 at 2012-10-23 16:03:35 +0100 ActionController::RoutingError (No route matches [GET] "/disclaimer"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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.9ms) Started GET "/disclaimer" for 127.0.0.1 at 2012-10-23 16:04:28 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 20ms (Views: 10.4ms | ActiveRecord: 0.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 16:04:28 +0100 Served asset /disclaimer/application.css - 304 Not Modified (6ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 16:04:28 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:04:28 +0100 Served asset /jquery.js - 304 Not Modified (14ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:04:28 +0100 Served asset /jquery_ujs.js - 304 Not Modified (50ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 16:04:28 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 16:04:28 +0100 Served asset /disclaimer/application.js - 304 Not Modified (7ms) Started GET "/disclaimer/1" for 127.0.0.1 at 2012-10-23 16:05:14 +0100 ActionController::RoutingError (No route matches [GET] "/disclaimer/1"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (0.9ms) Started GET "/disclaimer/document/1" for 127.0.0.1 at 2012-10-23 16:05:23 +0100 ActionController::RoutingError (No route matches [GET] "/disclaimer/document/1"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (0.9ms) Started GET "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 16:05:30 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 16:05:30 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 16:05:30 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:05:30 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:05:30 +0100 Served asset /jquery_ujs.js - 304 Not Modified (14ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 16:05:30 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 16:05:30 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/documents/1/delete" for 127.0.0.1 at 2012-10-23 16:11:36 +0100 Connecting to database specified by database.yml Processing by Disclaimer::DocumentsController#delete as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb within layouts/disclaimer/application (42.9ms) Completed 500 Internal Server Error in 144ms ActionView::Template::Error (undefined method `questionnaire_path' for #<#:0xb697ad68>): 2:

<%= @document.title %>

3:

Are you sure you want to delete this document?

4: 5: <%= form_for(@document, :url => questionnaire_path(@document), :method => :delete) do |form| %> 6: <%= form.submit('Yes') %> 7: <%= link_to('Cancel', url_for(:back)) %> 8: <% end %> /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb:5:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_delete_html_erb___441392902_76317550' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__792600956__process_action__1026038518__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__114073134__call__238634666__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.6ms) Started GET "/disclaimer/documents/1/delete" for 127.0.0.1 at 2012-10-23 16:11:49 +0100 Processing by Disclaimer::DocumentsController#delete as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb within layouts/disclaimer/application (19.0ms) Completed 200 OK in 53ms (Views: 52.2ms | ActiveRecord: 0.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 16:11:49 +0100 Served asset /disclaimer/application.css - 304 Not Modified (13ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 16:11:49 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (16ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:11:49 +0100 Served asset /jquery.js - 304 Not Modified (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:11:49 +0100 Served asset /jquery_ujs.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 16:11:49 +0100 Served asset /disclaimer/application.js - 304 Not Modified (46ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 16:11:49 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (11ms) Started GET "/disclaimer/documents/1/delete" for 127.0.0.1 at 2012-10-23 16:12:09 +0100 Processing by Disclaimer::DocumentsController#delete as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb within layouts/disclaimer/application (25.8ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `disclaimer_document_path' for #<#:0xb67ed694>): 2:

<%= @document.title %>

3:

Are you sure you want to delete this document?

4: 5: <%= form_for(@document, :url => disclaimer_document_path(@document), :method => :delete) do |form| %> 6: <%= form.submit('Yes') %> 7: <%= link_to('Cancel', url_for(:back)) %> 8: <% end %> /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb:5:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_delete_html_erb___441392902__616602498' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__792600956__process_action__1026038518__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__114073134__call__238634666__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.9ms) Started GET "/disclaimer/documents/1/delete" for 127.0.0.1 at 2012-10-23 16:12:17 +0100 Processing by Disclaimer::DocumentsController#delete as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb within layouts/disclaimer/application (8.9ms) Completed 200 OK in 30ms (Views: 28.6ms | ActiveRecord: 0.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 16:12:17 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 16:12:17 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:17 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:17 +0100 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:17 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:17 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started DELETE "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Processing by Disclaimer::DocumentsController#destroy as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0T8EJILHnkRKO8mZYSW96EjDddCLBYOzDDr/Q5q4ESo=", "commit"=>"Yes", "id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://localhost:3000/disclaimer/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/disclaimer/" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.7ms) Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-23 16:12:42 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/" for 127.0.0.1 at 2012-10-24 08:36:58 +0100 Connecting to database specified by database.yml ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (6.6ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 08:37:04 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.6ms) Completed 200 OK in 584ms (Views: 245.4ms | ActiveRecord: 18.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 08:37:05 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 08:37:05 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (16ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:05 +0100 Served asset /jquery.js - 304 Not Modified (43ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:06 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:06 +0100 Served asset /disclaimer/application.js - 304 Not Modified (42ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:06 +0100 Served asset /jquery_ujs.js - 304 Not Modified (15ms) Started GET "/disclaimer" for 127.0.0.1 at 2012-10-24 08:37:08 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 08:37:08 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 08:37:08 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:09 +0100 Served asset /jquery.js - 304 Not Modified (35ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:09 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:09 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 08:37:09 +0100 Served asset /disclaimer/application.js - 304 Not Modified (6ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (258.3ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (247.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (192.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (215.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121023125748') Started GET "/disclaimer/documents/1" for 127.0.0.1 at 2012-10-24 08:41:04 +0100 Connecting to database specified by database.yml Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (4.4ms) Completed 200 OK in 350ms (Views: 228.6ms | ActiveRecord: 9.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:06 +0100 Served asset /disclaimer/application.css - 304 Not Modified (9ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:06 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (17ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:06 +0100 Served asset /jquery.js - 304 Not Modified (33ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:06 +0100 Served asset /jquery_ujs.js - 304 Not Modified (34ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:06 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (8ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:06 +0100 Served asset /disclaimer/application.js - 304 Not Modified (82ms) Started GET "/disclaimer/documents/2" for 127.0.0.1 at 2012-10-24 08:41:13 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"2"} Disclaimer::Document Load (2.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 4ms ActiveRecord::RecordNotFound (Couldn't find Disclaimer::Document with id=2): activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:341:in `find_one' activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:312:in `find_with_ids' activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.8) lib/active_record/querying.rb:5:in `find' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:43:in `get_document' activesupport (3.2.8) lib/active_support/callbacks.rb:407:in `_run__792079499__process_action__942075052__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__215640607__call__618758582__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (66.5ms) Started GET "/disclaimer/documents/new" for 127.0.0.1 at 2012-10-24 08:41:18 +0100 Processing by Disclaimer::DocumentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (217.3ms) Completed 200 OK in 233ms (Views: 232.1ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:18 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:18 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:18 +0100 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:18 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:18 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:18 +0100 Served asset /disclaimer/application.js - 304 Not Modified (21ms) Started POST "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 08:41:24 +0100 Processing by Disclaimer::DocumentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YJ0+X5WkK04CWaF8C3tdeAi1tGjURFBGNb4D7VJ1SZ4=", "document"=>{"title"=>"To delette", "header"=>"", "footer"=>""}, "commit"=>"Create Document"}  (0.1ms) begin transaction SQL (150.1ms) INSERT INTO "disclaimer_documents" ("created_at", "footer", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 24 Oct 2012 07:41:24 UTC +00:00], ["footer", ""], ["header", ""], ["title", "To delette"], ["updated_at", Wed, 24 Oct 2012 07:41:24 UTC +00:00]]  (119.5ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/2 Completed 302 Found in 289ms (ActiveRecord: 269.7ms) Started GET "/disclaimer/documents/2" for 127.0.0.1 at 2012-10-24 08:41:25 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"2"} Disclaimer::Document Load (7.7ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 24ms (Views: 14.8ms | ActiveRecord: 7.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:25 +0100 Served asset /disclaimer/application.css - 304 Not Modified (10ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:25 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:25 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:25 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:25 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:25 +0100 Served asset /disclaimer/application.js - 304 Not Modified (14ms) Started GET "/disclaimer/documents/2/delete" for 127.0.0.1 at 2012-10-24 08:41:30 +0100 Processing by Disclaimer::DocumentsController#delete as HTML Parameters: {"id"=>"2"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/delete.html.erb within layouts/disclaimer/application (1.7ms) Completed 200 OK in 38ms (Views: 36.1ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:30 +0100 Served asset /disclaimer/application.css - 304 Not Modified (2ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:30 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:30 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:30 +0100 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:30 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:30 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started DELETE "/disclaimer/documents/2" for 127.0.0.1 at 2012-10-24 08:41:36 +0100 Processing by Disclaimer::DocumentsController#destroy as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YJ0+X5WkK04CWaF8C3tdeAi1tGjURFBGNb4D7VJ1SZ4=", "commit"=>"Yes", "id"=>"2"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) begin transaction SQL (5.5ms) DELETE FROM "disclaimer_documents" WHERE "disclaimer_documents"."id" = ? [["id", 2]]  (226.1ms) commit transaction Redirected to http://localhost:3000/disclaimer/ Completed 302 Found in 236ms (ActiveRecord: 231.7ms) Started GET "/disclaimer/" for 127.0.0.1 at 2012-10-24 08:41:36 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 28ms (Views: 22.4ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:37 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 08:41:37 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:37 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:37 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:37 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 08:41:37 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateSegments (20121024074240)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (5.1ms) CREATE TABLE "segments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074240')  (177.3ms) commit transaction  (0.7ms) select sqlite_version(*)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("disclaimer_documents")  (0.1ms) PRAGMA index_list("segments") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateSegments (20121024074240)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (10.5ms) DROP TABLE "segments"  (7.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024074240'  (181.3ms) commit transaction  (0.4ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateDisclaimerDocuments (20121023125748)  (0.1ms) select sqlite_version(*)  (0.0ms) begin transaction  (13.8ms) DROP TABLE "disclaimer_documents"  (2.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121023125748'  (177.0ms) commit transaction  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (6.7ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121023125748')  (194.0ms) commit transaction Migrating to CreateSegments (20121024074240)  (0.3ms) begin transaction  (6.4ms) CREATE TABLE "segments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074240')  (158.4ms) commit transaction Migrating to CreateDocumentsSegments (20121024074416)  (0.3ms) begin transaction  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074416')  (155.5ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("disclaimer_documents")  (0.0ms) PRAGMA index_list("segments") Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateDocumentsSegments (20121024074416)  (0.1ms) select sqlite_version(*)  (0.0ms) begin transaction  (2.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024074416'  (234.6ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("disclaimer_documents")  (0.0ms) PRAGMA index_list("segments") Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748) Migrating to CreateSegments (20121024074240) Migrating to CreateDocumentsSegments (20121024074416)  (0.1ms) select sqlite_version(*)  (0.0ms) begin transaction  (2.2ms) CREATE TABLE "documents_segments" ("document_id" integer, "segment_id" integer)  (4.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074416')  (192.9ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("disclaimer_documents")  (0.0ms) PRAGMA index_list("documents_segments")  (0.0ms) PRAGMA index_list("segments") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateDocumentsSegments (20121024074416)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (11.2ms) DROP TABLE "documents_segments"  (3.0ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024074416'  (191.8ms) commit transaction  (0.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) PRAGMA index_list("disclaimer_documents")  (0.1ms) PRAGMA index_list("segments") Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateSegments (20121024074240)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (13.0ms) DROP TABLE "segments"  (2.5ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024074240'  (239.7ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748) Migrating to CreateSegments (20121024074240)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (5.4ms) CREATE TABLE "disclaimer_segments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074240')  (175.7ms) commit transaction Migrating to CreateDocumentsSegments (20121024074416)  (0.2ms) begin transaction  (8.8ms) CREATE TABLE "disclaimer_documents_segments" ("document_id" integer, "segment_id" integer)  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074416')  (176.5ms) commit transaction  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("disclaimer_documents")  (0.1ms) PRAGMA index_list("disclaimer_documents_segments")  (0.1ms) PRAGMA index_list("disclaimer_segments") Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateDocumentsSegments (20121024074416)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (7.7ms) DROP TABLE "disclaimer_documents_segments"  (1.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024074416'  (167.5ms) commit transaction  (0.4ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("disclaimer_documents")  (0.0ms) PRAGMA index_list("disclaimer_segments") Connecting to database specified by database.yml  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748) Migrating to CreateSegments (20121024074240) Migrating to CreateDocumentsSegments (20121024074416)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (4.1ms) CREATE TABLE "disclaimer_documents_segments" ("document_id" integer, "segment_id" integer)  (1.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074416')  (216.2ms) commit transaction Migrating to CreateDisclaimerSegmentHolders (20121024080818)  (0.1ms) begin transaction  (5.2ms) CREATE TABLE "disclaimer_segment_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "document_id" integer, "segment_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024080818')  (178.2ms) commit transaction  (0.4ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("disclaimer_documents")  (0.0ms) PRAGMA index_list("disclaimer_documents_segments")  (0.0ms) PRAGMA index_list("disclaimer_segment_holders")  (0.0ms) PRAGMA index_list("disclaimer_segments") Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (202.4ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (238.4ms) CREATE TABLE "disclaimer_documents_segments" ("document_id" integer, "segment_id" integer)  (178.2ms) CREATE TABLE "disclaimer_segment_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "document_id" integer, "segment_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (181.7ms) CREATE TABLE "disclaimer_segments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (148.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) PRAGMA index_list("schema_migrations")  (150.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (200.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024080818') Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (126.1ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (138.2ms) CREATE TABLE "disclaimer_documents_segments" ("document_id" integer, "segment_id" integer)  (145.5ms) CREATE TABLE "disclaimer_segment_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "document_id" integer, "segment_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (131.5ms) CREATE TABLE "disclaimer_segments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (141.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) PRAGMA index_list("schema_migrations")  (148.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (7.0ms) SELECT version FROM "schema_migrations"  (139.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024080818') Connecting to database specified by database.yml Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:00:47 +0100 Connecting to database specified by database.yml Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (28.2ms) Compiled disclaimer/segments.css (0ms) (pid 5906) Compiled disclaimer/application.css (22ms) (pid 5906) Compiled disclaimer/segments.js (0ms) (pid 5906) Compiled disclaimer/application.js (23ms) (pid 5906) Completed 200 OK in 280ms (Views: 209.9ms | ActiveRecord: 3.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /disclaimer/application.css - 304 Not Modified (24ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (21ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /disclaimer/segments.css - 200 OK (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /jquery.js - 304 Not Modified (22ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /jquery_ujs.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (18ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /disclaimer/segments.js - 200 OK (3ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:00:48 +0100 Served asset /disclaimer/application.js - 304 Not Modified (45ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:01:53 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (7.5ms) Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:01:53 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:01:53 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:01:53 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (22ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:01:53 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:01:54 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:01:54 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:01:54 +0100 Served asset /disclaimer/application.js - 304 Not Modified (8ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:01:54 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (4ms) Started GET "/disclaimer/segments/new" for 127.0.0.1 at 2012-10-24 14:02:01 +0100 Processing by Disclaimer::SegmentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (71.5ms) Completed 500 Internal Server Error in 92ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1:

Disclaimer section

2: 3: <%= form_for(@section) do |form| %> 4: 5:

6: <%= form.label(:title) %>
activemodel (3.2.8) lib/active_model/naming.rb:163:in `model_name_from_record_or_class' activemodel (3.2.8) lib/active_model/naming.rb:158:in `param_key' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:369:in `form_for' /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb:3:in `__home_rob_web_disclaimer_app_views_disclaimer_segments_new_html_erb__423835053__624192708' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__313394972__process_action__254911313__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__307569167__call__809194990__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.6ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (29.4ms) Started GET "/disclaimer/segments/new" for 127.0.0.1 at 2012-10-24 14:02:22 +0100 Processing by Disclaimer::SegmentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (40.4ms) Completed 200 OK in 62ms (Views: 62.1ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:02:22 +0100 Served asset /disclaimer/application.css - 304 Not Modified (12ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:02:22 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:02:23 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:23 +0100 Served asset /jquery.js - 304 Not Modified (18ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:23 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:23 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:23 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:23 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started POST "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:02:44 +0100 Processing by Disclaimer::SegmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YJ0+X5WkK04CWaF8C3tdeAi1tGjURFBGNb4D7VJ1SZ4=", "segment"=>{"title"=>"Carers", "body"=>"If you are a carer, you must care"}, "commit"=>"Create Segment"}  (0.1ms) begin transaction SQL (38.6ms) INSERT INTO "disclaimer_segments" ("body", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["body", "If you are a carer, you must care"], ["created_at", Wed, 24 Oct 2012 13:02:44 UTC +00:00], ["title", "Carers"], ["updated_at", Wed, 24 Oct 2012 13:02:44 UTC +00:00]]  (182.6ms) commit transaction Redirected to http://localhost:3000/disclaimer/segments/1 Completed 302 Found in 240ms (ActiveRecord: 221.3ms) Started GET "/disclaimer/segments/1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.6ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (94.2ms) Completed 200 OK in 110ms (Views: 104.6ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:02:45 +0100 Served asset /disclaimer/application.js - 304 Not Modified (7ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:03:00 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (8.5ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (9.5ms) Completed 200 OK in 44ms (Views: 35.0ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:01 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:03:22 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (2.6ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.1ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (5.8ms) Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 2.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:22 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:22 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:23 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:23 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:23 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:23 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:23 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:23 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:03:47 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (2.8ms) Completed 200 OK in 24ms (Views: 13.8ms | ActiveRecord: 0.8ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:47 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:47 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:47 +0100 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:47 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:47 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:03:47 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:48 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:03:48 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (2.2ms) Completed 200 OK in 30ms (Views: 24.8ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /jquery.js - 304 Not Modified (36ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /jquery_ujs.js - 304 Not Modified (9ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /disclaimer/application.js - 304 Not Modified (16ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:23 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments/1" for 127.0.0.1 at 2012-10-24 14:07:31 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (3.7ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (5.4ms) Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:32 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/segments/1/edit" for 127.0.0.1 at 2012-10-24 14:07:35 +0100 Processing by Disclaimer::SegmentsController#edit as HTML Parameters: {"id"=>"1"} Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (16.3ms) Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:35 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:36 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:36 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:36 +0100 Served asset /jquery.js - 304 Not Modified (21ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:36 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:36 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:36 +0100 Served asset /disclaimer/application.js - 304 Not Modified (8ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:36 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments/1/delete" for 127.0.0.1 at 2012-10-24 14:07:43 +0100 Processing by Disclaimer::SegmentsController#delete as HTML Parameters: {"id"=>"1"} Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/delete.html.erb within layouts/disclaimer/application (6.6ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `title' for nil:NilClass): 1:

Delete Section

2:

<%= @section.title %>

3:

Are you sure you want to delete this section?

4: 5: <%= form_for(@section, :url => section_path(@section), :method => :delete) do |form| %> /home/rob/web/disclaimer/app/views/disclaimer/segments/delete.html.erb:2:in `__home_rob_web_disclaimer_app_views_disclaimer_segments_delete_html_erb__303798942__621584288' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__313394972__process_action__721069373__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__307569167__call__809194990__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.3ms) Started GET "/disclaimer/segments/1/delete" for 127.0.0.1 at 2012-10-24 14:07:57 +0100 Processing by Disclaimer::SegmentsController#delete as HTML Parameters: {"id"=>"1"} Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/delete.html.erb within layouts/disclaimer/application (1.9ms) Completed 200 OK in 36ms (Views: 34.9ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /jquery.js - 304 Not Modified (28ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /disclaimer/application.js - 304 Not Modified (108ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:07:58 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:08:00 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (3.2ms) Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:08:00 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:08:00 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:08:00 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:08:00 +0100 Served asset /jquery.js - 304 Not Modified (39ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:08:01 +0100 Served asset /jquery_ujs.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:08:01 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:08:01 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:08:01 +0100 Served asset /disclaimer/application.js - 304 Not Modified (8ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (204.1ms) Completed 200 OK in 222ms (Views: 213.5ms | ActiveRecord: 1.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:10:45 +0100 Served asset /disclaimer/application.js - 304 Not Modified (6ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 14:11:14 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.6ms) Completed 200 OK in 59ms (Views: 41.8ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:11:14 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:11:15 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:11:15 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:11:15 +0100 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:11:15 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:11:15 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:11:15 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:11:15 +0100 Served asset /disclaimer/application.js - 304 Not Modified (27ms) Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateDisclaimerSegmentHolders (20121024080818)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (6.5ms) DROP TABLE "disclaimer_segment_holders"  (4.6ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024080818'  (187.3ms) commit transaction  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (1.0ms) PRAGMA index_list("disclaimer_documents")  (0.1ms) PRAGMA index_list("disclaimer_documents_segments")  (0.1ms) PRAGMA index_list("disclaimer_segments") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateDocumentsSegments (20121024074416)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (8.3ms) DROP TABLE "disclaimer_documents_segments"  (4.5ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024074416'  (180.2ms) commit transaction  (0.4ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) PRAGMA index_list("disclaimer_documents")  (0.1ms) PRAGMA index_list("disclaimer_segments") Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateSegments (20121024074240)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (7.5ms) DROP TABLE "disclaimer_segments"  (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121024074240'  (198.8ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("disclaimer_documents") Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateDisclaimerDocuments (20121023125748)  (0.1ms) select sqlite_version(*)  (0.0ms) begin transaction  (7.8ms) DROP TABLE "disclaimer_documents"  (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20121023125748'  (204.0ms) commit transaction  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 14:39:40 +0100 Connecting to database specified by database.yml Processing by Disclaimer::DocumentsController#index as HTML Completed 500 Internal Server Error in 148ms ActiveRecord::StatementInvalid (Could not find table 'disclaimer_documents'): activerecord (3.2.8) lib/active_record/connection_adapters/sqlite_adapter.rb:472:in `table_structure' activerecord (3.2.8) lib/active_record/connection_adapters/sqlite_adapter.rb:346:in `columns' activerecord (3.2.8) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize' activerecord (3.2.8) lib/active_record/model_schema.rb:228:in `yield' activerecord (3.2.8) lib/active_record/model_schema.rb:228:in `default' activerecord (3.2.8) lib/active_record/model_schema.rb:228:in `columns' activerecord (3.2.8) lib/active_record/model_schema.rb:237:in `columns_hash' activerecord (3.2.8) lib/active_record/locking/optimistic.rb:129:in `locking_enabled?' activerecord (3.2.8) lib/active_record/relation.rb:170:in `exec_queries' activerecord (3.2.8) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.8) lib/active_record/explain.rb:33:in `logging_query_plan' activerecord (3.2.8) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:122:in `first' activerecord (3.2.8) lib/active_record/querying.rb:5:in `first' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:8:in `index' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__954213200__process_action__232909289__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__693021208__call__190370490__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (7.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (115.3ms) Connecting to database specified by database.yml  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateDisclaimerDocuments (20121023125748)  (0.1ms) select sqlite_version(*)  (0.0ms) begin transaction  (9.5ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "name" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (2.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121023125748')  (242.3ms) commit transaction Migrating to CreateSegments (20121024074240)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "disclaimer_segments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "title" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024074240')  (175.4ms) commit transaction Migrating to CreateDisclaimerSegmentHolders (20121024080818)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "disclaimer_segment_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "document_id" integer, "segment_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024080818')  (115.9ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("disclaimer_documents")  (0.0ms) PRAGMA index_list("disclaimer_segment_holders")  (0.0ms) PRAGMA index_list("disclaimer_segments") Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 14:47:40 +0100 Connecting to database specified by database.yml Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (45.0ms) Completed 200 OK in 446ms (Views: 316.0ms | ActiveRecord: 5.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /disclaimer/application.css - 304 Not Modified (11ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (61ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (28ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /jquery.js - 304 Not Modified (64ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /disclaimer/application.js - 304 Not Modified (35ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (22ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:47:42 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (20ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 14:54:38 +0100 Connecting to database specified by database.yml Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  ERROR: compiling __home_rob_web_disclaimer_app_views_disclaimer_documents_index_html_erb__828269717__619190158 RAISED /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:6: syntax error, unexpected ')', expecting keyword_then or ';' or '\n' ...ppend= ( if @documents.empty? );@output_buffer.safe_concat(' ... ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:8: syntax error, unexpected keyword_else ');@output_buffer.append= ( else );@output_buffer.safe_concat(' ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:27: syntax error, unexpected keyword_end, expecting ')' '); end ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:29: syntax error, unexpected keyword_ensure, expecting ')' /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:31: syntax error, unexpected keyword_end, expecting ')' Function body: def __home_rob_web_disclaimer_app_views_disclaimer_documents_index_html_erb__828269717__619190158(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "disclaimer/documents/index";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('

Documents

');@output_buffer.append= ( link_to('New Document', new_document_path) );@output_buffer.safe_concat('

Disclaimer

');@output_buffer.append= ( if @documents.empty? );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

There are currently no disclaimer documents

');@output_buffer.append= ( else );@output_buffer.safe_concat(' ');@output_buffer.safe_concat(' '); @documents.each do |document| @output_buffer.safe_concat(' '); end @output_buffer.safe_concat('
Name Title Segments Action
');@output_buffer.append= ( document.name );@output_buffer.safe_concat(' ');@output_buffer.append= ( document.title );@output_buffer.safe_concat(' ');@output_buffer.append= ( document.segments.collect{|d| d.name}.join(', ') );@output_buffer.safe_concat(' ');@output_buffer.safe_concat(' ');@output_buffer.append= ( link_to('Show', document_path(document)) );@output_buffer.safe_concat(' ');@output_buffer.append= ( link_to('Edit', edit_document_path(document)) );@output_buffer.safe_concat(' ');@output_buffer.append= ( link_to('Delete', delete_document_path(document)) );@output_buffer.safe_concat('
'); end @output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:5:in `send_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in `_run__797532890__process_action__393860731__callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__64560792__call__554135009__callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (40.9ms) Completed 500 Internal Server Error in 150ms ActionView::Template::Error (/home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:6: syntax error, unexpected ')', expecting keyword_then or ';' or '\n' ...ppend= ( if @documents.empty? );@output_buffer.safe_concat(' ... ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:8: syntax error, unexpected keyword_else ');@output_buffer.append= ( else );@output_buffer.safe_concat(' ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:27: syntax error, unexpected keyword_end, expecting ')' '); end ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:29: syntax error, unexpected keyword_ensure, expecting ')' /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb:31: syntax error, unexpected keyword_end, expecting ')'): 3: 4:

Disclaimer

5: 6: <%= if @documents.empty? %> 7:

There are currently no disclaimer documents

8: <%= else %> 9: actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval' actionpack (3.2.8) lib/action_view/template.rb:297:in `compile' actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!' actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__797532890__process_action__393860731__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__64560792__call__554135009__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.1ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (23.5ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (1.1ms) Completed 200 OK in 82ms (Views: 80.5ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /disclaimer/application.css - 304 Not Modified (11ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (80ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /jquery.js - 304 Not Modified (71ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /disclaimer/application.js - 304 Not Modified (46ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (20ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:54:57 +0100 Served asset /jquery_ujs.js - 304 Not Modified (12ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-24 14:55:39 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (0.5ms) Completed 200 OK in 31ms (Views: 20.3ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:55:40 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:55:49 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (5.8ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (2.1ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (undefined method `empty?' for nil:NilClass): 1:

Segments

2:

<%= link_to('New Segment', new_segment_path) %>

3: 4: <% if @documents.empty? %> 5:

There are currently no disclaimer documents

6: <% else %> 7: /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb:4:in `__home_rob_web_disclaimer_app_views_disclaimer_segments_index_html_erb__641824530__617578838' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__180779222__process_action__393860731__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__64560792__call__554135009__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.5ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (1.2ms) Completed 200 OK in 38ms (Views: 36.0ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (102ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 14:56:34 +0100 Served asset /disclaimer/application.js - 304 Not Modified (7ms) Started GET "/disclaimer/segments/new" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Processing by Disclaimer::SegmentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (13.9ms) Completed 200 OK in 34ms (Views: 25.0ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (6ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /jquery.js - 304 Not Modified (14ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:10:12 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/segments/new" for 127.0.0.1 at 2012-10-24 15:11:02 +0100 Processing by Disclaimer::SegmentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (4.6ms) Completed 200 OK in 36ms (Views: 35.5ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:02 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:02 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:03 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (22ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:03 +0100 Served asset /jquery.js - 304 Not Modified (26ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:03 +0100 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:03 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:03 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:03 +0100 Served asset /disclaimer/application.js - 304 Not Modified (13ms) Started POST "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 15:11:16 +0100 Processing by Disclaimer::SegmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YJ0+X5WkK04CWaF8C3tdeAi1tGjURFBGNb4D7VJ1SZ4=", "segment"=>{"name"=>"carers", "title"=>"", "body"=>""}, "commit"=>"Create Segment"}  (0.1ms) begin transaction SQL (77.9ms) INSERT INTO "disclaimer_segments" ("body", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", ""], ["created_at", Wed, 24 Oct 2012 14:11:16 UTC +00:00], ["name", "carers"], ["title", ""], ["updated_at", Wed, 24 Oct 2012 14:11:16 UTC +00:00]]  (171.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/segments/1 Completed 302 Found in 262ms (ActiveRecord: 249.7ms) Started GET "/disclaimer/segments/1" for 127.0.0.1 at 2012-10-24 15:11:16 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"1"} Disclaimer::Segment Load (0.5ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.5ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (9.8ms) Completed 200 OK in 35ms (Views: 23.9ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:16 +0100 Served asset /disclaimer/application.css - 304 Not Modified (8ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:17 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:17 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:17 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:17 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:17 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:17 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:17 +0100 Served asset /disclaimer/application.js - 304 Not Modified (22ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 15:11:21 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (378.1ms) Completed 200 OK in 410ms (Views: 398.5ms | ActiveRecord: 10.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:22 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:23 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:11:23 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:23 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:23 +0100 Served asset /jquery_ujs.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:23 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:23 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:11:23 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Connecting to database specified by database.yml Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 15:33:03 +0100 Connecting to database specified by database.yml Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (265.8ms) Completed 200 OK in 453ms (Views: 331.4ms | ActiveRecord: 14.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /disclaimer/application.css - 304 Not Modified (24ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (39ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (11ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /jquery.js - 304 Not Modified (52ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /jquery_ujs.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /disclaimer/application.js - 304 Not Modified (96ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:33:04 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (16ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-24 15:33:11 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Completed 500 Internal Server Error in 1ms ActiveRecord::RecordNotFound (Couldn't find Disclaimer::Segment without an ID): activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:310:in `find_with_ids' activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.8) lib/active_record/querying.rb:5:in `find' /home/rob/web/disclaimer/app/controllers/disclaimer/segments_controller.rb:42:in `get_segment' activesupport (3.2.8) lib/active_support/callbacks.rb:407:in `_run__320293766__process_action__463624090__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__479096496__call__637364518__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.1ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-24 15:33:36 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (0.4ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" IS NULL LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (207.1ms) Completed 500 Internal Server Error in 272ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1:

<%= @segment.name %>

2: <%= render @segment %> /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb:1:in `__home_rob_web_disclaimer_app_views_disclaimer_segments_show_html_erb___516811302_79335200' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__320293766__process_action__463624090__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__479096496__call__637364518__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (30.3ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-24 15:34:15 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" IS NULL LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (1.0ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1:

<%= @segment.name %>

2: <%= render @segment %> /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb:1:in `__home_rob_web_disclaimer_app_views_disclaimer_segments_show_html_erb___516811302_79335200' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__320293766__process_action__463624090__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__479096496__call__637364518__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.9ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (33.2ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-24 15:34:39 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (8.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.6ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (13.9ms) Completed 200 OK in 75ms (Views: 47.1ms | ActiveRecord: 9.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:34:40 +0100 Served asset /disclaimer/application.js - 304 Not Modified (18ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 15:57:10 +0100 Connecting to database specified by database.yml Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (241.6ms) Completed 200 OK in 423ms (Views: 299.8ms | ActiveRecord: 55.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /disclaimer/application.css - 304 Not Modified (19ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (9ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (13ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /disclaimer/application.js - 304 Not Modified (81ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /jquery.js - 304 Not Modified (93ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:12 +0100 Served asset /jquery_ujs.js - 304 Not Modified (15ms) Started GET "/disclaimer/segments/carers/edit" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Processing by Disclaimer::SegmentsController#edit as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (14.8ms) Completed 200 OK in 39ms (Views: 34.7ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:21 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-24 15:57:45 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (4.0ms) Completed 200 OK in 20ms (Views: 18.2ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:45 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:45 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:45 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:45 +0100 Served asset /jquery.js - 304 Not Modified (40ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:46 +0100 Served asset /jquery_ujs.js - 304 Not Modified (9ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:46 +0100 Served asset /disclaimer/application.js - 304 Not Modified (9ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:46 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:46 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.7ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (62.4ms) Completed 200 OK in 93ms (Views: 85.3ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (8ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:54 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-24 15:57:55 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-10-25 13:24:06 +0100 Connecting to database specified by database.yml ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (57.7ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-25 13:24:16 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (1.2ms) Completed 200 OK in 465ms (Views: 249.5ms | ActiveRecord: 6.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:24:17 +0100 Served asset /disclaimer/application.css - 304 Not Modified (43ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:24:17 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (10ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:17 +0100 Served asset /disclaimer/application.js - 304 Not Modified (56ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:17 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (10ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:17 +0100 Served asset /jquery.js - 304 Not Modified (60ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:24:17 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (25ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:18 +0100 Served asset /jquery_ujs.js - 304 Not Modified (21ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:18 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (15ms) Started GET "/disclaimer/documents/new" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Processing by Disclaimer::DocumentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (82.4ms) Completed 200 OK in 150ms (Views: 135.0ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /jquery_ujs.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:24:23 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started POST "/disclaimer/documents" for 127.0.0.1 at 2012-10-25 13:25:12 +0100 Processing by Disclaimer::DocumentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "footer"=>""}, "commit"=>"Create Document"}  (0.1ms) begin transaction SQL (250.1ms) INSERT INTO "disclaimer_documents" ("created_at", "footer", "header", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 12:25:12 UTC +00:00], ["footer", ""], ["header", "Please read this."], ["name", "main"], ["title", "The main disclaimer"], ["updated_at", Thu, 25 Oct 2012 12:25:12 UTC +00:00]]  (215.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 475ms (ActiveRecord: 466.0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 13:25:12 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.7ms) Completed 200 OK in 306ms (Views: 43.0ms | ActiveRecord: 0.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /disclaimer/application.css - 304 Not Modified (6ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (26ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /disclaimer/application.js - 304 Not Modified (20ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:25:13 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-25 13:30:05 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (429.5ms) Completed 200 OK in 462ms (Views: 456.8ms | ActiveRecord: 1.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:30:05 +0100 Served asset /disclaimer/application.css - 304 Not Modified (7ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:30:05 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:30:06 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:06 +0100 Served asset /jquery.js - 304 Not Modified (33ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:06 +0100 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:06 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:06 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:06 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (6.6ms) Completed 200 OK in 23ms (Views: 16.3ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Served asset /jquery.js - 304 Not Modified (14ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (8ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:18 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:30:19 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 13:56:15 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (75.2ms) Completed 500 Internal Server Error in 96ms ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Segment): 20:

Segments

21: 22:
    23: <% Segment.all.each do |segment| %> 24:
  • 25: 26: <%= check_box_tag :segment_ids, /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:23:in `block in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__625358938' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:378:in `form_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:3:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__625358938' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (29.5ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 13:56:33 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (35.7ms) Completed 200 OK in 55ms (Views: 52.9ms | ActiveRecord: 0.8ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (15ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /jquery.js - 304 Not Modified (16ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /disclaimer/application.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:56:34 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 13:58:29 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (25.2ms) Completed 200 OK in 54ms (Views: 44.0ms | ActiveRecord: 0.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (13ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:58:30 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 13:58:44 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"1"=>"1"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.0ms) begin transaction  (0.0ms) rollback transaction Completed 500 Internal Server Error in 3ms ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: segment_ids): activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize' activemodel (3.2.8) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:75:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:28:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.7ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 13:59:23 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"1"=>"1"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (10.3ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 12:59:23 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 12:59:23 UTC +00:00]]  (278.0ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 426ms (ActiveRecord: 291.0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 13:59:23 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (0.1ms) Completed 200 OK in 37ms (Views: 35.3ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 13:59:23 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 13:59:23 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 13:59:23 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 13:59:24 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (125ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 13:59:24 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 13:59:24 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 13:59:24 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 13:59:24 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:00:54 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (6.1ms) Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:00:54 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:00:54 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:00:54 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:00:55 +0100 Served asset /jquery.js - 304 Not Modified (19ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:00:55 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:00:55 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:00:55 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:00:55 +0100 Served asset /disclaimer/application.js - 304 Not Modified (13ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:01:08 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (18.1ms) Completed 200 OK in 38ms (Views: 36.6ms | ActiveRecord: 0.6ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (9.7ms) Completed 200 OK in 32ms (Views: 26.6ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (33ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /jquery.js - 304 Not Modified (31ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:01:09 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-25 14:02:05 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (2.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (6.3ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (66.9ms) Completed 200 OK in 91ms (Views: 85.1ms | ActiveRecord: 2.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /jquery.js - 304 Not Modified (17ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:06 +0100 Served asset /disclaimer/application.js - 304 Not Modified (17ms) Started GET "/disclaimer/segments/carers/edit" for 127.0.0.1 at 2012-10-25 14:02:13 +0100 Processing by Disclaimer::SegmentsController#edit as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (11.6ms) Completed 200 OK in 38ms (Views: 35.6ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:14 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started PUT "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-25 14:02:37 +0100 Processing by Disclaimer::SegmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "segment"=>{"name"=>"carers", "title"=>"", "body"=>"Don't do this or that."}, "commit"=>"Update Segment", "id"=>"carers"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1  (0.1ms) begin transaction  (1.2ms) UPDATE "disclaimer_segments" SET "body" = 'Don''t do this or that.', "updated_at" = '2012-10-25 13:02:37.161309' WHERE "disclaimer_segments"."id" = 1  (347.0ms) commit transaction Redirected to http://localhost:3000/disclaimer/segments/carers Completed 302 Found in 361ms (ActiveRecord: 348.5ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-25 14:02:37 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.3ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (1.6ms) Completed 200 OK in 28ms (Views: 12.5ms | ActiveRecord: 0.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:37 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:37 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:37 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:37 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:37 +0100 Served asset /jquery_ujs.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:38 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:38 +0100 Served asset /disclaimer/application.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:38 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (3.0ms) Completed 200 OK in 28ms (Views: 26.7ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Served asset /disclaimer/application.css - 304 Not Modified (43ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:41 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:02:42 +0100 Served asset /disclaimer/application.js - 304 Not Modified (8ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" Disclaimer::Document Load (7.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (12.2ms) Completed 200 OK in 31ms (Views: 22.8ms | ActiveRecord: 7.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /jquery_ujs.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:05 +0100 Served asset /disclaimer/application.js - 304 Not Modified (10ms) Started GET "/disclaimer/segments/carers" for 127.0.0.1 at 2012-10-25 14:03:11 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"carers"} Disclaimer::Segment Load (7.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'carers' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.1ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (1.0ms) Completed 200 OK in 56ms (Views: 47.2ms | ActiveRecord: 7.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:11 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:11 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (8ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:11 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:12 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:12 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:12 +0100 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:12 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:12 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-25 14:03:22 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (6.2ms) Completed 200 OK in 33ms (Views: 30.4ms | ActiveRecord: 0.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /jquery.js - 304 Not Modified (22ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:23 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:03:25 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (9.0ms) Completed 200 OK in 31ms (Views: 24.5ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:25 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:26 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (9ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:03:26 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (17ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:26 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (20ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:26 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:26 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:26 +0100 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:03:26 +0100 Served asset /disclaimer/application.js - 304 Not Modified (15ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:33:06 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.5ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (4.9ms) Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:06 +0100 Served asset /disclaimer/application.css - 304 Not Modified (3ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:06 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:07 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:07 +0100 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:07 +0100 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:07 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:07 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:07 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/segments/" for 127.0.0.1 at 2012-10-25 14:33:09 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (2.7ms) Completed 200 OK in 31ms (Views: 29.5ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (11ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /jquery.js - 304 Not Modified (38ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /disclaimer/application.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:10 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments/new" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Processing by Disclaimer::SegmentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (3.9ms) Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:33:13 +0100 Served asset /disclaimer/application.js - 304 Not Modified (17ms) Started POST "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:34:06 +0100 Processing by Disclaimer::SegmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "segment"=>{"name"=>"Warwickshire", "title"=>"Warkickshire People", "body"=>"If you live in Warkwickshire, you would read this."}, "commit"=>"Create Segment"}  (0.1ms) begin transaction SQL (2.0ms) INSERT INTO "disclaimer_segments" ("body", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "If you live in Warkwickshire, you would read this."], ["created_at", Thu, 25 Oct 2012 13:34:06 UTC +00:00], ["name", "warwickshire"], ["title", "Warkickshire People"], ["updated_at", Thu, 25 Oct 2012 13:34:06 UTC +00:00]]  (188.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/segments/warwickshire Completed 302 Found in 198ms (ActiveRecord: 190.9ms) Started GET "/disclaimer/segments/warwickshire" for 127.0.0.1 at 2012-10-25 14:34:06 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"warwickshire"} Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'warwickshire' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (6.8ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (8.2ms) Completed 200 OK in 33ms (Views: 27.0ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:06 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:07 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:07 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:07 +0100 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:07 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (13ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:07 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:07 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:07 +0100 Served asset /disclaimer/application.js - 304 Not Modified (6ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:34:16 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (15.5ms) Completed 200 OK in 35ms (Views: 25.2ms | ActiveRecord: 0.8ms) Started GET "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:34:16 +0100 Processing by Disclaimer::SegmentsController#index as HTML Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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 Disclaimer::Document Load (7.1ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/index.html.erb within layouts/disclaimer/application (15.5ms) Completed 200 OK in 33ms (Views: 21.6ms | ActiveRecord: 7.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:16 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:16 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:17 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:17 +0100 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:17 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:17 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:17 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:17 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/segments/new" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Processing by Disclaimer::SegmentsController#new as HTML Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/new.html.erb within layouts/disclaimer/application (4.9ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /jquery.js - 304 Not Modified (16ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:21 +0100 Served asset /disclaimer/application.js - 304 Not Modified (16ms) Started POST "/disclaimer/segments" for 127.0.0.1 at 2012-10-25 14:34:49 +0100 Processing by Disclaimer::SegmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "segment"=>{"name"=>"Elsewhere", "title"=>"Not from Warwickshire", "body"=>"If you are not from Warwickshire, you should read this."}, "commit"=>"Create Segment"}  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "disclaimer_segments" ("body", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "If you are not from Warwickshire, you should read this."], ["created_at", Thu, 25 Oct 2012 13:34:49 UTC +00:00], ["name", "elsewhere"], ["title", "Not from Warwickshire"], ["updated_at", Thu, 25 Oct 2012 13:34:49 UTC +00:00]]  (266.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/segments/elsewhere Completed 302 Found in 272ms (ActiveRecord: 267.6ms) Started GET "/disclaimer/segments/elsewhere" for 127.0.0.1 at 2012-10-25 14:34:49 +0100 Processing by Disclaimer::SegmentsController#show as HTML Parameters: {"id"=>"elsewhere"} Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."name" = 'elsewhere' LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/_segment.html.erb (0.1ms) Rendered /home/rob/web/disclaimer/app/views/disclaimer/segments/show.html.erb within layouts/disclaimer/application (8.5ms) Completed 200 OK in 31ms (Views: 29.9ms | ActiveRecord: 0.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:50 +0100 Served asset /disclaimer/application.js - 304 Not Modified (6ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-25 14:34:55 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (6.5ms) Completed 200 OK in 32ms (Views: 30.2ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /disclaimer/application.css - 304 Not Modified (34ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:56 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 Disclaimer::Segment Exists (0.1ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (14.6ms) Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 1.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /jquery_ujs.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:34:58 +0100 Served asset /disclaimer/application.js - 304 Not Modified (13ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:35:05 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"2"=>"2", "3"=>"3"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position  (0.1ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:35:05 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (13.4ms) Completed 200 OK in 53ms (Views: 47.0ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /jquery.js - 304 Not Modified (37ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:06 +0100 Served asset /disclaimer/application.js - 304 Not Modified (37ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:35:21 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (7.3ms) Completed 200 OK in 101ms (Views: 93.2ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:22 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"2"=>"2", "3"=>"3"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position  (0.1ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (1.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (5.5ms) Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 1.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (3ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /jquery.js - 304 Not Modified (14ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /jquery_ujs.js - 304 Not Modified (36ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:35:30 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (18.1ms) Completed 200 OK in 36ms (Views: 32.0ms | ActiveRecord: 1.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (27ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:10 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:37:14 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"id"=>"3"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position  (0.1ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 11ms (ActiveRecord: 0.7ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (13.7ms) Completed 200 OK in 32ms (Views: 30.4ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /jquery.js - 304 Not Modified (27ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:37:15 +0100 Served asset /disclaimer/application.js - 304 Not Modified (10ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:38:47 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"id"=>"3"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position  (0.1ms) begin transaction SQL (1.7ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" = 1  (194.8ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (2.6ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:38:47 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 13:38:47 UTC +00:00]]  (232.6ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 509ms (ActiveRecord: 434.0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (5.8ms) Completed 200 OK in 51ms (Views: 46.1ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /jquery.js - 304 Not Modified (20ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:38:48 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:39:42 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"id"=>"3"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.3ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (1.2ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (2) ORDER BY position)  (261.4ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:39:43 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 13:39:43 UTC +00:00]]  (193.0ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 572ms (ActiveRecord: 461.3ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (10.2ms) Completed 200 OK in 35ms (Views: 32.8ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (12ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /jquery.js - 304 Not Modified (29ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:39:43 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (14.9ms) Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 1.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /jquery.js - 304 Not Modified (28ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:32 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:40:37 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"2"=>"2", "3"=>"3"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (0.4ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (3) ORDER BY position)  (270.9ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:40:37 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 13:40:37 UTC +00:00]]  (160.5ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 461ms (ActiveRecord: 434.6ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (5.3ms) Completed 200 OK in 79ms (Views: 77.3ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (6ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:40:38 +0100 Served asset /disclaimer/application.js - 304 Not Modified (9ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:41:35 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (41.0ms) Completed 200 OK in 64ms (Views: 57.2ms | ActiveRecord: 1.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (26ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /disclaimer/application.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:36 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:41:40 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>"3", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (4.1ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (0.4ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (4) ORDER BY position)  (273.6ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 3]] Disclaimer::Segment Load (0.1ms) 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 Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:41:40 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 3], ["updated_at", Thu, 25 Oct 2012 13:41:40 UTC +00:00]]  (231.9ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 570ms (ActiveRecord: 512.3ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:41:40 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (2.1ms) Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:41:41 +0100 Served asset /disclaimer/application.js - 304 Not Modified (24ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (6.6ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (28.8ms) Completed 200 OK in 62ms (Views: 37.3ms | ActiveRecord: 7.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (3ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /disclaimer/application.js - 304 Not Modified (19ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:38 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (3ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:42:45 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"id"=>"3"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (1.2ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (5) ORDER BY position)  (214.8ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.1ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:42:45 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 13:42:45 UTC +00:00]]  (198.3ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 440ms (ActiveRecord: 415.8ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (12.3ms) Completed 200 OK in 158ms (Views: 156.1ms | ActiveRecord: 0.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:42:46 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:43:02 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (7.9ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (41.8ms) Completed 200 OK in 80ms (Views: 69.8ms | ActiveRecord: 8.8ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:43:03 +0100 Served asset /disclaimer/application.js - 304 Not Modified (16ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:46:18 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 ERROR: compiling __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__613429238 RAISED /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:46: syntax error, unexpected keyword_ensure, expecting keyword_end /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:48: syntax error, unexpected $end, expecting keyword_end Function body: def __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__613429238(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "disclaimer/documents/new";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('

    Disclaimer document

    ');@output_buffer.append= form_for(@document) do |form| @output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:name) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_field(:name) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:title) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_field(:title) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:header) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_area(:header, :rows => 4) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    Segments

      '); form.fields_for(@document.segments) do |segment_form| Disclaimer::Segment.all.each do |segment| @output_buffer.safe_concat('
    • ');@output_buffer.append= ( segment_form.check_box_tag(segment) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat(' ');@output_buffer.append= ( segment.name );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
    • '); end @output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:footer) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_area(:footer, :rows => 4) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.submit );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    '); end @output_buffer.safe_concat(' ');@output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (1.8ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (/home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:46: syntax error, unexpected keyword_ensure, expecting keyword_end /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:48: syntax error, unexpected $end, expecting keyword_end): 43: <% end %> actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval' actionpack (3.2.8) lib/action_view/template.rb:297:in `compile' actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!' actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (9.1ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.1ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:46:32 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (111.0ms) Completed 500 Internal Server Error in 115ms ActionView::Template::Error (undefined method `check_box_tag' for #): 24: <% Disclaimer::Segment.all.each do |segment| %> 25:
  • 26: 27: <%= segment_form.check_box_tag(segment) 28: %> 29: 30: <%= segment.name %> /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:27:in `block (3 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__622672748' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `each' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `block (2 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__622672748' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1317:in `fields_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:23:in `block in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__622672748' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:378:in `form_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:3:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__622672748' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.8ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:46:46 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (26.2ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `#' for #): 24: <% Disclaimer::Segment.all.each do |segment| %> 25:
  • 26: 27: <%= segment_form.check_box(segment) 28: %> 29: 30: <%= segment.name %> activemodel (3.2.8) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_missing' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1154:in `value' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1145:in `value' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1093:in `to_check_box_tag' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:843:in `check_box' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1325:in `check_box' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:27:in `block (3 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__616875508' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `each' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `block (2 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__616875508' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1317:in `fields_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:23:in `block in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__616875508' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:378:in `form_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:3:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__616875508' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.3ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:47:02 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.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 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (33.2ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `merge' for #): 24: <% Disclaimer::Segment.all.each do |segment| %> 25:
  • 26: 27: <%= segment_form.check_box(:segment, segment) 28: %> 29: 30: <%= segment.name %> activemodel (3.2.8) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_missing' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1414:in `objectify_options' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1325:in `check_box' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:27:in `block (3 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__614205258' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `each' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `block (2 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__614205258' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1317:in `fields_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:23:in `block in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__614205258' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:378:in `form_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:3:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__614205258' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.4ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:47:20 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (5.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 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (20.8ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `merge' for 1:Fixnum): 24: <% Disclaimer::Segment.all.each do |segment| %> 25:
  • 26: 27: <%= segment_form.check_box(:id, segment.id) 28: %> 29: 30: <%= segment.name %> actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1414:in `objectify_options' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1325:in `check_box' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:27:in `block (3 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__623940068' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `each' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:24:in `block (2 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__623940068' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1317:in `fields_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:23:in `block in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__623940068' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:378:in `form_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:3:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__623940068' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.9ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (15.5ms) Completed 200 OK in 43ms (Views: 41.2ms | ActiveRecord: 0.8ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (16ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:47:47 +0100 Served asset /disclaimer/application.js - 304 Not Modified (71ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (20.9ms) Completed 200 OK in 42ms (Views: 40.1ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (17ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:48:40 +0100 Served asset /disclaimer/application.js - 304 Not Modified (19ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (27.8ms) Completed 200 OK in 48ms (Views: 45.6ms | ActiveRecord: 0.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /jquery.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:07 +0100 Served asset /disclaimer/application.js - 304 Not Modified (15ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:49:33 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (20.2ms) Completed 200 OK in 44ms (Views: 37.0ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (3ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /disclaimer/application.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:49:34 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:49:46 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (2.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (9.9ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `segment_id' for #): 24: <%# Disclaimer::Segment.all.each do |segment| %> 25:
  • 26: 27: <%= segment_form.check_box(:segment_id) 28: %> 29: 30: <%#= segment.name %> activemodel (3.2.8) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_missing' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1154:in `value' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1145:in `value' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1093:in `to_check_box_tag' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:843:in `check_box' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1325:in `check_box' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:27:in `block (2 levels) in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__624142228' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1317:in `fields_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:23:in `block in __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__624142228' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:607:in `fields_for' actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:378:in `form_for' /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:3:in `__home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__624142228' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.9ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:49:59 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (31.6ms) Completed 200 OK in 48ms (Views: 46.3ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /jquery_ujs.js - 304 Not Modified (79ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:00 +0100 Served asset /disclaimer/application.js - 304 Not Modified (5ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:50:32 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (17.3ms) Completed 200 OK in 52ms (Views: 49.5ms | ActiveRecord: 0.9ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:50:32 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:50:33 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:33 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:33 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:33 +0100 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:33 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:50:33 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:50:33 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (31.1ms) Completed 200 OK in 50ms (Views: 47.3ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Served asset /jquery.js - 304 Not Modified (31ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:51:30 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:51:31 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 Disclaimer::Segment Exists (0.1ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (25.8ms) Completed 200 OK in 45ms (Views: 37.3ms | ActiveRecord: 1.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /jquery.js - 304 Not Modified (8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:52:28 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:53:20 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.8ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (1.0ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 Disclaimer::Segment Exists (0.5ms) 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 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (36.1ms) Completed 200 OK in 73ms (Views: 53.9ms | ActiveRecord: 2.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:20 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:20 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:20 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:20 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:20 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:20 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:21 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:21 +0100 Served asset /disclaimer/application.js - 304 Not Modified (15ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:53:34 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>"3", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (1.1ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (6) ORDER BY position)  (177.2ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 3]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.0ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:53:34 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 3], ["updated_at", Thu, 25 Oct 2012 13:53:34 UTC +00:00]]  (116.3ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 347ms (ActiveRecord: 297.2ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.8ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (91.3ms) Completed 200 OK in 113ms (Views: 110.8ms | ActiveRecord: 1.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /disclaimer/application.css - 304 Not Modified (18ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (12ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /jquery_ujs.js - 304 Not Modified (14ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:35 +0100 Served asset /disclaimer/application.js - 304 Not Modified (7ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:53:42 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>"2", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (1.3ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (7) ORDER BY position)  (152.2ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.7ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 2]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (2.6ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:53:42 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 2], ["updated_at", Thu, 25 Oct 2012 13:53:42 UTC +00:00]]  (99.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 278ms (ActiveRecord: 257.4ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (1.7ms) Completed 200 OK in 66ms (Views: 50.8ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:53:43 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:54:54 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 ERROR: compiling __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__625159898 RAISED /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:28: syntax error, unexpected ',', expecting ')' , ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:29: syntax error, unexpected ',', expecting ')' @document.segments.include?(segment), ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:32: syntax error, unexpected ')', expecting keyword_end );@output_buffer.safe_concat(' ^ Function body: def __home_rob_web_disclaimer_app_views_disclaimer_documents_new_html_erb___671917287__625159898(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "disclaimer/documents/new";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('

    Disclaimer document

    ');@output_buffer.append= form_for(@document) do |form| @output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:name) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_field(:name) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:title) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_field(:title) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:header) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_area(:header, :rows => 4) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    Segments

      '); Disclaimer::Segment.all.each do |segment| @output_buffer.safe_concat('
    • ');@output_buffer.append= ( check_box_tag( :segment_ids, , @document.segments.include?(segment), :name => "document[segment_ids][#{segment.id}]" ) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat(' ');@output_buffer.append= ( segment.name );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
    • '); end @output_buffer.safe_concat('

    ');@output_buffer.append= ( form.label(:footer) );@output_buffer.safe_concat('
    ');@output_buffer.append= ( form.text_area(:footer, :rows => 4) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    ');@output_buffer.append= ( form.submit );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

    '); end @output_buffer.safe_concat(' ');@output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call' /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (4.6ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (/home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:28: syntax error, unexpected ',', expecting ')' , ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:29: syntax error, unexpected ',', expecting ')' @document.segments.include?(segment), ^ /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb:32: syntax error, unexpected ')', expecting keyword_end );@output_buffer.safe_concat(' ^): 25: 26: <%= check_box_tag( 27: :segment_ids, 28: , 29: @document.segments.include?(segment), 30: :name => "document[segment_ids][#{segment.id}]" 31: ) actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval' actionpack (3.2.8) lib/action_view/template.rb:297:in `compile' actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!' actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:24:in `edit' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__580761578__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.9ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.1ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:55:11 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.7ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (13.6ms) Completed 200 OK in 32ms (Views: 29.2ms | ActiveRecord: 1.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:12 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:55:16 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (0.3ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (8) ORDER BY position)  (287.6ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (2.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.1ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 13:55:16 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 13:55:16 UTC +00:00]]  (165.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 493ms (ActiveRecord: 457.0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:55:16 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (17.1ms) Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (7ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:17 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.6ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.3ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 Disclaimer::Segment Exists (0.1ms) 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 Disclaimer::Segment Exists (2.0ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (40.1ms) Completed 200 OK in 62ms (Views: 56.6ms | ActiveRecord: 3.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:55:50 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:55:55 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.0ms) begin transaction SQL (5.9ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (9) ORDER BY position)  (164.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 500 Internal Server Error in 175ms ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: segments): activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize' activemodel (3.2.8) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:75:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:29:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.2ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.3ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:56:13 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.1ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 500 Internal Server Error in 63ms NameError (uninitialized constant Segment): activesupport (3.2.8) lib/active_support/inflector/methods.rb:230:in `block in constantize' activesupport (3.2.8) lib/active_support/inflector/methods.rb:229:in `each' activesupport (3.2.8) lib/active_support/inflector/methods.rb:229:in `constantize' activesupport (3.2.8) lib/active_support/core_ext/string/inflections.rb:54:in `constantize' activerecord (3.2.8) lib/active_record/associations/association.rb:202:in `raise_on_type_mismatch' activerecord (3.2.8) lib/active_record/associations/collection_association.rb:308:in `block in replace' activerecord (3.2.8) lib/active_record/associations/collection_association.rb:308:in `each' activerecord (3.2.8) lib/active_record/associations/collection_association.rb:308:in `replace' activerecord (3.2.8) lib/active_record/associations/collection_association.rb:41:in `writer' activerecord (3.2.8) lib/active_record/associations/builder/association.rb:51:in `block in define_writers' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:94:in `block in assign_attributes' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:93:in `each' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:93:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:29:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.8ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:57:50 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (51.2ms) Completed 200 OK in 76ms (Views: 71.8ms | ActiveRecord: 2.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /disclaimer/application.js - 304 Not Modified (6ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:57:51 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:57:54 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>"3", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction  (0.0ms) rollback transaction Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `each' for "3":String): activerecord (3.2.8) lib/active_record/associations/collection_association.rb:308:in `replace' activerecord (3.2.8) lib/active_record/associations/collection_association.rb:41:in `writer' activerecord (3.2.8) lib/active_record/associations/builder/association.rb:51:in `block in define_writers' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:85:in `block in assign_attributes' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `each' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:29:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.7ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 14:59:01 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (25.3ms) Completed 200 OK in 49ms (Views: 44.6ms | ActiveRecord: 1.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /jquery.js - 304 Not Modified (15ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /disclaimer/application.js - 304 Not Modified (8ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 14:59:02 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:59:05 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments_id"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (3.0ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 500 Internal Server Error in 8ms ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: segments_id): activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize' activemodel (3.2.8) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:75:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:29:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.8ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 14:59:16 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments_id"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.1ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 500 Internal Server Error in 30ms ActiveRecord::UnknownAttributeError (unknown attribute: segments_id): activerecord (3.2.8) lib/active_record/attribute_assignment.rb:88:in `block in assign_attributes' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `each' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:29:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.2ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (13.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (65.3ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments"  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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 Disclaimer::Segment Exists (0.1ms) 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 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (80.1ms) Completed 200 OK in 109ms (Views: 89.8ms | ActiveRecord: 4.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (15ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (44ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:07 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (21.7ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:00:27 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 14:00:27 UTC +00:00]]  (138.1ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 186ms (ActiveRecord: 160.9ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (6.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (8.5ms) Completed 200 OK in 38ms (Views: 28.9ms | ActiveRecord: 6.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /disclaimer/application.css - 304 Not Modified (2ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:00:27 +0100 Served asset /disclaimer/application.js - 304 Not Modified (5ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 Disclaimer::Segment Exists (0.1ms) 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 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" = 1 AND "disclaimer_segments"."id" = 3 LIMIT 1 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (33.3ms) Completed 200 OK in 48ms (Views: 45.6ms | ActiveRecord: 1.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /disclaimer/application.js - 304 Not Modified (8ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:01:38 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:05:26 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segment_ids"=>{"1"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.1ms) begin transaction SQL (1.1ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (10) ORDER BY position)  (230.6ms) commit transaction  (0.1ms) begin transaction Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", 1]] Disclaimer::Segment Load (1.9ms) 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 Disclaimer::SegmentHolder Load (0.1ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:05:27 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 14:05:27 UTC +00:00]]  (190.1ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 437ms (ActiveRecord: 425.0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (32.9ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (38.2ms) Completed 200 OK in 51ms (Views: 16.9ms | ActiveRecord: 33.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:05:27 +0100 Served asset /jquery.js - 304 Not Modified (8ms) Started GET "/disclaimer/documents/main/edit" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Processing by Disclaimer::DocumentsController#edit as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (11.8ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" 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" = 1 AND "disclaimer_segments"."id" = 1 LIMIT 1 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" = 1 AND "disclaimer_segments"."id" = 2 LIMIT 1 Disclaimer::Segment Exists (0.1ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/new.html.erb within layouts/disclaimer/application (40.0ms) Completed 200 OK in 67ms (Views: 52.2ms | ActiveRecord: 12.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /jquery.js - 304 Not Modified (27ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:06:45 +0100 Served asset /disclaimer/application.js - 304 Not Modified (14ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:06:50 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::SegmentHolder Load (0.2ms) SELECT DISTINCT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 ORDER BY position  (0.0ms) begin transaction SQL (7.3ms) UPDATE "disclaimer_segment_holders" SET "document_id" = NULL WHERE "disclaimer_segment_holders"."id" IN (SELECT "disclaimer_segment_holders"."id" FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."id" IN (11) ORDER BY position)  (212.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction Completed 500 Internal Server Error in 226ms ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: segments): activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize' activemodel (3.2.8) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:75:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:29:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.1ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.7ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:09:02 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]] Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction  (0.0ms) rollback transaction Completed 500 Internal Server Error in 66ms ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: segments): activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal' activemodel (3.2.8) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize' activemodel (3.2.8) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:75:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:30:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.9ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:09:24 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (2.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction Disclaimer::Segment Load (6.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 Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (5.8ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:09:24 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 2], ["updated_at", Thu, 25 Oct 2012 14:09:24 UTC +00:00]] Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:09:24 UTC +00:00], ["document_id", 1], ["position", 2], ["segment_id", 3], ["updated_at", Thu, 25 Oct 2012 14:09:24 UTC +00:00]]  (196.8ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 333ms (ActiveRecord: 217.2ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (12.6ms) Completed 200 OK in 41ms (Views: 32.4ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /jquery.js - 304 Not Modified (25ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /disclaimer/application.js - 304 Not Modified (20ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:25 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:09:40 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"1"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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" = 1 ORDER BY position SQL (1.9ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" = 2 Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:09:40 UTC +00:00], ["document_id", 1], ["position", 3], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 14:09:40 UTC +00:00]]  (229.9ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 248ms (ActiveRecord: 233.5ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.9ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (2.8ms) Completed 200 OK in 141ms (Views: 92.3ms | ActiveRecord: 1.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /disclaimer/application.css - 304 Not Modified (13ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:09:41 +0100 Served asset /disclaimer/application.js - 304 Not Modified (4ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:10:30 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `keys' for nil:NilClass): /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:28:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.1ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.7ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:11:08 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 500 Internal Server Error in 26ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.8) lib/active_record/associations/collection_association.rb:308:in `replace' activerecord (3.2.8) lib/active_record/associations/collection_association.rb:41:in `writer' activerecord (3.2.8) lib/active_record/associations/builder/association.rb:51:in `block in define_writers' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:85:in `block in assign_attributes' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `each' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:30:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.6ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:11:26 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 500 Internal Server Error in 120ms NoMethodError (undefined method `each' for false:FalseClass): activerecord (3.2.8) lib/active_record/associations/collection_association.rb:308:in `replace' activerecord (3.2.8) lib/active_record/associations/collection_association.rb:41:in `writer' activerecord (3.2.8) lib/active_record/associations/builder/association.rb:51:in `block in define_writers' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:85:in `block in assign_attributes' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `each' activerecord (3.2.8) lib/active_record/attribute_assignment.rb:78:in `assign_attributes' activerecord (3.2.8) lib/active_record/persistence.rb:215:in `block in update_attributes' activerecord (3.2.8) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.8) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.8) lib/active_record/persistence.rb:214:in `update_attributes' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:30:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (12.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (13.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.2ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:11:56 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction 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" = 1 ORDER BY position SQL (1.3ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" IN (3, 1)  (224.2ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 326ms (ActiveRecord: 227.1ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:11:56 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (10.4ms) Completed 200 OK in 42ms (Views: 38.2ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:11:57 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:12:04 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (9.8ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.2ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (3.3ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:12:04 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 2], ["updated_at", Thu, 25 Oct 2012 14:12:04 UTC +00:00]] Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:12:04 UTC +00:00], ["document_id", 1], ["position", 2], ["segment_id", 3], ["updated_at", Thu, 25 Oct 2012 14:12:04 UTC +00:00]]  (173.5ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 228ms (ActiveRecord: 188.0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (4.8ms) Completed 200 OK in 37ms (Views: 35.5ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:12:05 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:16:50 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Completed 500 Internal Server Error in 12ms ArgumentError (wrong number of arguments (0 for 1)): /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:48:in `replace_with_segments' /home/rob/web/disclaimer/app/controllers/disclaimer/documents_controller.rb:28:in `update' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__685151522__process_action__450185412__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__697393395__call__980570__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.4ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:26 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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" = 1 ORDER BY position SQL (6.0ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" = 2  (171.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 287ms (ActiveRecord: 179.9ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (6.7ms) Completed 200 OK in 33ms (Views: 30.9ms | ActiveRecord: 0.9ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /jquery.js - 304 Not Modified (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:27 +0100 Served asset /disclaimer/application.js - 304 Not Modified (15ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:36 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]] Disclaimer::Segment Load (3.7ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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 Disclaimer::SegmentHolder Load (0.3ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:17:36 UTC +00:00], ["document_id", 1], ["position", 3], ["segment_id", 2], ["updated_at", Thu, 25 Oct 2012 14:17:36 UTC +00:00]]  (162.0ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 234ms (ActiveRecord: 168.8ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:36 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (12.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (14.4ms) Completed 200 OK in 135ms (Views: 120.3ms | ActiveRecord: 12.8ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /disclaimer/application.css - 304 Not Modified (95ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (25ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /jquery.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:37 +0100 Served asset /disclaimer/application.js - 304 Not Modified (5ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:42 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction 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 SQL (0.2ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" IN (3, 2)  (171.4ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 200ms (ActiveRecord: 172.2ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:42 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (3.2ms) Completed 200 OK in 45ms (Views: 43.8ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:42 +0100 Served asset /disclaimer/application.css - 304 Not Modified (10ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:43 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:43 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:43 +0100 Served asset /jquery.js - 304 Not Modified (18ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:43 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:43 +0100 Served asset /disclaimer/application.js - 304 Not Modified (9ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:43 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:43 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:48 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"1"=>"on", "2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (1.0ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.1ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:17:48 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 14:17:48 UTC +00:00]] Disclaimer::SegmentHolder Load (0.1ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:17:48 UTC +00:00], ["document_id", 1], ["position", 2], ["segment_id", 2], ["updated_at", Thu, 25 Oct 2012 14:17:48 UTC +00:00]] Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:17:48 UTC +00:00], ["document_id", 1], ["position", 3], ["segment_id", 3], ["updated_at", Thu, 25 Oct 2012 14:17:48 UTC +00:00]]  (136.4ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 161ms (ActiveRecord: 140.4ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:17:48 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (2.6ms) Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /disclaimer/application.js - 304 Not Modified (16ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:17:49 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:18:08 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (72.1ms) Completed 200 OK in 107ms (Views: 82.4ms | ActiveRecord: 2.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:18:08 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:18:08 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:18:08 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:18:09 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:18:09 +0100 Served asset /jquery_ujs.js - 304 Not Modified (13ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:18:09 +0100 Served asset /disclaimer/application.js - 304 Not Modified (16ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:18:09 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:18:09 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:03 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (140.9ms) Completed 200 OK in 199ms (Views: 169.6ms | ActiveRecord: 2.9ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:04 +0100 Served asset /disclaimer/application.js - 304 Not Modified (2ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:09 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"1"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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" = 1 ORDER BY position SQL (1.5ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" = 2  (232.7ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 245ms (ActiveRecord: 235.0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:09 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (2.2ms) Completed 200 OK in 48ms (Views: 46.3ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /disclaimer/application.js - 304 Not Modified (27ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:10 +0100 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:16 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1  (0.1ms) begin transaction 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 SQL (0.4ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" IN (1, 3)  (208.8ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 227ms (ActiveRecord: 209.8ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:16 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (5.5ms) Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /disclaimer/application.js - 304 Not Modified (17ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:17 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:23 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"1"=>"on", "2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Disclaimer::Segment Load (3.5ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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" = 1 ORDER BY position Disclaimer::SegmentHolder Load (0.9ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:20:23 UTC +00:00], ["document_id", 1], ["position", 1], ["segment_id", 1], ["updated_at", Thu, 25 Oct 2012 14:20:23 UTC +00:00]] Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:20:23 UTC +00:00], ["document_id", 1], ["position", 2], ["segment_id", 2], ["updated_at", Thu, 25 Oct 2012 14:20:23 UTC +00:00]] Disclaimer::SegmentHolder Load (0.6ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:20:23 UTC +00:00], ["document_id", 1], ["position", 3], ["segment_id", 3], ["updated_at", Thu, 25 Oct 2012 14:20:23 UTC +00:00]]  (144.2ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 200ms (ActiveRecord: 152.8ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (6.7ms) Completed 200 OK in 20ms (Views: 15.9ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /disclaimer/application.css - 304 Not Modified (23ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /disclaimer/application.js - 304 Not Modified (120ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:24 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:36 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"1"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction 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 SQL (1.0ms) DELETE FROM "disclaimer_segment_holders" WHERE "disclaimer_segment_holders"."document_id" = 1 AND "disclaimer_segment_holders"."segment_id" IN (2, 3)  (176.3ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 195ms (ActiveRecord: 178.1ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:36 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (7.9ms) Completed 200 OK in 37ms (Views: 35.8ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:36 +0100 Served asset /disclaimer/application.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:36 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:20:36 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:37 +0100 Served asset /jquery.js - 304 Not Modified (15ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:37 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:37 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (3ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:37 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:20:37 +0100 Served asset /disclaimer/application.js - 304 Not Modified (6ms) Started PUT "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:20:59 +0100 Processing by Disclaimer::DocumentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "document"=>{"name"=>"main", "title"=>"The main disclaimer", "header"=>"Please read this.", "segments"=>{"1"=>"on", "2"=>"on", "3"=>"on"}, "footer"=>""}, "commit"=>"Update Document", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.9ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "1"]] Disclaimer::Segment Load (0.1ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "2"]] Disclaimer::Segment Load (0.7ms) SELECT "disclaimer_segments".* FROM "disclaimer_segments" WHERE "disclaimer_segments"."id" = ? LIMIT 1 [["id", "3"]]  (0.1ms) begin transaction 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 Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:20:59 UTC +00:00], ["document_id", 1], ["position", 2], ["segment_id", 2], ["updated_at", Thu, 25 Oct 2012 14:20:59 UTC +00:00]] Disclaimer::SegmentHolder Load (0.2ms) SELECT "disclaimer_segment_holders".* FROM "disclaimer_segment_holders" WHERE ("disclaimer_segment_holders"."document_id" = 1) ORDER BY disclaimer_segment_holders.position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "disclaimer_segment_holders" ("created_at", "document_id", "position", "segment_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 25 Oct 2012 14:20:59 UTC +00:00], ["document_id", 1], ["position", 3], ["segment_id", 3], ["updated_at", Thu, 25 Oct 2012 14:20:59 UTC +00:00]]  (186.4ms) commit transaction Redirected to http://localhost:3000/disclaimer/documents/main Completed 302 Found in 208ms (ActiveRecord: 191.2ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (1.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (4.0ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 1.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:21:00 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:27:47 +0100 Connecting to database specified by database.yml Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (130.4ms) Completed 200 OK in 322ms (Views: 234.5ms | ActiveRecord: 5.3ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /disclaimer/application.css - 304 Not Modified (8ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (9ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (10ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /jquery.js - 304 Not Modified (50ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (15ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /disclaimer/application.js - 304 Not Modified (50ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:27:48 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (9ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:28:51 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (11.8ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (14.2ms) Completed 500 Internal Server Error in 152ms ActionView::Template::Error (couldn't find file 'jquery_ui' (in /home/rob/web/disclaimer/app/assets/javascripts/disclaimer/application.js:15)): 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: 9: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:27:in `block in javascript_include_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:26:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:26:in `javascript_include_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:6:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.1ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:28:59 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (6.1ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (8.1ms) Compiled jquery-ui.js (15ms) (pid 4538) Compiled disclaimer/application.js (306ms) (pid 4538) Completed 200 OK in 434ms (Views: 426.7ms | ActiveRecord: 6.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:28:59 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (10ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /jquery-ui.js - 200 OK (32ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:00 +0100 Served asset /disclaimer/application.js - 200 OK (44ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:29:20 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (13.0ms) Completed 200 OK in 49ms (Views: 47.1ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:29:20 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:29:20 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:29:20 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:21 +0100 Served asset /jquery.js - 304 Not Modified (13ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:21 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:21 +0100 Served asset /jquery-ui.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:21 +0100 Served asset /disclaimer/application.js - 304 Not Modified (23ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:21 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:29:21 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:30:10 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (2.3ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (couldn't find file 'jquery.ui.all' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.1ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:30:48 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (2.4ms) Completed 500 Internal Server Error in 104ms ActionView::Template::Error (couldn't find file 'jquery.ui' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (24.9ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:30:58 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (10.8ms) Completed 500 Internal Server Error in 70ms ActionView::Template::Error (couldn't find file 'jquery-ui.all' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (15.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (37.6ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:31:51 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (11.2ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (couldn't find file 'jquery.ui' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.4ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:31:59 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (14.5ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (couldn't find file 'jquery.ui.all' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (31.2ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:32:53 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (9.9ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (12.3ms) Completed 500 Internal Server Error in 81ms ActionView::Template::Error (couldn't find file 'disclaimer/jquery.ui.all' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.5ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:33:30 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (7.1ms) Completed 500 Internal Server Error in 54ms ActionView::Template::Error (couldn't find file 'jquery-ui' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (24.5ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:33:41 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (11.8ms) Completed 500 Internal Server Error in 59ms ActionView::Template::Error (couldn't find file 'jquery' (in /home/rob/web/disclaimer/app/assets/stylesheets/disclaimer/application.css:12)): 2: 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:5:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.6ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.4ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:33:50 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (2.2ms) Completed 500 Internal Server Error in 116ms ActionView::Template::Error (couldn't find file 'jquery-ui.all' (in /home/rob/web/disclaimer/app/assets/javascripts/disclaimer/application.js:15)): 3: 4: Disclaimer 5: <%= stylesheet_link_tag "disclaimer/application", :media => "all" %> 6: <%= javascript_include_tag "disclaimer/application" %> 7: <%= csrf_meta_tags %> 8: 9: sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve' sprockets (2.1.3) lib/sprockets/context.rb:140:in `require_asset' sprockets (2.1.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.1.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.1.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.1.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.1.3) lib/sprockets/context.rb:177:in `block in evaluate' sprockets (2.1.3) lib/sprockets/context.rb:174:in `each' sprockets (2.1.3) lib/sprockets/context.rb:174:in `evaluate' sprockets (2.1.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.1.3) lib/sprockets/base.rb:241:in `new' sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset' sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection' sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset' sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset' sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/bundled_asset.rb:38:in `init_with' sprockets (2.1.3) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.1.3) lib/sprockets/caching.rb:15:in `cache_asset' sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset' sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset' sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset' sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset' sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:27:in `block in javascript_include_tag' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:26:in `collect' actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:26:in `javascript_include_tag' /home/rob/web/disclaimer/app/views/layouts/disclaimer/application.html.erb:6:in `__home_rob_web_disclaimer_app_views_layouts_disclaimer_application_html_erb__299697980_86089510' actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.8) lib/action_view/template.rb:143:in `render' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__944724148__process_action__659008347__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__732025655__call__665865946__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.1ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (6.2ms) Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (17ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /jquery-ui.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:05 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.8ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (20.2ms) Completed 200 OK in 43ms (Views: 40.6ms | ActiveRecord: 1.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /disclaimer/application.css - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /jquery-ui.js - 304 Not Modified (15ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:34:58 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.5ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (3.9ms) Completed 200 OK in 20ms (Views: 16.3ms | ActiveRecord: 0.9ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /jquery-ui.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:36:49 +0100 Served asset /disclaimer/application.js - 304 Not Modified (11ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:37:43 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (9.8ms) Completed 200 OK in 56ms (Views: 54.1ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:37:43 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:37:43 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:37:43 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:37:44 +0100 Served asset /jquery.js - 304 Not Modified (13ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:37:44 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:37:44 +0100 Served asset /jquery-ui.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:37:44 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:37:44 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:37:44 +0100 Served asset /disclaimer/application.js - 304 Not Modified (15ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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" = 1 ORDER BY position Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (15.1ms) Completed 200 OK in 41ms (Views: 38.7ms | ActiveRecord: 0.5ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Served asset /disclaimer/application.css - 304 Not Modified (3ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (5ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Served asset /jquery-ui.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:39:51 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (7ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:39:52 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:39:52 +0100 Served asset /disclaimer/application.js - 304 Not Modified (10ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:44:41 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (9.4ms) Compiled disclaimer/documents.js (0ms) (pid 4538) Compiled disclaimer/application.js (3ms) (pid 4538) Completed 200 OK in 224ms (Views: 220.7ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:44:41 +0100 Served asset /disclaimer/application.css - 304 Not Modified (3ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:44:41 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (7ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:44:41 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:44:41 +0100 Served asset /disclaimer/documents.js - 200 OK (29ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:44:41 +0100 Served asset /jquery-ui.js - 304 Not Modified (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:44:42 +0100 Served asset /jquery_ujs.js - 304 Not Modified (9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:44:42 +0100 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:44:42 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (7ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:44:42 +0100 Served asset /disclaimer/application.js - 304 Not Modified (115ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (7.4ms) Compiled disclaimer/documents.css (0ms) (pid 4538) Compiled disclaimer/application.css (1ms) (pid 4538) Compiled disclaimer/documents.js (0ms) (pid 4538) Compiled disclaimer/application.js (13ms) (pid 4538) Completed 200 OK in 282ms (Views: 279.7ms | ActiveRecord: 0.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /disclaimer/application.css - 304 Not Modified (19ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /disclaimer/documents.css - 200 OK (33ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /jquery-ui.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /disclaimer/documents.js - 200 OK (12ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 15:45:06 +0100 Served asset /disclaimer/application.js - 304 Not Modified (53ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 16:14:56 +0100 Connecting to database specified by database.yml Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (146.4ms) Completed 200 OK in 316ms (Views: 214.5ms | ActiveRecord: 6.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 16:14:57 +0100 Served asset /disclaimer/application.css - 304 Not Modified (54ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 16:14:57 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (10ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 16:14:57 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (12ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 16:14:57 +0100 Served asset /jquery.js - 304 Not Modified (13ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 16:14:57 +0100 Served asset /jquery_ujs.js - 304 Not Modified (19ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 16:14:57 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (22ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 16:14:58 +0100 Served asset /jquery-ui.js - 304 Not Modified (22ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 16:14:58 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (31ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 16:14:58 +0100 Served asset /disclaimer/application.js - 304 Not Modified (53ms) Started PUT "/disclaimer/documents/main/accept" for 127.0.0.1 at 2012-10-25 16:15:03 +0100 ActionController::RoutingError (No route matches [PUT] "/disclaimer/documents/main/accept"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (0.7ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (11.6ms) Completed 200 OK in 32ms (Views: 29.8ms | ActiveRecord: 0.8ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /disclaimer/application.css - 304 Not Modified (4ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /jquery_ujs.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (12ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /disclaimer/application.js - 304 Not Modified (13ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:32 +0100 Served asset /jquery-ui.js - 304 Not Modified (1ms) Started POST "/disclaimer/documents/main/accept" for 127.0.0.1 at 2012-10-25 16:15:34 +0100 Processing by Disclaimer::DocumentsController#accept as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "commit"=>"Accept", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/disclaimer/ Completed 302 Found in 23ms (ActiveRecord: 0.3ms) Started GET "/disclaimer/" for 127.0.0.1 at 2012-10-25 16:15:34 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (9.7ms) Completed 200 OK in 44ms (Views: 39.6ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:34 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (42ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (13ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /jquery-ui.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:35 +0100 Served asset /disclaimer/application.js - 304 Not Modified (17ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-25 16:15:47 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (13.1ms) Completed 200 OK in 36ms (Views: 29.0ms | ActiveRecord: 0.6ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:47 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:47 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:48 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (51ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:48 +0100 Served asset /jquery.js - 304 Not Modified (15ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:48 +0100 Served asset /jquery_ujs.js - 304 Not Modified (6ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:48 +0100 Served asset /jquery-ui.js - 304 Not Modified (11ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:48 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:48 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (10ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:48 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started POST "/disclaimer/documents/main/accept" for 127.0.0.1 at 2012-10-25 16:15:50 +0100 Processing by Disclaimer::DocumentsController#accept as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MVWcApu3FqzXfpZePZsTpk0sHl4R+yH7eKV5SB3KzRE=", "commit"=>"Accept", "id"=>"main"} Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/disclaimer/ Completed 302 Found in 1ms (ActiveRecord: 0.3ms) Started GET "/disclaimer/" for 127.0.0.1 at 2012-10-25 16:15:50 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  Disclaimer::Segment Load (8.9ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (12.0ms) Completed 200 OK in 53ms (Views: 34.6ms | ActiveRecord: 9.1ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:50 +0100 Served asset /disclaimer/application.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:50 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 16:15:50 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (42ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:51 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:51 +0100 Served asset /jquery-ui.js - 304 Not Modified (7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:51 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:51 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:51 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 16:15:51 +0100 Served asset /disclaimer/application.js - 304 Not Modified (12ms) Started GET "/disclaimer/" for 127.0.0.1 at 2012-10-25 16:16:14 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (12.3ms) Completed 200 OK in 34ms (Views: 32.3ms | ActiveRecord: 0.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /disclaimer/application.css - 304 Not Modified (2ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /jquery-ui.js - 304 Not Modified (1ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-25 16:16:15 +0100 Served asset /disclaimer/application.js - 304 Not Modified (13ms) Started GET "/" for 127.0.0.1 at 2012-10-26 09:48:08 +0100 Connecting to database specified by database.yml ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (7.0ms) Started GET "/documents" for 127.0.0.1 at 2012-10-26 09:48:18 +0100 ActionController::RoutingError (No route matches [GET] "/documents"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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.7ms) Started GET "/disclaimer/documents" for 127.0.0.1 at 2012-10-26 09:48:28 +0100 Processing by Disclaimer::DocumentsController#index as HTML Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents"  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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/index.html.erb within layouts/disclaimer/application (626.5ms) Completed 200 OK in 1171ms (Views: 1025.3ms | ActiveRecord: 16.0ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /disclaimer/application.css - 304 Not Modified (80ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (23ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /jquery.js - 304 Not Modified (57ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (100ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /jquery_ujs.js - 304 Not Modified (18ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /jquery-ui.js - 304 Not Modified (30ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (16ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (41ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-26 09:48:30 +0100 Served asset /disclaimer/application.js - 304 Not Modified (256ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (293.2ms) CREATE TABLE "disclaimer_documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "name" varchar(255), "header" text, "footer" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (215.0ms) CREATE TABLE "disclaimer_segment_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "document_id" integer, "segment_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (190.9ms) CREATE TABLE "disclaimer_segments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "title" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (185.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (220.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (207.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024080818') Started GET "/" for 127.0.0.1 at 2012-10-26 12:55:10 +0100 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (0.9ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 12:55:22 +0100 ActionController::RoutingError (No route matches [GET] "/sample"): actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.8) lib/rails/engine.rb:479:in `call' railties (3.2.8) lib/rails/application.rb:223:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 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 (36.5ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 12:56:35 +0100 ArgumentError (missing :controller): config/routes.rb:3:in `block in ' config/routes.rb:1:in `' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (42.7ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (60.7ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 12:57:07 +0100 ArgumentError (missing :controller): config/routes.rb:3:in `block in ' config/routes.rb:1:in `' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.4ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 12:57:37 +0100 Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 ActionController::RoutingError (undefined method `disclaimer' for SampleController:Class): app/controllers/sample_controller.rb:3:in `' app/controllers/sample_controller.rb:1:in `' 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 (5.8ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 12:59:27 +0100 Connecting to database specified by database.yml Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Processing by SampleController#index as HTML Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/disclaimer/documents/main Filter chain halted as # rendered or redirected Completed 302 Found in 21ms (ActiveRecord: 0.2ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-26 12:59:28 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (210.3ms) Completed 200 OK in 296ms (Views: 292.0ms | ActiveRecord: 1.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-26 12:59:28 +0100 Served asset /disclaimer/application.css - 304 Not Modified (43ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (120ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (41ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /jquery.js - 304 Not Modified (39ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /jquery_ujs.js - 304 Not Modified (29ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (2ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /jquery-ui.js - 304 Not Modified (74ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (37ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-26 12:59:29 +0100 Served asset /disclaimer/application.js - 304 Not Modified (169ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 14:21:30 +0100 Connecting to database specified by database.yml Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Processing by SampleController#index as HTML Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/disclaimer/documents/main Filter chain halted as # rendered or redirected Completed 302 Found in 87ms (ActiveRecord: 0.3ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-26 14:21:32 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (2.0ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (0.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (303.7ms) Completed 200 OK in 440ms (Views: 434.7ms | ActiveRecord: 3.4ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-26 14:21:33 +0100 Served asset /disclaimer/application.css - 304 Not Modified (54ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-26 14:21:33 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (20ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:33 +0100 Served asset /jquery.js - 304 Not Modified (48ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-26 14:21:33 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (24ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:33 +0100 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:33 +0100 Served asset /jquery-ui.js - 304 Not Modified (99ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:33 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (30ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:34 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (32ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:34 +0100 Served asset /disclaimer/application.js - 304 Not Modified (94ms) Started POST "/disclaimer/documents/main/accept" for 127.0.0.1 at 2012-10-26 14:21:37 +0100 Processing by Disclaimer::DocumentsController#accept as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Am/98i9uJTDx3oyfgP1l5l4rLmyU98NPbsAn01vODTU=", "commit"=>"Accept", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/sample Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 14:21:37 +0100 Processing by SampleController#index as HTML Rendered sample/index.html.erb within layouts/application (0.4ms) Compiled sample.css (0ms) (pid 7833) Compiled application.css (131ms) (pid 7833) Compiled sample.js (0ms) (pid 7833) Compiled application.js (273ms) (pid 7833) Completed 200 OK in 835ms (Views: 834.2ms | ActiveRecord: 0.0ms) Started GET "/assets/sample.css?body=1" for 127.0.0.1 at 2012-10-26 14:21:38 +0100 Served asset /sample.css - 200 OK (64ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 14:21:38 +0100 Served asset /application.css - 200 OK (61ms) Started GET "/assets/sample.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:38 +0100 Served asset /sample.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:38 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:38 +0100 Served asset /application.js - 200 OK (70ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:21:39 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 14:34:19 +0100 Connecting to database specified by database.yml Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Processing by SampleController#index as HTML Rendered sample/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 95ms (Views: 94.9ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:34:21 +0100 Served asset /jquery.js - 304 Not Modified (29ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:34:21 +0100 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 14:37:58 +0100 Processing by SampleController#index as HTML Disclaimer::Document Load (0.4ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/disclaimer/documents/main Filter chain halted as # rendered or redirected Completed 302 Found in 1096ms (ActiveRecord: 0.4ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-26 14:37:59 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (1.8ms) 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (588.0ms) Completed 200 OK in 968ms (Views: 902.2ms | ActiveRecord: 7.2ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-26 14:38:01 +0100 Served asset /disclaimer/application.css - 304 Not Modified (83ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-26 14:38:01 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (191ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-26 14:38:01 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (9ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:01 +0100 Served asset /jquery-ui.js - 304 Not Modified (84ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:02 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:02 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:02 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (59ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:02 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (32ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:02 +0100 Served asset /disclaimer/application.js - 304 Not Modified (264ms) Started POST "/disclaimer/documents/main/accept" for 127.0.0.1 at 2012-10-26 14:38:08 +0100 Processing by Disclaimer::DocumentsController#accept as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oxkh3gDnflI64838bb388wlNWqXfaIjAVKQqLC+xheo=", "commit"=>"Accept", "id"=>"main"} Disclaimer::Document Load (25.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/sample Completed 302 Found in 27ms (ActiveRecord: 25.3ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 14:38:08 +0100 Processing by SampleController#index as HTML Rendered sample/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 14:38:08 +0100 Served asset /application.css - 304 Not Modified (39ms) Started GET "/assets/sample.css?body=1" for 127.0.0.1 at 2012-10-26 14:38:08 +0100 Served asset /sample.css - 304 Not Modified (6ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:08 +0100 Served asset /application.js - 304 Not Modified (74ms) Started GET "/assets/sample.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:09 +0100 Served asset /sample.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:09 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:38:09 +0100 Served asset /jquery.js - 304 Not Modified (45ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 14:40:09 +0100 Processing by SampleController#index as HTML Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/disclaimer/documents/main Filter chain halted as # rendered or redirected Completed 302 Found in 21ms (ActiveRecord: 0.3ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-26 14:40:09 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Disclaimer::Segment Load (2.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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (20.9ms) Completed 200 OK in 113ms (Views: 109.4ms | ActiveRecord: 2.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-26 14:40:10 +0100 Served asset /disclaimer/application.css - 304 Not Modified (28ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (31ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /jquery.js - 304 Not Modified (122ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /jquery-ui.js - 304 Not Modified (22ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (0ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-26 14:40:11 +0100 Served asset /disclaimer/application.js - 304 Not Modified (84ms) Started POST "/disclaimer/documents/main/accept" for 127.0.0.1 at 2012-10-26 15:17:35 +0100 Processing by Disclaimer::DocumentsController#accept as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"39mRlptFQZAjDProdAslKifHnrfEkcyzSwvGmS7d+pg=", "commit"=>"Accept", "id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/sample Completed 302 Found in 58ms (ActiveRecord: 1.3ms) Started GET "/sample" for 127.0.0.1 at 2012-10-26 15:17:35 +0100 Disclaimer::Document Load (0.1ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Processing by SampleController#index as HTML Rendered sample/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 31ms (Views: 30.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 15:17:36 +0100 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/sample.css?body=1" for 127.0.0.1 at 2012-10-26 15:17:36 +0100 Served asset /sample.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 15:17:36 +0100 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 15:17:36 +0100 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 15:17:36 +0100 Served asset /application.js - 304 Not Modified (1ms) Started GET "/assets/sample.js?body=1" for 127.0.0.1 at 2012-10-26 15:17:36 +0100 Served asset /sample.js - 304 Not Modified (0ms) Started GET "/sample/bypass_disclaimer" for 127.0.0.1 at 2012-10-26 15:19:31 +0100 Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Processing by SampleController#bypass_disclaimer as HTML Rendered sample/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 15:19:32 +0100 Served asset /application.css - 304 Not Modified (30ms) Started GET "/assets/sample.css?body=1" for 127.0.0.1 at 2012-10-26 15:19:32 +0100 Served asset /sample.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 15:19:32 +0100 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 15:19:32 +0100 Served asset /jquery_ujs.js - 304 Not Modified (24ms) Started GET "/assets/sample.js?body=1" for 127.0.0.1 at 2012-10-26 15:19:32 +0100 Served asset /sample.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 15:19:32 +0100 Served asset /application.js - 304 Not Modified (2ms) Started GET "/sample/bypass_disclaimer" for 127.0.0.1 at 2012-10-26 15:26:59 +0100 Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 ArgumentError (wrong number of arguments (2 for 1)): app/controllers/sample_controller.rb:3:in `' app/controllers/sample_controller.rb:1:in `' Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.3ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (10.5ms) Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@disclaimer/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (55.7ms) Started GET "/sample/bypass_disclaimer" for 127.0.0.1 at 2012-10-26 15:27:34 +0100 Connecting to database specified by database.yml Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" LIMIT 1 Processing by SampleController#bypass_disclaimer as HTML Rendered sample/index.html.erb within layouts/application (4.8ms) Completed 200 OK in 93ms (Views: 92.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 15:27:36 +0100 Served asset /application.css - 304 Not Modified (25ms) Started GET "/assets/sample.css?body=1" for 127.0.0.1 at 2012-10-26 15:27:36 +0100 Served asset /sample.css - 304 Not Modified (21ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:36 +0100 Served asset /jquery.js - 304 Not Modified (54ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:36 +0100 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/sample.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:36 +0100 Served asset /sample.js - 304 Not Modified (31ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:36 +0100 Served asset /application.js - 304 Not Modified (66ms) Started GET "/sample/" for 127.0.0.1 at 2012-10-26 15:27:43 +0100 Processing by SampleController#index as HTML Disclaimer::Document Load (0.3ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 Redirected to http://localhost:3000/disclaimer/documents/main Filter chain halted as # rendered or redirected Completed 302 Found in 256ms (ActiveRecord: 0.3ms) Started GET "/disclaimer/documents/main" for 127.0.0.1 at 2012-10-26 15:27:43 +0100 Processing by Disclaimer::DocumentsController#show as HTML Parameters: {"id"=>"main"} Disclaimer::Document Load (0.2ms) SELECT "disclaimer_documents".* FROM "disclaimer_documents" WHERE "disclaimer_documents"."name" = 'main' LIMIT 1 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 Rendered /home/rob/web/disclaimer/app/views/disclaimer/documents/show.html.erb within layouts/disclaimer/application (543.4ms) Completed 200 OK in 632ms (Views: 625.0ms | ActiveRecord: 5.7ms) Started GET "/assets/disclaimer/application.css?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /disclaimer/application.css - 304 Not Modified (39ms) Started GET "/assets/disclaimer/documents.css?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /disclaimer/documents.css - 304 Not Modified (136ms) Started GET "/assets/disclaimer/segments.css?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /disclaimer/segments.css - 304 Not Modified (14ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /jquery-ui.js - 304 Not Modified (147ms) Started GET "/assets/disclaimer/documents.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /disclaimer/documents.js - 304 Not Modified (48ms) Started GET "/assets/disclaimer/segments.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /disclaimer/segments.js - 304 Not Modified (4ms) Started GET "/assets/disclaimer/application.js?body=1" for 127.0.0.1 at 2012-10-26 15:27:44 +0100 Served asset /disclaimer/application.js - 304 Not Modified (268ms)