(0.1ms) select sqlite_version(*)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateQuestions (20111208181247)  (0.3ms) CREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181247') Migrating to CreateAnswers (20111208181414)  (0.3ms) CREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181414') Migrating to CreateSurveyProperties (20111208181429)  (0.4ms) CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181429') Migrating to CreateScores (20111208181449)  (0.3ms) CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer, "survey_property_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181449')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_properties")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateQuestions (20111208181247) Migrating to CreateAnswers (20111208181414) Migrating to CreateSurveyProperties (20111208181429) Migrating to CreateScores (20111208181449)  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_properties")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (1.1ms) CREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer, "survey_property_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111208181449') Started GET "/" for 127.0.0.1 at 2011-12-09 13:16:04 -0500 ActionController::RoutingError (No route matches [GET] "/"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (29.6ms) Started GET "/" for 127.0.0.1 at 2011-12-09 13:17:59 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/application (10.6ms) Compiled application.css (0ms) (pid 21184) Compiled application.js (2ms) (pid 21184) Compiled jquery.js (3ms) (pid 21184) Compiled jquery_ujs.js (1ms) (pid 21184) Completed 200 OK in 126ms (Views: 124.8ms | ActiveRecord: 0.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:18:00 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:18:00 -0500 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:18:00 -0500 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:18:00 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 13:18:14 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.4ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/application (18.7ms) Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.2ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 13:19:48 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/application (32.0ms) Completed 200 OK in 37ms (Views: 36.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:19:48 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:19:48 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:19:48 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:19:48 -0500 Served asset /application.js - 304 Not Modified (0ms) Started POST "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 13:20:17 -0500 Processing by SurveyAdmin::QuestionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrLmxB5BrBtVKlHH3VOg7m9zp6RdSFM0AZ7XjTMbk38=", "question"=>{"details"=>"Test 1, 2 , 3?", "position"=>"5"}, "commit"=>"Create Question"} SQL (13.5ms) INSERT INTO "questions" ("active", "created_at", "details", "position", "updated_at") VALUES (?, ?, ?, ?, ?) [["active", nil], ["created_at", Fri, 09 Dec 2011 18:20:17 UTC +00:00], ["details", "Test 1, 2 , 3?"], ["position", 5], ["updated_at", Fri, 09 Dec 2011 18:20:17 UTC +00:00]] Redirected to http://localhost:3000/survey_admin/questions/1 Completed 302 Found in 21ms Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-09 13:20:17 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/application (1.9ms) Completed 200 OK in 94ms (Views: 7.3ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:20:17 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:20:17 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:20:17 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:20:17 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 13:24:54 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/application (30.2ms) Completed 200 OK in 37ms (Views: 35.4ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:24:54 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:54 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:54 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:54 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-09 13:24:57 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 21ms (Views: 6.7ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:24:57 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:57 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:57 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:57 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 13:24:59 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/application (5.8ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:24:59 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:59 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:59 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:24:59 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 13:30:51 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/application (35.3ms) Completed 200 OK in 41ms (Views: 40.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:30:51 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:30:51 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:30:51 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:30:51 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 13:31:31 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.5ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 67ms (Views: 8.6ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 13:31:31 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 13:31:31 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-09 13:31:31 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-09 13:31:31 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 17:03:36 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (2.4ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (23.4ms) Completed 200 OK in 144ms (Views: 54.5ms | ActiveRecord: 0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 17:03:44 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (3.7ms) Completed 200 OK in 26ms (Views: 6.7ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-09 17:03:48 -0500 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 17:03:50 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (17.6ms) Completed 200 OK in 46ms (Views: 45.2ms | ActiveRecord: 0.3ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 17:04:45 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (5.6ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.4ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 17:18:41 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (48.3ms) Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.3ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 17:19:11 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (5.5ms) Compiled application.css (2ms) (pid 26390) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (require_tree argument must be a relative path (in /Users/davidhenner/projects/survey_says/app/assets/stylesheets/survey_says.css:1)): 2: 3: 4: <%= content_for?(:title) ? yield(:title) : "Survey Says" %> 5: <%= stylesheet_link_tag "application" %> 6: <%= javascript_include_tag :defaults %> 7: <%= csrf_meta_tag %> 8: <%= yield(:head) %> Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 17:20:27 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (5.9ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (couldn't find file 'survey_says' (in /Users/davidhenner/projects/survey_says/test/dummy/app/assets/stylesheets/application.css:8)): 2: 3: 4: <%= content_for?(:title) ? yield(:title) : "Survey Says" %> 5: <%= stylesheet_link_tag "application" %> 6: <%= javascript_include_tag :defaults %> 7: <%= csrf_meta_tag %> 8: <%= yield(:head) %> Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.7ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 17:21:59 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (5.4ms) Compiled application.css (2ms) (pid 26390) Compiled survey_says.css (0ms) (pid 26390) Completed 200 OK in 27ms (Views: 25.7ms | ActiveRecord: 0.3ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 17:21:59 -0500 Served asset /survey_says.css - 200 OK (27ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 17:21:59 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 17:21:59 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-09 17:25:53 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (5.7ms) Compiled survey_says.css (0ms) (pid 26390) Compiled application.css (2ms) (pid 26390) Completed 200 OK in 25ms (Views: 23.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 17:25:53 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 17:25:53 -0500 Served asset /survey_says.css - 200 OK (2ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 17:25:53 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 17:26:10 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (2.4ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (12.5ms) Completed 200 OK in 109ms (Views: 19.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 17:26:10 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 17:26:10 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 17:26:10 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 17:27:40 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (3.5ms) Compiled survey_says.css (0ms) (pid 26390) Compiled application.css (2ms) (pid 26390) Completed 200 OK in 39ms (Views: 20.5ms | ActiveRecord: 0.4ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 17:27:40 -0500 Served asset /survey_says.css - 200 OK (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 17:27:40 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 17:27:40 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 22:43:35 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (2.4ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (42.6ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (3ms) (pid 30069) Completed 200 OK in 181ms (Views: 93.1ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 22:43:36 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 22:43:36 -0500 Served asset /survey_says.css - 200 OK (2ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 22:43:36 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 22:44:13 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (3.8ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (2ms) (pid 30069) Completed 200 OK in 40ms (Views: 21.2ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 22:44:13 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 22:44:13 -0500 Served asset /survey_says.css - 200 OK (4ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 22:44:13 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 22:48:11 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (4.3ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (3ms) (pid 30069) Completed 200 OK in 40ms (Views: 21.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 22:48:11 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 22:48:11 -0500 Served asset /survey_says.css - 200 OK (4ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 22:48:11 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 22:48:48 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (4.2ms) Completed 200 OK in 29ms (Views: 11.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 22:48:48 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 22:48:48 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 22:48:48 -0500 Served asset /defaults.js - 404 Not Found (30ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 22:57:53 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (4.4ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (29ms) (pid 30069) Completed 200 OK in 72ms (Views: 52.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 22:57:53 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 22:57:53 -0500 Served asset /survey_says.css - 200 OK (3ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 22:57:53 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-09 22:58:55 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (1.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (4.0ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (2ms) (pid 30069) Completed 200 OK in 66ms (Views: 21.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-09 22:58:56 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-09 22:58:56 -0500 Served asset /survey_says.css - 200 OK (4ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-09 22:58:56 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:21:06 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (80.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (83.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (84.6ms) Completed 500 Internal Server Error in 134ms ActionView::Template::Error (undefined local variable or method `a_f' for #<#:0x0000012bc01bc0>): 9: 10: 11:
12: <%= a_f.hidden_field(:_destroy) + link_to('remove', "javascript:void(0)", :class => "remove_child") %> 13:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.3ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:21:42 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (1.1ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (4.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (6.2ms) Completed 200 OK in 57ms (Views: 13.6ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:21:42 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:21:42 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 00:21:42 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:23:11 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (3.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (5.7ms) Compiled application.js (4ms) (pid 30069) Completed 500 Internal Server Error in 69ms ActionView::Template::Error (require_tree argument must be a relative path (in /Users/davidhenner/projects/survey_says/app/assets/javascripts/survey_says.js:1)): 3: 4: <%= content_for?(:title) ? yield(:title) : "Survey Says" %> 5: <%= stylesheet_link_tag "application" %> 6: <%= javascript_include_tag "application" %> 7: <%= csrf_meta_tag %> 8: <%= yield(:head) %> 9: Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.4ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (3.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (5.9ms) Compiled application.js (4ms) (pid 30069) Compiled survey_says.js (0ms) (pid 30069) Compiled survey_says/answer_form.js (0ms) (pid 30069) Completed 200 OK in 87ms (Views: 37.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Served asset /survey_says/answer_form.js - 200 OK (4ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Served asset /survey_says.js - 200 OK (2ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:25:04 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (4.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (6.5ms) Completed 200 OK in 56ms (Views: 11.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:34:48 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (4.0ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (5.9ms) Compiled survey_says/answer_form.js (0ms) (pid 30069) Compiled survey_says.js (0ms) (pid 30069) Compiled application.js (4ms) (pid 30069) Completed 200 OK in 74ms (Views: 29.8ms | ActiveRecord: 0.4ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Served asset /survey_says/answer_form.js - 200 OK (2ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Served asset /survey_says.js - 200 OK (5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:36:12 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (4.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (6.9ms) Completed 200 OK in 31ms (Views: 12.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:37:39 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:43:37 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (5.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (7.4ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (2ms) (pid 30069) Completed 200 OK in 42ms (Views: 24.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:43:38 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:43:38 -0500 Served asset /survey_says.css - 200 OK (10ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:43:38 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:43:38 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:43:38 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:43:38 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:43:38 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (3.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (5.8ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (2ms) (pid 30069) Completed 200 OK in 40ms (Views: 21.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Served asset /survey_says.css - 200 OK (10ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:45:56 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (5.0ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (7.2ms) Completed 200 OK in 30ms (Views: 12.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:48:46 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (17.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (24.6ms) Completed 200 OK in 30ms (Views: 29.4ms | ActiveRecord: 0.5ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:49:52 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (17.5ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (24.3ms) Compiled survey_says.css (0ms) (pid 30069) Compiled application.css (2ms) (pid 30069) Completed 200 OK in 66ms (Views: 64.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Served asset /survey_says.css - 200 OK (3ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 00:50:26 -0500 Served asset /application.js - 304 Not Modified (0ms)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateQuestions (20111208181247) Migrating to CreateAnswers (20111208181414) Migrating to CreateSurveyProperties (20111208181429) Migrating to CreateScores (20111208181449)  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_properties")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateQuestions (20111208181247) Migrating to CreateAnswers (20111208181414) Migrating to CreateSurveyProperties (20111208181429) Migrating to CreateScores (20111208181449)  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_properties") Started GET "/survey_admin/questions/new" for 127.0.0.1 at 2011-12-10 12:08:56 -0500 Processing by SurveyAdmin::QuestionsController#new as HTML Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (1.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (72.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/new.html.erb within layouts/survey_admin (98.1ms) Completed 200 OK in 165ms (Views: 164.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:08:57 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:08:57 -0500 Served asset /survey_says.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:08:57 -0500 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:08:57 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:08:57 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:08:57 -0500 Served asset /survey_says.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:08:57 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-10 12:08:59 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (41.3ms) Completed 200 OK in 48ms (Views: 46.7ms | ActiveRecord: 0.3ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:00 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:00 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:00 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:00 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:00 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.3ms) Completed 200 OK in 69ms (Views: 7.9ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:09 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:09:20 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (1.2ms) Completed 200 OK in 65ms (Views: 9.2ms | ActiveRecord: 0.7ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:20 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:20 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:09:20 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/edit" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Processing by SurveyAdmin::QuestionsController#edit as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (42.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/edit.html.erb within layouts/survey_admin (49.9ms) Completed 200 OK in 57ms (Views: 54.6ms | ActiveRecord: 0.8ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:27 -0500 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:09:56 -0500 Processing by SurveyAdmin::QuestionsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrLmxB5BrBtVKlHH3VOg7m9zp6RdSFM0AZ7XjTMbk38=", "question"=>{"details"=>"Test 1, 2 , 3?", "position"=>"5", "answers_attributes"=>{"1323536969776"=>{"details"=>"My first answer in position 2.", "position"=>"2", "_destroy"=>"false"}, "new_answers"=>{"details"=>"", "position"=>"", "_destroy"=>"false"}}}, "commit"=>"Update Question", "id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (6.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/edit.html.erb within layouts/survey_admin (8.5ms) Completed 200 OK in 36ms (Views: 13.6ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:57 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:09:57 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:57 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:57 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:57 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:57 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:09:57 -0500 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:10:11 -0500 Processing by SurveyAdmin::QuestionsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrLmxB5BrBtVKlHH3VOg7m9zp6RdSFM0AZ7XjTMbk38=", "question"=>{"details"=>"Test 1, 2 , 3?", "position"=>"5", "answers_attributes"=>{"0"=>{"details"=>"My first answer in position 2.", "position"=>"2", "_destroy"=>"false"}, "1"=>{"details"=>"", "position"=>"", "_destroy"=>"1"}, "new_answers"=>{"details"=>"", "position"=>"", "_destroy"=>"false"}}}, "commit"=>"Update Question", "id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (6.0ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/edit.html.erb within layouts/survey_admin (8.2ms) Completed 200 OK in 35ms (Views: 13.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:10:12 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:10:12 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:12 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:12 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:12 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:12 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:12 -0500 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Processing by SurveyAdmin::QuestionsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrLmxB5BrBtVKlHH3VOg7m9zp6RdSFM0AZ7XjTMbk38=", "question"=>{"details"=>"Test 1, 2 , 3?", "position"=>"5", "answers_attributes"=>{"0"=>{"details"=>"My first answer in position 2.", "position"=>"2", "_destroy"=>"false"}, "1"=>{"details"=>"", "position"=>"", "_destroy"=>"1"}, "new_answers"=>{"details"=>"", "position"=>"", "_destroy"=>"false"}}}, "commit"=>"Update Question", "id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] SQL (3.8ms) INSERT INTO "answers" ("active", "created_at", "details", "position", "question_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["active", nil], ["created_at", Sat, 10 Dec 2011 17:10:51 UTC +00:00], ["details", "My first answer in position 2."], ["position", 2], ["question_id", 1], ["updated_at", Sat, 10 Dec 2011 17:10:51 UTC +00:00]] Redirected to http://localhost:3000/survey_admin/questions/1 Completed 302 Found in 26ms Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.0ms) Completed 200 OK in 27ms (Views: 7.3ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:10:51 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/1" for 127.0.0.1 at 2011-12-10 12:11:07 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"1"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/application (37.1ms) Completed 200 OK in 73ms (Views: 71.1ms | ActiveRecord: 0.7ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:11:08 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:11:08 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:11:08 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/1/edit" for 127.0.0.1 at 2011-12-10 12:11:16 -0500 Processing by SurveyAdmin::AnswersController#edit as HTML Parameters: {"question_id"=>"1", "id"=>"1"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (2.1ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/edit.html.erb within layouts/application (25.1ms) Completed 200 OK in 34ms (Views: 32.2ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:11:16 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:11:16 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:11:16 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started PUT "/survey_admin/questions/1/answers/1" for 127.0.0.1 at 2011-12-10 12:11:21 -0500 Processing by SurveyAdmin::AnswersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrLmxB5BrBtVKlHH3VOg7m9zp6RdSFM0AZ7XjTMbk38=", "answer"=>{"question_id"=>"1", "details"=>"My first answer in position 2.", "active"=>"1", "position"=>"2"}, "commit"=>"Update", "question_id"=>"1", "id"=>"1"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "1"]]  (0.3ms) UPDATE "answers" SET "active" = 't', "updated_at" = '2011-12-10 17:11:21.682678' WHERE "answers"."id" = 1 Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/survey_admin/questions/1/answers/1 Completed 302 Found in 25ms Started GET "/survey_admin/questions/1/answers/1" for 127.0.0.1 at 2011-12-10 12:11:21 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"1"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.3ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/application (47.0ms) Completed 200 OK in 56ms (Views: 54.0ms | ActiveRecord: 0.9ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:11:21 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:11:21 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:11:21 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:14:00 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (7.7ms) Completed 200 OK in 58ms (Views: 15.3ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:00 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:00 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:14:00 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/answers/1" for 127.0.0.1 at 2011-12-10 12:14:15 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"1"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/application (47.7ms) Completed 200 OK in 56ms (Views: 54.7ms | ActiveRecord: 0.7ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:15 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:15 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:14:15 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:14:30 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (7.3ms) Completed 200 OK in 58ms (Views: 15.0ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:30 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:30 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:14:30 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.2ms) Completed 200 OK in 56ms (Views: 7.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:14:38 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (3.0ms) Completed 200 OK in 56ms (Views: 8.6ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:17:22 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (3.1ms) Completed 200 OK in 58ms (Views: 9.6ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:18:48 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.8ms) Completed 200 OK in 29ms (Views: 8.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:19:50 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (5.2ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:00 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (1.8ms) Completed 200 OK in 54ms (Views: 7.0ms | ActiveRecord: 0.9ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:08 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/edit" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Processing by SurveyAdmin::QuestionsController#edit as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_answer.html.erb (0.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/_form.html.erb (46.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/edit.html.erb within layouts/survey_admin (53.9ms) Completed 200 OK in 61ms (Views: 58.7ms | ActiveRecord: 0.8ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:11 -0500 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:20:33 -0500 Processing by SurveyAdmin::QuestionsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrLmxB5BrBtVKlHH3VOg7m9zp6RdSFM0AZ7XjTMbk38=", "question"=>{"details"=>"Test 1, 2 , 3?", "position"=>"5", "answers_attributes"=>{"0"=>{"details"=>"My first answer in position 2.", "position"=>"2", "_destroy"=>"false", "id"=>"1"}, "1323537614530"=>{"details"=>"My second answer in position 1.", "position"=>"1", "_destroy"=>"false"}, "new_answers"=>{"details"=>"", "position"=>"", "_destroy"=>"false"}}}, "commit"=>"Update Question", "id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 AND "answers"."id" IN (1) ORDER BY answers.position desc SQL (0.6ms) INSERT INTO "answers" ("active", "created_at", "details", "position", "question_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["active", nil], ["created_at", Sat, 10 Dec 2011 17:20:34 UTC +00:00], ["details", "My second answer in position 1."], ["position", 1], ["question_id", 1], ["updated_at", Sat, 10 Dec 2011 17:20:34 UTC +00:00]] Redirected to http://localhost:3000/survey_admin/questions/1 Completed 302 Found in 59ms Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position desc Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.1ms) Completed 200 OK in 53ms (Views: 7.4ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:20:34 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.2ms) Completed 200 OK in 55ms (Views: 7.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:24 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (32.3ms) Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:44 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (29.2ms) Completed 200 OK in 55ms (Views: 34.6ms | ActiveRecord: 0.8ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 12:21:46 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/2" for 127.0.0.1 at 2011-12-10 12:21:48 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"2"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "2"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/application (21.9ms) Completed 200 OK in 59ms (Views: 56.8ms | ActiveRecord: 0.7ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:48 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:48 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:21:48 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:21:52 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (42.6ms) Completed 200 OK in 66ms (Views: 50.1ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:52 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:21:52 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:21:52 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:41:44 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (35.6ms) Completed 200 OK in 60ms (Views: 43.7ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:41:45 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:41:45 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:41:45 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:44:17 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (36.1ms) Compiled survey_says.css (1ms) (pid 37714) Compiled twitter/bootstrap (10ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-alerts.js (0ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-dropdown.js (0ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-modal.js (0ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-twipsy.js (0ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-popover.js (0ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-scrollspy.js (0ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-tabs.js (0ms) (pid 37714) Compiled twitter/bootstrap/bootstrap-buttons.js (0ms) (pid 37714) Compiled survey_says/bootstrap.css (185ms) (pid 37714) Compiled survey_says/general.css (2ms) (pid 37714) Compiled survey_says/questions.css (1ms) (pid 37714) Compiled survey_says/sprite.css (9ms) (pid 37714) Compiled application.css (2ms) (pid 37714) Completed 200 OK in 363ms (Views: 346.9ms | ActiveRecord: 0.8ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /survey_says/bootstrap.css - 200 OK (12ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /survey_says/general.css - 200 OK (2ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /survey_says/questions.css - 200 OK (4ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /survey_says/sprite.css - 200 OK (3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /survey_says.css - 200 OK (3ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/sprites.png" for 127.0.0.1 at 2011-12-10 12:44:18 -0500 Served asset /sprites.png - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/sprites.png"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (9.3ms) Compiled survey_says.css (1ms) (pid 37714) Compiled application.css (2ms) (pid 37714) Completed 200 OK in 86ms (Views: 39.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /survey_says.css - 200 OK (6ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/sprites.png" for 127.0.0.1 at 2011-12-10 12:45:13 -0500 Served asset /sprites.png - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/sprites.png"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/sprites.png" for 127.0.0.1 at 2011-12-10 12:45:39 -0500 Served asset /sprites.png - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/sprites.png"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/sprites.png" for 127.0.0.1 at 2011-12-10 12:45:39 -0500 Served asset /sprites.png - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/sprites.png"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (9.3ms) Compiled survey_says/sprite.css (9ms) (pid 37714) Compiled survey_says.css (2ms) (pid 37714) Compiled application.css (2ms) (pid 37714) Completed 200 OK in 97ms (Views: 80.6ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /survey_says/sprite.css - 200 OK (3ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /survey_says.css - 200 OK (5ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-10 12:58:32 -0500 Served asset /survey_says/sprites.png - 200 OK (4ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (9.5ms) Completed 200 OK in 39ms (Views: 22.9ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /defaults.js - 404 Not Found (4ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-10 13:01:10 -0500 Served asset /survey_says/sprites.png - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/2/edit" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Processing by SurveyAdmin::AnswersController#edit as HTML Parameters: {"question_id"=>"1", "id"=>"2"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "2"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (1.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/edit.html.erb within layouts/application (24.7ms) Completed 200 OK in 39ms (Views: 36.9ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:01:19 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started PUT "/survey_admin/questions/1/answers/2" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Processing by SurveyAdmin::AnswersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrLmxB5BrBtVKlHH3VOg7m9zp6RdSFM0AZ7XjTMbk38=", "answer"=>{"question_id"=>"1", "details"=>"My second answer in position 1.", "active"=>"1", "position"=>"1"}, "commit"=>"Update", "question_id"=>"1", "id"=>"2"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "2"]]  (0.3ms) UPDATE "answers" SET "active" = 't', "updated_at" = '2011-12-10 18:01:23.414393' WHERE "answers"."id" = 2 Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/survey_admin/questions/1/answers/2 Completed 302 Found in 24ms Started GET "/survey_admin/questions/1/answers/2" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"2"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "2"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/application (49.3ms) Completed 200 OK in 64ms (Views: 62.5ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:01:23 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/survey_admin/questions/1/answers/2" for 127.0.0.1 at 2011-12-10 13:03:17 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"2"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "2"]] ERROR: compiling ___sers_davidhenner_projects_survey_says_app_views_survey_admin_answers_show_html_erb___3517393059605407914_2155848720 RAISED /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb:5: syntax error, unexpected ')', expecting tCOLON2 or '[' or '.' ...estion_path(@answer.question) );@output_buffer.safe_concat(' ... ^ /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')' Function body: def ___sers_davidhenner_projects_survey_says_app_views_survey_admin_answers_show_html_erb___3517393059605407914_2155848720(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "survey_admin/answers/show";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('

Answer

Question: ');@output_buffer.append= ( link_to, @answer.question.details, survey_admin_question_path(@answer.question) );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

Details: ');@output_buffer.append= ( @answer.details );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

Active: ');@output_buffer.append= ( @answer.active );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

Position: ');@output_buffer.append= ( @answer.position );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

');@output_buffer.append= ( link_to "Edit", edit_survey_admin_question_answer_path(@answer.question, @answer), :class => 'button' );@output_buffer.safe_concat(' | ');@output_buffer.append= ( link_to "Destroy", [:survey_admin, @answer.question, @answer], :confirm => 'Are you sure?', :method => :delete, :class => 'button' );@output_buffer.safe_concat(' | ');@output_buffer.append= ( link_to "View Answers", survey_admin_question_answers_path(@answer.question), :class => 'button' );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('

');@output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `module_eval' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `compile' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `block in render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `block in render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/davidhenner/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:5:in `send_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__2775279513595435263__process_action__2330427120459793256__callbacks' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `optimized_each' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/etag.rb:23:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/conditionalget.rb:25:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:195:in `context' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:190:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/sendfile.rb:101:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/methodoverride.rb:24:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/runtime.rb:17:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/lock.rb:15:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/content_length.rb:14:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call' /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/rack-1.3.5/lib/rack/handler/webrick.rb:59:in `service' /Users/davidhenner/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' /Users/davidhenner/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' /Users/davidhenner/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/application (47.5ms) Completed 500 Internal Server Error in 53ms ActionView::Template::Error (/Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb:5: syntax error, unexpected ')', expecting tCOLON2 or '[' or '.' ...estion_path(@answer.question) );@output_buffer.safe_concat(' ... ^ /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb:26: syntax error, unexpected keyword_ensure, expecting ')' /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb:28: syntax error, unexpected keyword_end, expecting ')'): 2: 3:

4: Question: 5: <%= link_to, @answer.question.details, survey_admin_question_path(@answer.question) %> 6:

7:

8: Details: Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/survey_admin/questions/1/answers/2" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"2"} Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "2"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/application (52.2ms) Completed 200 OK in 67ms (Views: 65.3ms | ActiveRecord: 0.8ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:03:46 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.2ms) Completed 200 OK in 62ms (Views: 13.7ms | ActiveRecord: 0.9ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 13:03:53 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (8.8ms) Completed 200 OK in 66ms (Views: 22.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-10 13:04:37 -0500 Served asset /survey_says/sprites.png - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 13:08:53 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (9.9ms) Completed 200 OK in 69ms (Views: 23.8ms | ActiveRecord: 0.9ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-10 13:08:54 -0500 Served asset /survey_says/sprites.png - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (10.4ms) Completed 200 OK in 69ms (Views: 23.6ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-10 13:10:10 -0500 Served asset /survey_says/sprites.png - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (9.8ms) Completed 200 OK in 70ms (Views: 23.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /defaults.js - 404 Not Found (2ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-10 13:10:31 -0500 Served asset /survey_says/sprites.png - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/application (10.5ms) Completed 200 OK in 41ms (Views: 24.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/defaults.js" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /defaults.js - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/defaults.js"): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-10 13:13:20 -0500 Served asset /survey_says/sprites.png - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 13:13:23 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.4ms) Completed 200 OK in 33ms (Views: 13.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:23 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:23 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:23 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:23 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:23 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 13:13:23 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 13:13:24 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 13:13:24 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 13:13:24 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 13:13:24 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 13:13:24 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 14:12:06 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (34.6ms) Compiled survey_says/general.css (2ms) (pid 41035) Compiled survey_says.css (2ms) (pid 41035) Compiled application.css (3ms) (pid 41035) Completed 200 OK in 207ms (Views: 109.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:07 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:07 -0500 Served asset /survey_says/questions.css - 304 Not Modified (2ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:07 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:07 -0500 Served asset /survey_says.css - 200 OK (3ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:07 -0500 Served asset /survey_says/general.css - 200 OK (2ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:07 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:07 -0500 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:08 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (2ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:08 -0500 Served asset /survey_says.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:08 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:08 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.4ms) Completed 200 OK in 35ms (Views: 13.9ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 14:12:59 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.1ms) Compiled survey_says/general.css (27ms) (pid 41035) Compiled survey_says.css (1ms) (pid 41035) Compiled application.css (2ms) (pid 41035) Completed 200 OK in 81ms (Views: 60.2ms | ActiveRecord: 0.9ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /survey_says/general.css - 200 OK (3ms) Started GET "/assets/survey_says/questions.css?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /survey_says/questions.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /survey_says.css - 200 OK (5ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-10 14:19:18 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1" for 127.0.0.1 at 2011-12-10 14:54:54 -0500 Processing by SurveyAdmin::QuestionsController#show as HTML Parameters: {"id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" IN (1) ORDER BY answers.position ASC Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/show.html.erb within layouts/survey_admin (2.3ms) Completed 500 Internal Server Error in 55ms ActionView::Template::Error (undefined method `answer' for #): 20:

21: 22: <%= f.fields_for :survey_images, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 25:
26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.5ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:06:46 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" IS NULL AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (25.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (28.0ms) Completed 500 Internal Server Error in 72ms ActionView::Template::Error (undefined method `new_record?' for []:ActiveRecord::Relation): 20: 21: 22: <%= f.fields_for :survey_images, @answer.survey_images, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 25:
26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.6ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:08:08 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 62ms NoMethodError (undefined method `size' for #): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.5ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:09:41 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" IS NULL AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (2.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (5.5ms) Completed 500 Internal Server Error in 71ms ActionView::Template::Error (undefined method `new_record?' for []:ActiveRecord::Relation): 20: 21: 22: <%= f.fields_for :survey_images, @answer.survey_images, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 25:
26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.5ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:10:33 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" IS NULL AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (3.0ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (5.5ms) Completed 500 Internal Server Error in 71ms ActionView::Template::Error (undefined method `new_record?' for []:ActiveRecord::Relation): 20: 21: 22: <%= f.fields_for :survey_images, @answer.survey_images, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 25:
26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.8ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:10:39 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" IS NULL AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (3.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (5.9ms) Completed 500 Internal Server Error in 70ms ActionView::Template::Error (undefined method `new_record?' for []:ActiveRecord::Relation): 20: 21: 22: <%= f.fields_for :survey_images, @answer.survey_images, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 25:
26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.4ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:11:18 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" IS NULL AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (22.4ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (53.2ms) Completed 500 Internal Server Error in 233ms ActionView::Template::Error (undefined method `new_record?' for []:ActiveRecord::Relation): 20: 21: 22: <%= f.fields_for :survey_images, @answer.survey_images, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 25:
26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.5ms) DEPRECATION WARNING: require_library_or_gem is deprecated and will be removed from Rails 3.2. (called from require at script/rails:6) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:11:39 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" IS NULL AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (26.1ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (82.8ms) Completed 500 Internal Server Error in 270ms ActionView::Template::Error (undefined method `new_record?' for []:ActiveRecord::Relation): 20: 21: 22: <%= f.fields_for :survey_images, @answer.survey_images, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 25:
26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:15:48 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (1.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (6.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (10.7ms) Completed 500 Internal Server Error in 95ms ActionView::Template::Error (undefined method `position' for #): 1: 2:

3: Position: <%= f.select :position, [1,2,3,4,5,6,7,8,9] %>
4: Caption: <%= f.text_field :caption %>
5: Photo: <%= f.file_field :photo %> 6:

Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (0.9ms) SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (17.1ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (41.4ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (46.7ms) Completed 200 OK in 193ms (Views: 112.7ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (11ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /survey_says/general.css - 304 Not Modified (4ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (5ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /survey_says.css - 304 Not Modified (6ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /survey_says.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:16:05 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:29:04 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (0.9ms) SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (43.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (66.5ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (72.5ms) Completed 200 OK in 174ms (Views: 88.0ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:29:05 -0500 Served asset /application.js - 304 Not Modified (0ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:30:25 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"Do you like the picture?", "active"=>"0", "position"=>"3", "survey_images_attributes"=>{"new_survey_images"=>{"position"=>"1", "caption"=>"pretty image", "photo"=>#>}}, "scores_attributes"=>{"1323808215149"=>{"survey_property_id"=>"4", "value"=>"5", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' -resize "48x48>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c20111213-53877-5v541t' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' -resize "100x100>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c20111213-53877-1s9o5cm' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' -resize "320x320>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c20111213-53877-juc2px' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' -resize "600x600>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c20111213-53877-17usfn1' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-mjuf2c.jpg[0]' Completed 500 Internal Server Error in 434ms NoMethodError (undefined method `image_width=' for #): Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.4ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:31:18 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"Do you like the picture?", "active"=>"0", "position"=>"3", "survey_images_attributes"=>{"new_survey_images"=>{"position"=>"1", "caption"=>"pretty image", "photo"=>#>}}, "scores_attributes"=>{"1323808215149"=>{"survey_property_id"=>"4", "value"=>"5", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' -resize "48x48>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv120111213-53877-1xjtfim' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' -resize "100x100>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv120111213-53877-x7hytr' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' -resize "320x320>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv120111213-53877-ji898z' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv1.jpg[0]' -resize "600x600>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-12snzv120111213-53877-ltgv6l'  (0.2ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 4 AND "scores"."answer_id" IS NULL) LIMIT 1 Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (5.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (10.1ms) Completed 500 Internal Server Error in 488ms ActionView::Template::Error (undefined method `new_record?' for nil:NilClass): 20: 21: 22: <%= f.fields_for :survey_images, @survey_image, :child_index => "new_survey_images" do |survey_images_f|%> 23:
answer-div'> 24:

Image

25: <%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %> 26:
Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"Do you like the picture?", "active"=>"0", "position"=>"3", "survey_images_attributes"=>{"new_survey_images"=>{"position"=>"1", "caption"=>"pretty image", "photo"=>#>}}, "scores_attributes"=>{"1323808215149"=>{"survey_property_id"=>"4", "value"=>"5", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' -resize "48x48>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i920111213-53877-1etfyns' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' -resize "100x100>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i920111213-53877-108tlkb' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' -resize "320x320>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i920111213-53877-19dpphv' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i9.jpg[0]' -resize "600x600>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1o9u7i920111213-53877-37hu9'  (0.2ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 4 AND "scores"."answer_id" IS NULL) LIMIT 1 Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (1.1ms) SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (53.5ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (1.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (65.1ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (71.2ms) Completed 200 OK in 501ms (Views: 87.7ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:32:33 -0500 Served asset /application.js - 304 Not Modified (1ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:35:27 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"Do you like the picture?", "active"=>"0", "position"=>"3", "survey_images_attributes"=>{"new_survey_images"=>{"position"=>"1", "caption"=>"pretty image", "photo"=>#>}}, "scores_attributes"=>{"1323808215149"=>{"survey_property_id"=>"4", "value"=>"5", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' -resize "48x48>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq20111213-53877-59rtb7' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' -resize "100x100>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq20111213-53877-1rs6myg' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' -resize "320x320>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq20111213-53877-1q2lm91' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq.jpg[0]' -resize "600x600>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-8xjprq20111213-53877-qi0r6n'  (0.2ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 4 AND "scores"."answer_id" IS NULL) LIMIT 1 Question Load (0.7ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (54.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (1.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (65.0ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (71.8ms) Completed 200 OK in 499ms (Views: 87.9ms | ActiveRecord: 3.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:35:28 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (20.1ms) Completed 200 OK in 38ms (Views: 36.0ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:54 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (102.1ms) Completed 200 OK in 143ms (Views: 117.4ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:37:56 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:38:00 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (17.1ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (39.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (45.5ms) Completed 200 OK in 124ms (Views: 60.6ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:01 -0500 Served asset /application.js - 304 Not Modified (0ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"Do you like the picture?", "active"=>"0", "position"=>"2", "scores_attributes"=>{"1323808694050"=>{"survey_property_id"=>"4", "value"=>"5", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]]  (0.2ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 4 AND "scores"."answer_id" IS NULL) LIMIT 1 Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (18.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (1.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (26.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (32.2ms) Completed 200 OK in 165ms (Views: 79.7ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:38:23 -0500 Served asset /application.js - 304 Not Modified (0ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"Do you like the picture?", "active"=>"0", "position"=>"2", "scores_attributes"=>{"new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] SQL (4.2ms) INSERT INTO "answers" ("active", "created_at", "details", "position", "question_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["active", false], ["created_at", Tue, 13 Dec 2011 20:41:39 UTC +00:00], ["details", "Do you like the picture?"], ["position", 2], ["question_id", 1], ["updated_at", Tue, 13 Dec 2011 20:41:39 UTC +00:00]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/survey_admin/questions/1/answers/3 Completed 302 Found in 76ms Started GET "/survey_admin/questions/1/answers/3" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"3"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "3"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (43.1ms) Completed 200 OK in 63ms (Views: 59.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:39 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/3/edit" for 127.0.0.1 at 2011-12-13 15:41:51 -0500 Processing by SurveyAdmin::AnswersController#edit as HTML Parameters: {"question_id"=>"1", "id"=>"3"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "3"]]  (0.2ms) SELECT COUNT(*) FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (1.0ms) Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (49.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (74.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/edit.html.erb within layouts/survey_admin (102.9ms) Completed 200 OK in 189ms (Views: 118.5ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:41:52 -0500 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/survey_admin/questions/1/answers/3" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Processing by SurveyAdmin::AnswersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"Do you like the picture?", "active"=>"0", "position"=>"2", "survey_images_attributes"=>{"new_survey_images"=>{"position"=>"1", "caption"=>"test", "photo"=>#>}}, "scores_attributes"=>{"1323808926297"=>{"survey_property_id"=>"4", "value"=>"2", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Update", "question_id"=>"1", "id"=>"3"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "3"]] Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' -resize "48x48>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r620111213-53877-p3wmkf' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' -resize "100x100>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r620111213-53877-1xyncez' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' -resize "320x320>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r620111213-53877-15b35dt' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r6.jpg[0]' -resize "600x600>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-17ub3r620111213-53877-ecj9b6'  (0.1ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 4 AND "scores"."answer_id" = 3) LIMIT 1 Answer Load (0.1ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = 3 LIMIT 1 SQL (0.6ms) INSERT INTO "scores" ("answer_id", "created_at", "survey_property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["answer_id", 3], ["created_at", Tue, 13 Dec 2011 20:42:30 UTC +00:00], ["survey_property_id", 4], ["updated_at", Tue, 13 Dec 2011 20:42:30 UTC +00:00], ["value", 2]] Binary data inserted for `string` type on column `photo_content_type` SQL (0.4ms) INSERT INTO "survey_images" ("caption", "created_at", "imageable_id", "imageable_type", "photo_content_type", "photo_file_name", "photo_file_size", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["caption", "test"], ["created_at", Tue, 13 Dec 2011 20:42:30 UTC +00:00], ["imageable_id", 3], ["imageable_type", "Answer"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "image01.jpg"], ["photo_file_size", 109699], ["position", 1], ["updated_at", Tue, 13 Dec 2011 20:42:30 UTC +00:00]] [paperclip] Saving attachments. [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/1/original/image01.jpg [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/1/mini/image01.jpg [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/1/small/image01.jpg [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/1/product/image01.jpg [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/1/large/image01.jpg Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/survey_admin/questions/1/answers/3 Completed 302 Found in 483ms Started GET "/survey_admin/questions/1/answers/3" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"3"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "3"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (93.4ms) Completed 200 OK in 140ms (Views: 136.3ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:30 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers/3/edit" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Processing by SurveyAdmin::AnswersController#edit as HTML Parameters: {"question_id"=>"1", "id"=>"3"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "3"]]  (0.2ms) SELECT COUNT(*) FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.3ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (2.8ms) Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (19.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (1.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (90.0ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/edit.html.erb within layouts/survey_admin (119.0ms) Completed 200 OK in 198ms (Views: 135.1ms | ActiveRecord: 3.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:42:40 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (88.2ms) Completed 200 OK in 129ms (Views: 102.9ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:12 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (18.5ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (39.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (45.2ms) Completed 200 OK in 129ms (Views: 60.8ms | ActiveRecord: 2.0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:16 -0500 Served asset /application.js - 304 Not Modified (0ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"test", "active"=>"0", "position"=>"4", "scores_attributes"=>{"1323809006311"=>{"survey_property_id"=>"2", "value"=>"4", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 2 AND "scores"."answer_id" IS NULL) LIMIT 1 Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (17.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (1.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (25.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (31.0ms) Completed 200 OK in 162ms (Views: 77.6ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:43:39 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (82.6ms) Completed 200 OK in 156ms (Views: 96.4ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:16 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:45:28 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (45.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (65.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (71.1ms) Completed 200 OK in 118ms (Views: 87.1ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:28 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:29 -0500 Served asset /application.js - 304 Not Modified (0ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:45:56 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"test", "active"=>"0", "position"=>"4", "scores_attributes"=>{"1323809131932"=>{"survey_property_id"=>"2", "value"=>"6", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]]  (0.2ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 2 AND "scores"."answer_id" IS NULL) LIMIT 1 Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (49.7ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (1.8ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (58.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (64.4ms) Completed 200 OK in 131ms (Views: 79.3ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:45:57 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (86.6ms) Completed 200 OK in 130ms (Views: 103.8ms | ActiveRecord: 3.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:25 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (18.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (68.6ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (73.8ms) Completed 200 OK in 120ms (Views: 88.5ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:27 -0500 Served asset /application.js - 304 Not Modified (1ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"test", "active"=>"0", "position"=>"5", "scores_attributes"=>{"1323809195085"=>{"survey_property_id"=>"2", "value"=>"9", "_destroy"=>"false"}, "new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) SELECT 1 FROM "scores" WHERE ("scores"."survey_property_id" = 2 AND "scores"."answer_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "answers" ("active", "created_at", "details", "position", "question_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["active", false], ["created_at", Tue, 13 Dec 2011 20:46:43 UTC +00:00], ["details", "test"], ["position", 5], ["question_id", 1], ["updated_at", Tue, 13 Dec 2011 20:46:43 UTC +00:00]] SQL (0.3ms) INSERT INTO "scores" ("answer_id", "created_at", "survey_property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["answer_id", 4], ["created_at", Tue, 13 Dec 2011 20:46:43 UTC +00:00], ["survey_property_id", 2], ["updated_at", Tue, 13 Dec 2011 20:46:43 UTC +00:00], ["value", 9]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/survey_admin/questions/1/answers/4 Completed 302 Found in 87ms Started GET "/survey_admin/questions/1/answers/4" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"4"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "4"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (95.2ms) Completed 200 OK in 141ms (Views: 137.4ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:43 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:46:49 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 4 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (93.8ms) Completed 200 OK in 169ms (Views: 108.2ms | ActiveRecord: 3.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:46:50 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/4/edit" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Processing by SurveyAdmin::AnswersController#edit as HTML Parameters: {"question_id"=>"1", "id"=>"4"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "4"]]  (0.1ms) SELECT COUNT(*) FROM "survey_images" WHERE "survey_images"."imageable_id" = 4 AND "survey_images"."imageable_type" = 'Answer' Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (0.8ms) Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (17.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (1.5ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (69.3ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/edit.html.erb within layouts/survey_admin (94.5ms) Completed 200 OK in 176ms (Views: 108.8ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:52:09 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:53:59 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 4 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (59.0ms) Completed 200 OK in 128ms (Views: 103.7ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:00 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/new" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Processing by SurveyAdmin::AnswersController#new as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (1.0ms) SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (17.4ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (69.5ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/new.html.erb within layouts/survey_admin (74.9ms) Completed 200 OK in 178ms (Views: 89.9ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:02 -0500 Served asset /application.js - 304 Not Modified (0ms) Started POST "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:54:51 -0500 Processing by SurveyAdmin::AnswersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rlyTIUUm0cdeFosTzOH8tslA4/CXVHH+cgkJVljvufM=", "answer"=>{"question_id"=>"1", "details"=>"test2", "active"=>"0", "position"=>"2", "survey_images_attributes"=>{"new_survey_images"=>{"position"=>"1", "caption"=>"ugly image", "photo"=>#>}}, "scores_attributes"=>{"new_scores"=>{"survey_property_id"=>"1", "value"=>"", "_destroy"=>"false"}}}, "commit"=>"Create", "question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' -resize "48x48>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz920111213-53877-s70ae3' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' -resize "100x100>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz920111213-53877-1ow6fcm' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' -resize "320x320>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz920111213-53877-1dwxbo9' Command :: identify -format %wx%h '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' Command :: convert '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz9.png[0]' -resize "600x600>" '/var/folders/b5/0bmgwbg11c99rms7jft548g00000gn/T/stream20111213-53877-1tw2yz920111213-53877-1debqe0' SQL (0.7ms) INSERT INTO "answers" ("active", "created_at", "details", "position", "question_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["active", false], ["created_at", Tue, 13 Dec 2011 20:54:52 UTC +00:00], ["details", "test2"], ["position", 2], ["question_id", 1], ["updated_at", Tue, 13 Dec 2011 20:54:52 UTC +00:00]] Binary data inserted for `string` type on column `photo_content_type` SQL (0.4ms) INSERT INTO "survey_images" ("caption", "created_at", "imageable_id", "imageable_type", "photo_content_type", "photo_file_name", "photo_file_size", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["caption", "ugly image"], ["created_at", Tue, 13 Dec 2011 20:54:52 UTC +00:00], ["imageable_id", 5], ["imageable_type", "Answer"], ["photo_content_type", "image/png"], ["photo_file_name", "delete.png"], ["photo_file_size", 150], ["position", 1], ["updated_at", Tue, 13 Dec 2011 20:54:52 UTC +00:00]] [paperclip] Saving attachments. [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/2/original/delete.png [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/2/mini/delete.png [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/2/small/delete.png [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/2/product/delete.png [paperclip] saving /Users/davidhenner/projects/survey_says/test/dummy/public/assets/products/2/large/delete.png Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/survey_admin/questions/1/answers/5 Completed 302 Found in 229ms Started GET "/survey_admin/questions/1/answers/5" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"5"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "5"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 5 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (70.5ms) Completed 200 OK in 89ms (Views: 86.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:52 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 5  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 4 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (92.4ms) Completed 200 OK in 133ms (Views: 107.2ms | ActiveRecord: 3.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:54:55 -0500 Served asset /application.js - 304 Not Modified (1ms) Started GET "/survey_admin/questions/1/answers/4" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"4"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "4"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (91.4ms) Completed 200 OK in 110ms (Views: 105.8ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /survey_says.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:00 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 5  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 4 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (102.1ms) Completed 200 OK in 143ms (Views: 116.1ms | ActiveRecord: 3.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:09 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/5" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"5"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "5"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 5 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (72.0ms) Completed 200 OK in 90ms (Views: 87.3ms | ActiveRecord: 1.3ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:16 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/5/edit" for 127.0.0.1 at 2011-12-13 15:55:19 -0500 Processing by SurveyAdmin::AnswersController#edit as HTML Parameters: {"question_id"=>"1", "id"=>"5"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "5"]]  (0.1ms) SELECT COUNT(*) FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 SurveyImage Load (0.3ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_survey_image.html.erb (2.6ms) Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 5 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_score.html.erb (17.2ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/_form.html.erb (79.9ms) Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/edit.html.erb within layouts/survey_admin (107.6ms) Completed 200 OK in 148ms (Views: 121.9ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 15:55:20 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers/5" for 127.0.0.1 at 2011-12-13 16:01:32 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"5"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "5"]] Question Load (0.1ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 5 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (264.7ms) Completed 500 Internal Server Error in 271ms ActionView::Template::Error (undefined local variable or method `answer' for #<#:0x000001021270c0>): 28: <% end %> 29: 30:
31: <%= image_tag answer.image unless answer.image.blank? %> 32:
33:

34:

Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/survey_admin/questions/1/answers/5" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Processing by SurveyAdmin::AnswersController#show as HTML Parameters: {"question_id"=>"1", "id"=>"5"} Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."id" = ? LIMIT 1 [["id", "5"]] Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = 1 LIMIT 1 Score Load (0.2ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 5 SurveyImage Load (0.3ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/show.html.erb within layouts/survey_admin (128.7ms) Completed 200 OK in 147ms (Views: 143.6ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 16:01:54 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.2ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 2 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 1 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 5  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 4 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 4 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (161.6ms) Completed 200 OK in 202ms (Views: 174.3ms | ActiveRecord: 4.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 16:02:00 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions/1/answers" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Processing by SurveyAdmin::AnswersController#index as HTML Parameters: {"question_id"=>"1"} Question Load (0.2ms) SELECT "questions".* FROM "questions" WHERE "questions"."id" = ? LIMIT 1 [["id", "1"]] Answer Load (0.3ms) SELECT "answers".* FROM "answers" WHERE "answers"."question_id" = 1 ORDER BY answers.position ASC  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 2 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 2 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 1 LIMIT 1 SurveyProperty Load (0.2ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 SurveyImage Load (0.3ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 2 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 1 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyProperty Load (0.1ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 3 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 1 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 3 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 3 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 4 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 3 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 5 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 CACHE (0.0ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 5 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "scores" WHERE "scores"."answer_id" = 4 Score Load (0.1ms) SELECT "scores".* FROM "scores" WHERE "scores"."answer_id" = 4 CACHE (0.0ms) SELECT "survey_properties".* FROM "survey_properties" WHERE "survey_properties"."id" = 2 LIMIT 1 SurveyImage Load (0.2ms) SELECT "survey_images".* FROM "survey_images" WHERE "survey_images"."imageable_id" = 4 AND "survey_images"."imageable_type" = 'Answer' ORDER BY position, position LIMIT 1 Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/answers/index.html.erb within layouts/survey_admin (135.2ms) Completed 200 OK in 205ms (Views: 177.3ms | ActiveRecord: 4.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprites.png" for 127.0.0.1 at 2011-12-13 16:03:23 -0500 Served asset /survey_says/sprites.png - 304 Not Modified (4ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-14 03:50:20 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (27.5ms) Completed 200 OK in 97ms (Views: 95.4ms | ActiveRecord: 0.3ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-14 03:50:20 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (6ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-14 03:50:20 -0500 Served asset /survey_says/general.css - 304 Not Modified (2ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-14 03:50:20 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (4ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-14 03:50:20 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-14 03:50:20 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (24ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-14 03:50:20 -0500 Served asset /survey_says.js - 304 Not Modified (0ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-14 03:52:37 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (6.3ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (require_tree argument must be a directory (in /Users/davidhenner/projects/survey_says/app/assets/javascripts/survey_says.js:1)): 3: 4: <%= content_for?(:title) ? yield(:title) : "Survey Says" %> 5: <%= stylesheet_link_tag "survey_says" %> 6: <%= javascript_include_tag "survey_says" %> 7: <%= csrf_meta_tag %> 8: <%= yield(:head) %> 9: Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-14 03:53:04 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (6.3ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (require_tree argument must be a relative path (in /Users/davidhenner/projects/survey_says/app/assets/javascripts/survey_says.js:1)): 3: 4: <%= content_for?(:title) ? yield(:title) : "Survey Says" %> 5: <%= stylesheet_link_tag "survey_says" %> 6: <%= javascript_include_tag "survey_says" %> 7: <%= csrf_meta_tag %> 8: <%= yield(:head) %> 9: Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.6ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-14 03:53:09 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions" Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (6.2ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (require_tree argument must be a relative path (in /Users/davidhenner/projects/survey_says/app/assets/javascripts/survey_says.js:1)): 3: 4: <%= content_for?(:title) ? yield(:title) : "Survey Says" %> 5: <%= stylesheet_link_tag "survey_says" %> 6: <%= javascript_include_tag "survey_says" %> 7: <%= csrf_meta_tag %> 8: <%= yield(:head) %> 9: Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/davidhenner/.rvm/gems/ruby-1.9.2-p290@survey/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.5ms) Started GET "/survey_admin/questions" for 127.0.0.1 at 2011-12-14 03:53:29 -0500 Processing by SurveyAdmin::QuestionsController#index as HTML Question Load (0.1ms) SELECT "questions".* FROM "questions"  Rendered /Users/davidhenner/projects/survey_says/app/views/survey_admin/questions/index.html.erb within layouts/survey_admin (6.4ms) Compiled survey_says.js (1ms) (pid 69554) Completed 200 OK in 27ms (Views: 25.7ms | ActiveRecord: 0.3ms) Started GET "/assets/survey_says/general.css?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500 Served asset /survey_says/general.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/bootstrap.css?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500 Served asset /survey_says/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/sprite.css?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500 Served asset /survey_says/sprite.css - 304 Not Modified (0ms) Started GET "/assets/survey_says.css?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500 Served asset /survey_says.css - 304 Not Modified (0ms) Started GET "/assets/survey_says/answer_form.js?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500 Served asset /survey_says/answer_form.js - 304 Not Modified (0ms) Started GET "/assets/survey_says.js?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500 Served asset /survey_says.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500 Served asset /jquery.js - 304 Not Modified (2ms)  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111010112000) Migrating to CreateQuestions (20111208181247) Migrating to CreateAnswers (20111208181414) Migrating to CreateSurveyProperties (20111208181429) Migrating to CreateScores (20111208181449) Migrating to CreateUserAnswers (20111211175518) Migrating to CreateQuestionnaires (20111211175604) Migrating to AddQuestionaireIdToQuestions (20111211180011) Migrating to CreateSurveyImages (20111213185612)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questionnaires")  (0.0ms) PRAGMA index_info('index_questionnaires_on_name')  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_info('index_questions_on_questionnaire_id')  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_images")  (0.0ms) PRAGMA index_list("survey_properties")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.0ms) PRAGMA index_info('index_user_answers_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111010112000)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questionnaires")  (0.0ms) PRAGMA index_info('index_questionnaires_on_name')  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_info('index_questions_on_questionnaire_id')  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_images")  (0.0ms) PRAGMA index_list("survey_properties")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.0ms) PRAGMA index_info('index_user_answers_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (1.4ms) CREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("questionnaires")  (1.1ms) CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")  (1.0ms) CREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime, "questionnaire_id" integer)   (0.0ms) PRAGMA index_list("questions")  (1.1ms) CREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")  (0.9ms) CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer, "survey_property_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)  (1.2ms) CREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.3ms) CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.1ms) CREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("user_answers")  (1.0ms) CREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.9ms) CREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20111213185612')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20111010112000')  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111010112000)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questionnaires")  (0.0ms) PRAGMA index_info('index_questionnaires_on_name')  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_info('index_questions_on_questionnaire_id')  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_images")  (0.0ms) PRAGMA index_list("survey_properties")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.0ms) PRAGMA index_info('index_user_answers_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111010112000) Migrating to CreateQuestions (20111208181247) Migrating to CreateAnswers (20111208181414) Migrating to CreateSurveyProperties (20111208181429) Migrating to CreateScores (20111208181449) Migrating to CreateUserAnswers (20111211175518) Migrating to CreateQuestionnaires (20111211175604) Migrating to AddQuestionaireIdToQuestions (20111211180011) Migrating to CreateSurveyImages (20111213185612)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_list("questionnaires")  (0.0ms) PRAGMA index_info('index_questionnaires_on_name')  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_info('index_questions_on_questionnaire_id')  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_list("survey_images")  (0.0ms) PRAGMA index_list("survey_properties")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.0ms) PRAGMA index_info('index_user_answers_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111010112000)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111010112000') Migrating to CreateQuestions (20111208181247)  (0.4ms) CREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text NOT NULL, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181247') Migrating to CreateAnswers (20111208181414)  (0.3ms) CREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer NOT NULL, "details" text, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("answers")  (0.1ms) CREATE INDEX "index_answers_on_question_id" ON "answers" ("question_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181414') Migrating to CreateSurveyProperties (20111208181429)  (0.3ms) CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181429') Migrating to CreateScores (20111208181449)  (0.3ms) CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer NOT NULL, "survey_property_id" integer NOT NULL, "value" integer NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("scores")  (0.1ms) CREATE INDEX "index_scores_on_answer_id" ON "scores" ("answer_id")  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_info('index_scores_on_answer_id')  (0.1ms) CREATE INDEX "index_scores_on_survey_property_id" ON "scores" ("survey_property_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111208181449') Migrating to CreateUserAnswers (20111211175518)  (0.3ms) CREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("user_answers")  (0.1ms) CREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_user_id')  (0.1ms) CREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111211175518') Migrating to CreateQuestionnaires (20111211175604)  (0.3ms) CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("questionnaires")  (0.1ms) CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111211175604') Migrating to AddQuestionaireIdToQuestions (20111211180011)  (0.6ms) ALTER TABLE "questions" ADD "questionnaire_id" integer  (0.1ms) PRAGMA index_list("questions")  (0.2ms) CREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111211180011') Migrating to CreateSurveyImages (20111213185612)  (0.4ms) CREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111213185612')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_info('index_answers_on_question_id')  (0.0ms) PRAGMA index_list("questionnaires")  (0.0ms) PRAGMA index_info('index_questionnaires_on_name')  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_info('index_questions_on_questionnaire_id')  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_info('index_scores_on_survey_property_id')  (0.0ms) PRAGMA index_info('index_scores_on_answer_id')  (0.0ms) PRAGMA index_list("survey_images")  (0.0ms) PRAGMA index_list("survey_properties")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.0ms) PRAGMA index_info('index_user_answers_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111010112000)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("answers")  (0.0ms) PRAGMA index_info('index_answers_on_question_id')  (0.0ms) PRAGMA index_list("questionnaires")  (0.0ms) PRAGMA index_info('index_questionnaires_on_name')  (0.0ms) PRAGMA index_list("questions")  (0.0ms) PRAGMA index_info('index_questions_on_questionnaire_id')  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_info('index_scores_on_survey_property_id')  (0.0ms) PRAGMA index_info('index_scores_on_answer_id')  (0.0ms) PRAGMA index_list("survey_images")  (0.0ms) PRAGMA index_list("survey_properties")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.0ms) PRAGMA index_info('index_user_answers_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (1.2ms) CREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer NOT NULL, "details" text, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) PRAGMA index_list("answers")  (0.7ms) CREATE INDEX "index_answers_on_question_id" ON "answers" ("question_id")  (0.7ms) CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("questionnaires")  (0.8ms) CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")  (0.9ms) CREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text NOT NULL, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime, "questionnaire_id" integer)   (0.0ms) PRAGMA index_list("questions")  (0.7ms) CREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")  (0.9ms) CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer NOT NULL, "survey_property_id" integer NOT NULL, "value" integer NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("scores")  (0.7ms) CREATE INDEX "index_scores_on_answer_id" ON "scores" ("answer_id")  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_info('index_scores_on_answer_id')  (0.6ms) CREATE INDEX "index_scores_on_survey_property_id" ON "scores" ("survey_property_id")  (0.8ms) CREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_answers")  (0.7ms) CREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (0.7ms) CREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111213185612')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20111010112000')  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (1.2ms) CREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer NOT NULL, "details" text, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("answers")  (0.8ms) CREATE INDEX "index_answers_on_question_id" ON "answers" ("question_id")  (1.3ms) CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("questionnaires")  (0.8ms) CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")  (1.3ms) CREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text NOT NULL, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime, "questionnaire_id" integer)   (0.0ms) PRAGMA index_list("questions")  (1.0ms) CREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")  (1.1ms) CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer NOT NULL, "survey_property_id" integer NOT NULL, "value" integer NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("scores")  (0.9ms) CREATE INDEX "index_scores_on_answer_id" ON "scores" ("answer_id")  (0.0ms) PRAGMA index_list("scores")  (0.0ms) PRAGMA index_info('index_scores_on_answer_id')  (1.2ms) CREATE INDEX "index_scores_on_survey_property_id" ON "scores" ("survey_property_id")  (1.0ms) CREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.2ms) CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_answers")  (0.7ms) CREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")  (0.0ms) PRAGMA index_list("user_answers")  (0.0ms) PRAGMA index_info('index_user_answers_on_answer_id')  (1.0ms) CREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111213185612')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20111010112000')