qwester 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -183,6 +183,32 @@ flow that goes from one to two and then back to one, unless you reset or
183
183
  otherwise manipulate session[:presentations]. Instead you should clone 'one'
184
184
  as a new presentation e.g. 'three', and then go from one to two to three.
185
185
 
186
+ == Answer weighting
187
+
188
+ Answers have a weighting field (float) to give selected answers more weight
189
+ when comparing answers. You can also define an alias for this field, to give
190
+ it a name that is more appropriate to your application.
191
+
192
+ For example, you want to use qwester to create a multiple choice test, and each
193
+ answer needs to be assigned a 'score'. First you will need to assign :score as
194
+ the weighting alias. In an initializer add this:
195
+
196
+ Qwester::Answer.weighting_alias = :score
197
+
198
+ This will add a 'score' instance method to Answers, that will return the
199
+ weighting for that answer.
200
+
201
+ Then apply a score/weighting to each correct answer in the database.
202
+
203
+ You can then set up a rule to work with the score method. For example:
204
+
205
+ rule_set.rule = 'sum(:score) >= 10'
206
+
207
+ See array_logic[http://github.com/reggieb/array_logic] for a list of functions
208
+ available.
209
+
210
+ The default value of weighting is zero.
211
+
186
212
  == Dummy
187
213
 
188
214
  A test app is present within this engine, and provides an example of how
@@ -1,6 +1,6 @@
1
1
  module Qwester
2
2
  class Answer < ActiveRecord::Base
3
- attr_accessible :value, :question_id, :position, :cope_index
3
+ attr_accessible :value, :question_id, :position, :weighting
4
4
 
5
5
  DEFAULT_VALUE = 'Not applicable'
6
6
  STANDARD_VALUES = ['Yes', 'No', DEFAULT_VALUE]
@@ -36,6 +36,31 @@ module Qwester
36
36
  def self.rule_label_prefix
37
37
  @rule_label_prefix ||= 'a'
38
38
  end
39
+
40
+ def self.weighting_alias
41
+ @weighting_alias
42
+ end
43
+
44
+ def self.weighting_alias=(name)
45
+ if name
46
+ @weighting_alias = name
47
+ define_method(name.to_sym) {send(:weighting)}
48
+ else
49
+ remove_weighting_alias
50
+ end
51
+ end
52
+
53
+ def self.weighting_alias_name
54
+ name = weighting_alias || :weighting
55
+ name.to_s
56
+ end
57
+
58
+ def self.remove_weighting_alias
59
+ if weighting_alias
60
+ remove_method weighting_alias.to_sym
61
+ @weighting_alias = nil
62
+ end
63
+ end
39
64
 
40
65
  def rule_label
41
66
  "#{self.class.rule_label_prefix}#{self.id}"
@@ -0,0 +1,5 @@
1
+ class AddWeightingToQwesterAnswers < ActiveRecord::Migration
2
+ def change
3
+ add_column :qwester_answers, :weighting, :float, :default => 0
4
+ end
5
+ end
@@ -8,6 +8,14 @@ module Qwester
8
8
 
9
9
  actions :all, :except => [:edit]
10
10
  config.batch_actions = false
11
+
12
+ filter :question
13
+ filter :value
14
+ filter :created_at
15
+ filter :updated_at
16
+ filter :position
17
+ filter :weighting, :label => Answer.weighting_alias_name.humanize
18
+
11
19
 
12
20
  index do
13
21
  column :id
@@ -15,10 +23,24 @@ module Qwester
15
23
  column 'Question (edit answer via question)', :question do |answer|
16
24
  link_to(answer.question.title, edit_admin_qwester_question_path(answer.question)) if answer.question
17
25
  end
18
- column :position
26
+ column Answer.weighting_alias_name.humanize, :weighting
27
+ column :position
19
28
  default_actions
20
29
  end
21
30
 
31
+ show do |ad|
32
+ attributes_table do
33
+ row :question
34
+ row :value
35
+ row :updated_at
36
+ row :position
37
+ row Answer.weighting_alias_name.humanize do |answer|
38
+ answer.weighting
39
+ end
40
+ end
41
+ active_admin_comments
42
+ end
43
+
22
44
  member_action :move_up do
23
45
  answer = Answer.find(params[:id])
24
46
  answer.move_higher
@@ -55,7 +55,7 @@ module Qwester
55
55
  f.has_many :answers do |answer_form|
56
56
  answer_form.input :value
57
57
  answer_form.input :position
58
- answer_form.input :cope_index
58
+ answer_form.input :weighting, :label => Answer.weighting_alias_name.humanize
59
59
  end
60
60
  end
61
61
 
@@ -1,10 +1,14 @@
1
1
  module Qwester
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
4
4
 
5
5
  # History
6
6
  # =======
7
7
  #
8
+ # 0.2.0 - Adds weighting to answers
9
+ # Weighting can be used to give some answers greater weight in comparisons.
10
+ # Weighting can be aliased.
11
+ #
8
12
  # 0.1.4 - Bug fix update
9
13
  # Rescues exception in admin_rules_sets#show due to rule including a function
10
14
  #
@@ -1,2 +1,4 @@
1
1
 
2
- Qwester.active_admin_menu = 'Q and A'
2
+ Qwester.active_admin_menu = 'Q and A'
3
+
4
+ Qwester::Answer.weighting_alias = :score
@@ -0,0 +1,6 @@
1
+ # This migration comes from qwester (originally 20130402074240)
2
+ class AddWeightingToQwesterAnswers < ActiveRecord::Migration
3
+ def change
4
+ add_column :qwester_answers, :weighting, :float, :default => 0
5
+ end
6
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130318123540) do
14
+ ActiveRecord::Schema.define(:version => 20130402085424) do
15
15
 
16
16
  create_table "active_admin_comments", :force => true do |t|
17
17
  t.string "resource_id", :null => false
@@ -65,9 +65,10 @@ ActiveRecord::Schema.define(:version => 20130318123540) do
65
65
  create_table "qwester_answers", :force => true do |t|
66
66
  t.integer "question_id"
67
67
  t.string "value"
68
- t.datetime "created_at", :null => false
69
- t.datetime "updated_at", :null => false
68
+ t.datetime "created_at", :null => false
69
+ t.datetime "updated_at", :null => false
70
70
  t.integer "position"
71
+ t.float "weighting", :default => 0.0
71
72
  end
72
73
 
73
74
  create_table "qwester_answers_rule_sets", :id => false, :force => true do |t|
Binary file
@@ -51030,3 +51030,3308 @@ Served asset /active_admin.js - 304 Not Modified (19ms)
51030
51030
 
51031
51031
  Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-03-28 15:57:49 +0000
51032
51032
  Served asset /active_admin/print.css - 304 Not Modified (0ms)
51033
+ Connecting to database specified by database.yml
51034
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51035
+ Migrating to DeviseCreateAdminUsers (20130110115938)
51036
+ Migrating to CreateAdminComments (20130110115940)
51037
+ Migrating to CreateQuestions (20130314103645)
51038
+ Migrating to CreateAnswers (20130314103646)
51039
+ Migrating to CreateRuleSets (20130314103647)
51040
+ Migrating to CreateQuestionnaires (20130314103648)
51041
+ Migrating to CreateAnswerStores (20130314103649)
51042
+ Migrating to AddQuestionnaireIdToAnswers (20130314103650)
51043
+ Migrating to ChangeAnswersValueToString (20130314103651)
51044
+ Migrating to AddButtonImageToQuestionnaires (20130314103652)
51045
+ Migrating to CreateCkeditorAssets (20130314103653)
51046
+ Migrating to AddRefToQuestions (20130314103654)
51047
+ Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
51048
+ Migrating to AddPositionToAnswers (20130314103656)
51049
+ Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
51050
+ Migrating to AddRuleToRuleSets (20130314103658)
51051
+ Migrating to AddMultiAnswerToQuestions (20130314103659)
51052
+ Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
51053
+ Migrating to AddLinkTextToRuleSets (20130314103661)
51054
+ Migrating to AddPreservedToAnswerStores (20130314103662)
51055
+ Migrating to CreateQwesterPresentations (20130315113346)
51056
+ Migrating to CreateQwesterPresentationQuestionnaires (20130315113347)
51057
+ Migrating to AddPresentationToRuleSets (20130318123540)
51058
+ Migrating to AddWeightingToAnswers (20130402073816)
51059
+  (0.1ms) select sqlite_version(*)
51060
+  (0.0ms) begin transaction
51061
+  (0.2ms) ALTER TABLE "answers" ADD "weighting" float
51062
+ SQLite3::SQLException: no such table: answers: ALTER TABLE "answers" ADD "weighting" float
51063
+  (0.1ms) rollback transaction
51064
+ Connecting to database specified by database.yml
51065
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51066
+ Migrating to DeviseCreateAdminUsers (20130110115938)
51067
+ Migrating to CreateAdminComments (20130110115940)
51068
+ Migrating to CreateQuestions (20130314103645)
51069
+ Migrating to CreateAnswers (20130314103646)
51070
+ Migrating to CreateRuleSets (20130314103647)
51071
+ Migrating to CreateQuestionnaires (20130314103648)
51072
+ Migrating to CreateAnswerStores (20130314103649)
51073
+ Migrating to AddQuestionnaireIdToAnswers (20130314103650)
51074
+ Migrating to ChangeAnswersValueToString (20130314103651)
51075
+ Migrating to AddButtonImageToQuestionnaires (20130314103652)
51076
+ Migrating to CreateCkeditorAssets (20130314103653)
51077
+ Migrating to AddRefToQuestions (20130314103654)
51078
+ Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
51079
+ Migrating to AddPositionToAnswers (20130314103656)
51080
+ Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
51081
+ Migrating to AddRuleToRuleSets (20130314103658)
51082
+ Migrating to AddMultiAnswerToQuestions (20130314103659)
51083
+ Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
51084
+ Migrating to AddLinkTextToRuleSets (20130314103661)
51085
+ Migrating to AddPreservedToAnswerStores (20130314103662)
51086
+ Migrating to CreateQwesterPresentations (20130315113346)
51087
+ Migrating to CreateQwesterPresentationQuestionnaires (20130315113347)
51088
+ Migrating to AddPresentationToRuleSets (20130318123540)
51089
+ Migrating to AddWeightingToAnswers (20130402073816)
51090
+  (0.1ms) select sqlite_version(*)
51091
+  (0.1ms) begin transaction
51092
+  (0.6ms) ALTER TABLE "answers" ADD "weighting" float
51093
+ SQLite3::SQLException: no such table: answers: ALTER TABLE "answers" ADD "weighting" float
51094
+  (0.1ms) rollback transaction
51095
+ Connecting to database specified by database.yml
51096
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51097
+ Migrating to DeviseCreateAdminUsers (20130110115938)
51098
+ Migrating to CreateAdminComments (20130110115940)
51099
+ Migrating to CreateQuestions (20130314103645)
51100
+ Migrating to CreateAnswers (20130314103646)
51101
+ Migrating to CreateRuleSets (20130314103647)
51102
+ Migrating to CreateQuestionnaires (20130314103648)
51103
+ Migrating to CreateAnswerStores (20130314103649)
51104
+ Migrating to AddQuestionnaireIdToAnswers (20130314103650)
51105
+ Migrating to ChangeAnswersValueToString (20130314103651)
51106
+ Migrating to AddButtonImageToQuestionnaires (20130314103652)
51107
+ Migrating to CreateCkeditorAssets (20130314103653)
51108
+ Migrating to AddRefToQuestions (20130314103654)
51109
+ Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
51110
+ Migrating to AddPositionToAnswers (20130314103656)
51111
+ Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
51112
+ Migrating to AddRuleToRuleSets (20130314103658)
51113
+ Migrating to AddMultiAnswerToQuestions (20130314103659)
51114
+ Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
51115
+ Migrating to AddLinkTextToRuleSets (20130314103661)
51116
+ Migrating to AddPreservedToAnswerStores (20130314103662)
51117
+ Migrating to CreateQwesterPresentations (20130315113346)
51118
+ Migrating to CreateQwesterPresentationQuestionnaires (20130315113347)
51119
+ Migrating to AddPresentationToRuleSets (20130318123540)
51120
+ Migrating to AddWeightingToQwesterAnswers (20130402074328)
51121
+  (0.1ms) select sqlite_version(*)
51122
+  (0.1ms) begin transaction
51123
+  (2.9ms) ALTER TABLE "qwester_answers" ADD "weighting" float
51124
+  (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130402074328')
51125
+  (149.7ms) commit transaction
51126
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51127
+ Connecting to database specified by database.yml
51128
+ Connecting to database specified by database.yml
51129
+ Connecting to database specified by database.yml
51130
+ Connecting to database specified by database.yml
51131
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51132
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
51133
+ Migrating to AddWeightingToQwesterAnswers (20130402074328)
51134
+  (0.0ms) select sqlite_version(*)
51135
+  (0.0ms) begin transaction
51136
+  (0.7ms) CREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer, "weighting" float) 
51137
+  (0.2ms) SELECT * FROM "qwester_answers"
51138
+  (0.2ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (1, 1, 'Yes', '2013-03-18 10:34:02.974983', '2013-04-02 08:08:25.030038', 1, 9.0)
51139
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (2, 1, 'No', '2013-03-18 10:34:03.110875', '2013-03-18 10:34:03.110875', 2, NULL)
51140
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (3, 1, 'Not applicable', '2013-03-18 10:34:03.253198', '2013-03-18 10:34:03.253198', 3, NULL)
51141
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (4, 2, 'Yes', '2013-03-18 10:34:04.273837', '2013-03-18 10:34:04.273837', 1, NULL)
51142
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (5, 2, 'No', '2013-03-18 10:34:04.529570', '2013-03-18 10:34:04.529570', 2, NULL)
51143
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (6, 2, 'Not applicable', '2013-03-18 10:34:04.806444', '2013-03-18 10:34:04.806444', 3, NULL)
51144
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (7, 3, 'Yes', '2013-03-18 10:34:06.151301', '2013-03-18 10:34:06.151301', 1, NULL)
51145
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (8, 3, 'No', '2013-03-18 10:34:06.331461', '2013-03-18 10:34:06.331461', 2, NULL)
51146
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (9, 3, 'Not applicable', '2013-03-18 10:34:06.629378', '2013-03-18 10:34:06.629378', 3, NULL)
51147
+  (3.1ms) DROP TABLE "qwester_answers"
51148
+  (1.1ms) CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer) 
51149
+  (0.1ms) SELECT * FROM "altered_qwester_answers"
51150
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (1, 1, 'Yes', '2013-03-18 10:34:02.974983', '2013-04-02 08:08:25.030038', 1)
51151
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (2, 1, 'No', '2013-03-18 10:34:03.110875', '2013-03-18 10:34:03.110875', 2)
51152
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (3, 1, 'Not applicable', '2013-03-18 10:34:03.253198', '2013-03-18 10:34:03.253198', 3)
51153
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (4, 2, 'Yes', '2013-03-18 10:34:04.273837', '2013-03-18 10:34:04.273837', 1)
51154
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (5, 2, 'No', '2013-03-18 10:34:04.529570', '2013-03-18 10:34:04.529570', 2)
51155
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (6, 2, 'Not applicable', '2013-03-18 10:34:04.806444', '2013-03-18 10:34:04.806444', 3)
51156
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (7, 3, 'Yes', '2013-03-18 10:34:06.151301', '2013-03-18 10:34:06.151301', 1)
51157
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (8, 3, 'No', '2013-03-18 10:34:06.331461', '2013-03-18 10:34:06.331461', 2)
51158
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (9, 3, 'Not applicable', '2013-03-18 10:34:06.629378', '2013-03-18 10:34:06.629378', 3)
51159
+  (0.2ms) DROP TABLE "altered_qwester_answers"
51160
+  (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20130402074328'
51161
+  (253.6ms) commit transaction
51162
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51163
+ Connecting to database specified by database.yml
51164
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51165
+ Migrating to DeviseCreateAdminUsers (20130110115938)
51166
+ Migrating to CreateAdminComments (20130110115940)
51167
+ Migrating to CreateQuestions (20130314103645)
51168
+ Migrating to CreateAnswers (20130314103646)
51169
+ Migrating to CreateRuleSets (20130314103647)
51170
+ Migrating to CreateQuestionnaires (20130314103648)
51171
+ Migrating to CreateAnswerStores (20130314103649)
51172
+ Migrating to AddQuestionnaireIdToAnswers (20130314103650)
51173
+ Migrating to ChangeAnswersValueToString (20130314103651)
51174
+ Migrating to AddButtonImageToQuestionnaires (20130314103652)
51175
+ Migrating to CreateCkeditorAssets (20130314103653)
51176
+ Migrating to AddRefToQuestions (20130314103654)
51177
+ Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
51178
+ Migrating to AddPositionToAnswers (20130314103656)
51179
+ Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
51180
+ Migrating to AddRuleToRuleSets (20130314103658)
51181
+ Migrating to AddMultiAnswerToQuestions (20130314103659)
51182
+ Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
51183
+ Migrating to AddLinkTextToRuleSets (20130314103661)
51184
+ Migrating to AddPreservedToAnswerStores (20130314103662)
51185
+ Migrating to CreateQwesterPresentations (20130315113346)
51186
+ Migrating to CreateQwesterPresentationQuestionnaires (20130315113347)
51187
+ Migrating to AddPresentationToRuleSets (20130402085423)
51188
+  (0.1ms) select sqlite_version(*)
51189
+  (0.0ms) begin transaction
51190
+  (0.1ms) ALTER TABLE "qwester_rule_sets" ADD "presentation" varchar(255)
51191
+ SQLite3::SQLException: duplicate column name: presentation: ALTER TABLE "qwester_rule_sets" ADD "presentation" varchar(255)
51192
+  (0.1ms) rollback transaction
51193
+ Connecting to database specified by database.yml
51194
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51195
+ Migrating to DeviseCreateAdminUsers (20130110115938)
51196
+ Migrating to CreateAdminComments (20130110115940)
51197
+ Migrating to CreateQuestions (20130314103645)
51198
+ Migrating to CreateAnswers (20130314103646)
51199
+ Migrating to CreateRuleSets (20130314103647)
51200
+ Migrating to CreateQuestionnaires (20130314103648)
51201
+ Migrating to CreateAnswerStores (20130314103649)
51202
+ Migrating to AddQuestionnaireIdToAnswers (20130314103650)
51203
+ Migrating to ChangeAnswersValueToString (20130314103651)
51204
+ Migrating to AddButtonImageToQuestionnaires (20130314103652)
51205
+ Migrating to CreateCkeditorAssets (20130314103653)
51206
+ Migrating to AddRefToQuestions (20130314103654)
51207
+ Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
51208
+ Migrating to AddPositionToAnswers (20130314103656)
51209
+ Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
51210
+ Migrating to AddRuleToRuleSets (20130314103658)
51211
+ Migrating to AddMultiAnswerToQuestions (20130314103659)
51212
+ Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
51213
+ Migrating to AddLinkTextToRuleSets (20130314103661)
51214
+ Migrating to AddPreservedToAnswerStores (20130314103662)
51215
+ Migrating to CreateQwesterPresentations (20130315113346)
51216
+ Migrating to CreateQwesterPresentationQuestionnaires (20130315113347)
51217
+ Migrating to AddPresentationToRuleSets (20130402085423)
51218
+  (0.1ms) select sqlite_version(*)
51219
+  (0.1ms) begin transaction
51220
+  (2.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130402085423')
51221
+  (98.0ms) commit transaction
51222
+ Migrating to AddWeightingToQwesterAnswers (20130402085424)
51223
+  (0.1ms) begin transaction
51224
+  (1.9ms) ALTER TABLE "qwester_answers" ADD "weighting" float DEFAULT 0
51225
+  (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130402085424')
51226
+  (108.5ms) commit transaction
51227
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
51228
+ Connecting to database specified by database.yml
51229
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51230
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
51231
+ Migrating to AddWeightingToQwesterAnswers (20130402085424)
51232
+  (0.0ms) select sqlite_version(*)
51233
+  (0.0ms) begin transaction
51234
+  (1.2ms) CREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer, "weighting" float DEFAULT 0.0) 
51235
+  (0.4ms) SELECT * FROM "qwester_answers"
51236
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (1, 1, 'Yes', '2013-03-18 10:34:02.974983', '2013-04-02 08:08:25.030038', 1, 0.0)
51237
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (2, 1, 'No', '2013-03-18 10:34:03.110875', '2013-03-18 10:34:03.110875', 2, 0.0)
51238
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (3, 1, 'Not applicable', '2013-03-18 10:34:03.253198', '2013-03-18 10:34:03.253198', 3, 0.0)
51239
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (4, 2, 'Yes', '2013-03-18 10:34:04.273837', '2013-03-18 10:34:04.273837', 1, 0.0)
51240
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (5, 2, 'No', '2013-03-18 10:34:04.529570', '2013-03-18 10:34:04.529570', 2, 0.0)
51241
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (6, 2, 'Not applicable', '2013-03-18 10:34:04.806444', '2013-03-18 10:34:04.806444', 3, 0.0)
51242
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (7, 3, 'Yes', '2013-03-18 10:34:06.151301', '2013-03-18 10:34:06.151301', 1, 0.0)
51243
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (8, 3, 'No', '2013-03-18 10:34:06.331461', '2013-03-18 10:34:06.331461', 2, 0.0)
51244
+  (0.1ms) INSERT INTO "altered_qwester_answers" ("id","question_id","value","created_at","updated_at","position","weighting") VALUES (9, 3, 'Not applicable', '2013-03-18 10:34:06.629378', '2013-03-18 10:34:06.629378', 3, 0.0)
51245
+  (2.6ms) DROP TABLE "qwester_answers"
51246
+  (0.2ms) CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer) 
51247
+  (0.1ms) SELECT * FROM "altered_qwester_answers"
51248
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (1, 1, 'Yes', '2013-03-18 10:34:02.974983', '2013-04-02 08:08:25.030038', 1)
51249
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (2, 1, 'No', '2013-03-18 10:34:03.110875', '2013-03-18 10:34:03.110875', 2)
51250
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (3, 1, 'Not applicable', '2013-03-18 10:34:03.253198', '2013-03-18 10:34:03.253198', 3)
51251
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (4, 2, 'Yes', '2013-03-18 10:34:04.273837', '2013-03-18 10:34:04.273837', 1)
51252
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (5, 2, 'No', '2013-03-18 10:34:04.529570', '2013-03-18 10:34:04.529570', 2)
51253
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (6, 2, 'Not applicable', '2013-03-18 10:34:04.806444', '2013-03-18 10:34:04.806444', 3)
51254
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (7, 3, 'Yes', '2013-03-18 10:34:06.151301', '2013-03-18 10:34:06.151301', 1)
51255
+  (0.1ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (8, 3, 'No', '2013-03-18 10:34:06.331461', '2013-03-18 10:34:06.331461', 2)
51256
+  (0.3ms) INSERT INTO "qwester_answers" ("id","question_id","value","created_at","updated_at","position") VALUES (9, 3, 'Not applicable', '2013-03-18 10:34:06.629378', '2013-03-18 10:34:06.629378', 3)
51257
+  (0.2ms) DROP TABLE "altered_qwester_answers"
51258
+  (1.0ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20130402085424'
51259
+  (173.9ms) commit transaction
51260
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51261
+ Connecting to database specified by database.yml
51262
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51263
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
51264
+ Migrating to AddPresentationToRuleSets (20130402085423)
51265
+  (0.1ms) select sqlite_version(*)
51266
+  (0.1ms) begin transaction
51267
+  (0.7ms) CREATE TEMPORARY TABLE "altered_qwester_presentations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "title" varchar(255), "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "default" boolean) 
51268
+  (0.2ms) SELECT * FROM "qwester_presentations"
51269
+  (0.2ms) INSERT INTO "altered_qwester_presentations" ("id","name","title","description","created_at","updated_at","default") VALUES (1, 'big_foo', 'Big gum', '', '2013-03-18 10:45:11.347988', '2013-03-18 13:46:11.169850', 'f')
51270
+  (0.1ms) INSERT INTO "altered_qwester_presentations" ("id","name","title","description","created_at","updated_at","default") VALUES (2, 'just_blue', 'Just blue', '', '2013-03-18 14:50:10.203743', '2013-03-18 14:50:10.203743', 't')
51271
+  (3.1ms) DROP TABLE "qwester_presentations"
51272
+  (1.2ms) CREATE TABLE "qwester_presentations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "title" varchar(255), "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51273
+  (0.1ms) SELECT * FROM "altered_qwester_presentations"
51274
+  (0.1ms) INSERT INTO "qwester_presentations" ("id","name","title","description","created_at","updated_at") VALUES (1, 'big_foo', 'Big gum', '', '2013-03-18 10:45:11.347988', '2013-03-18 13:46:11.169850')
51275
+  (0.1ms) INSERT INTO "qwester_presentations" ("id","name","title","description","created_at","updated_at") VALUES (2, 'just_blue', 'Just blue', '', '2013-03-18 14:50:10.203743', '2013-03-18 14:50:10.203743')
51276
+  (0.3ms) DROP TABLE "altered_qwester_presentations"
51277
+  (1.1ms) CREATE TEMPORARY TABLE "altered_qwester_rule_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "rule" text, "link_text" varchar(255), "presentation" varchar(255)) 
51278
+  (0.1ms) SELECT * FROM "qwester_rule_sets"
51279
+  (0.1ms) INSERT INTO "altered_qwester_rule_sets" ("id","title","description","url","created_at","updated_at","rule","link_text","presentation") VALUES (1, 'Other blue favourites', NULL, 'https://www.google.co.uk/search?q=favourite+blue', '2013-03-18 10:34:03.418700', '2013-03-18 10:34:03.418700', 'a1', NULL, NULL)
51280
+  (0.1ms) INSERT INTO "altered_qwester_rule_sets" ("id","title","description","url","created_at","updated_at","rule","link_text","presentation") VALUES (2, 'As you like qwester', '', 'https://github.com/reggieb/qwester', '2013-03-18 10:34:06.866515', '2013-03-18 14:04:51.006385', 'a7', '', '')
51281
+  (0.1ms) INSERT INTO "altered_qwester_rule_sets" ("id","title","description","url","created_at","updated_at","rule","link_text","presentation") VALUES (3, 'Show big foo', '', '', '2013-03-18 14:09:01.498780', '2013-03-28 15:53:49.661979', 'a2 and sum(:id) >= 1', '', 'big_foo')
51282
+  (0.9ms) DROP TABLE "qwester_rule_sets"
51283
+  (0.2ms) CREATE TABLE "qwester_rule_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "rule" text, "link_text" varchar(255)) 
51284
+  (0.2ms) SELECT * FROM "altered_qwester_rule_sets"
51285
+  (0.1ms) INSERT INTO "qwester_rule_sets" ("id","title","description","url","created_at","updated_at","rule","link_text") VALUES (1, 'Other blue favourites', NULL, 'https://www.google.co.uk/search?q=favourite+blue', '2013-03-18 10:34:03.418700', '2013-03-18 10:34:03.418700', 'a1', NULL)
51286
+  (0.1ms) INSERT INTO "qwester_rule_sets" ("id","title","description","url","created_at","updated_at","rule","link_text") VALUES (2, 'As you like qwester', '', 'https://github.com/reggieb/qwester', '2013-03-18 10:34:06.866515', '2013-03-18 14:04:51.006385', 'a7', '')
51287
+  (0.1ms) INSERT INTO "qwester_rule_sets" ("id","title","description","url","created_at","updated_at","rule","link_text") VALUES (3, 'Show big foo', '', '', '2013-03-18 14:09:01.498780', '2013-03-28 15:53:49.661979', 'a2 and sum(:id) >= 1', '')
51288
+  (0.2ms) DROP TABLE "altered_qwester_rule_sets"
51289
+  (1.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20130402085423'
51290
+  (179.3ms) commit transaction
51291
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51292
+ Connecting to database specified by database.yml
51293
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51294
+ Migrating to DeviseCreateAdminUsers (20130110115938)
51295
+ Migrating to CreateAdminComments (20130110115940)
51296
+ Migrating to CreateQuestions (20130314103645)
51297
+ Migrating to CreateAnswers (20130314103646)
51298
+ Migrating to CreateRuleSets (20130314103647)
51299
+ Migrating to CreateQuestionnaires (20130314103648)
51300
+ Migrating to CreateAnswerStores (20130314103649)
51301
+ Migrating to AddQuestionnaireIdToAnswers (20130314103650)
51302
+ Migrating to ChangeAnswersValueToString (20130314103651)
51303
+ Migrating to AddButtonImageToQuestionnaires (20130314103652)
51304
+ Migrating to CreateCkeditorAssets (20130314103653)
51305
+ Migrating to AddRefToQuestions (20130314103654)
51306
+ Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
51307
+ Migrating to AddPositionToAnswers (20130314103656)
51308
+ Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
51309
+ Migrating to AddRuleToRuleSets (20130314103658)
51310
+ Migrating to AddMultiAnswerToQuestions (20130314103659)
51311
+ Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
51312
+ Migrating to AddLinkTextToRuleSets (20130314103661)
51313
+ Migrating to AddPreservedToAnswerStores (20130314103662)
51314
+ Migrating to CreateQwesterPresentations (20130315113346)
51315
+ Migrating to CreateQwesterPresentationQuestionnaires (20130315113347)
51316
+ Migrating to AddPresentationToRuleSets (20130402085423)
51317
+  (0.1ms) select sqlite_version(*)
51318
+  (0.1ms) begin transaction
51319
+  (3.1ms) ALTER TABLE "qwester_rule_sets" ADD "presentation" varchar(255)
51320
+  (0.2ms) ALTER TABLE "qwester_presentations" ADD "default" boolean
51321
+  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130402085423')
51322
+  (162.7ms) commit transaction
51323
+ Migrating to AddWeightingToQwesterAnswers (20130402085424)
51324
+  (0.2ms) begin transaction
51325
+  (3.5ms) ALTER TABLE "qwester_answers" ADD "weighting" float DEFAULT 0
51326
+  (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130402085424')
51327
+  (230.3ms) commit transaction
51328
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
51329
+ Connecting to database specified by database.yml
51330
+
51331
+
51332
+ Started GET "/" for 127.0.0.1 at 2013-04-02 10:01:12 +0100
51333
+ Processing by Qwester::QuestionnairesController#index as HTML
51334
+ Qwester::Presentation Load (0.3ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
51335
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires"
51336
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (18.8ms)
51337
+ Completed 200 OK in 874ms (Views: 719.8ms | ActiveRecord: 2.1ms)
51338
+
51339
+
51340
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:14 +0100
51341
+ Served asset /application.css - 304 Not Modified (91ms)
51342
+
51343
+
51344
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:14 +0100
51345
+ Served asset /active_admin.css - 304 Not Modified (84ms)
51346
+
51347
+
51348
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:14 +0100
51349
+ Served asset /jquery_ujs.js - 304 Not Modified (35ms)
51350
+
51351
+
51352
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:14 +0100
51353
+ Served asset /questionnaires.css - 304 Not Modified (10ms)
51354
+
51355
+
51356
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:14 +0100
51357
+ Served asset /jquery.js - 304 Not Modified (17ms)
51358
+
51359
+
51360
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:14 +0100
51361
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (19ms)
51362
+
51363
+
51364
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51365
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (26ms)
51366
+
51367
+
51368
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51369
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (32ms)
51370
+
51371
+
51372
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51373
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (8ms)
51374
+
51375
+
51376
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51377
+ Served asset /active_admin/pages/application.js - 304 Not Modified (11ms)
51378
+
51379
+
51380
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51381
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (18ms)
51382
+
51383
+
51384
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51385
+ Served asset /active_admin/application.js - 304 Not Modified (85ms)
51386
+
51387
+
51388
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51389
+ Served asset /active_admin.js - 304 Not Modified (68ms)
51390
+
51391
+
51392
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51393
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (13ms)
51394
+
51395
+
51396
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51397
+ Served asset /questionnaires.js - 304 Not Modified (8ms)
51398
+
51399
+
51400
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:15 +0100
51401
+ Served asset /application.js - 304 Not Modified (79ms)
51402
+
51403
+
51404
+ Started GET "/admin" for 127.0.0.1 at 2013-04-02 10:01:23 +0100
51405
+ Processing by Admin::DashboardController#index as HTML
51406
+ Completed 401 Unauthorized in 7ms
51407
+
51408
+
51409
+ Started GET "/admin/login" for 127.0.0.1 at 2013-04-02 10:01:24 +0100
51410
+ Processing by ActiveAdmin::Devise::SessionsController#new as HTML
51411
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/devise/shared/_links.erb (1.8ms)
51412
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (723.9ms)
51413
+ Completed 200 OK in 1033ms (Views: 970.1ms | ActiveRecord: 0.1ms)
51414
+
51415
+
51416
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51417
+ Served asset /active_admin.css - 304 Not Modified (76ms)
51418
+
51419
+
51420
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51421
+ Served asset /jquery.js - 304 Not Modified (10ms)
51422
+
51423
+
51424
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51425
+ Served asset /jquery_ujs.js - 304 Not Modified (25ms)
51426
+
51427
+
51428
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51429
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (5ms)
51430
+
51431
+
51432
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51433
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (6ms)
51434
+
51435
+
51436
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51437
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (7ms)
51438
+
51439
+
51440
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51441
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (0ms)
51442
+
51443
+
51444
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51445
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (0ms)
51446
+
51447
+
51448
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:25 +0100
51449
+ Served asset /active_admin/pages/application.js - 304 Not Modified (0ms)
51450
+
51451
+
51452
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:26 +0100
51453
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (16ms)
51454
+
51455
+
51456
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:26 +0100
51457
+ Served asset /active_admin/application.js - 304 Not Modified (16ms)
51458
+
51459
+
51460
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:26 +0100
51461
+ Served asset /questionnaires.js - 304 Not Modified (0ms)
51462
+
51463
+
51464
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:26 +0100
51465
+ Served asset /active_admin.js - 304 Not Modified (4ms)
51466
+
51467
+
51468
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:01:26 +0100
51469
+ Served asset /application.js - 304 Not Modified (22ms)
51470
+
51471
+
51472
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:26 +0100
51473
+ Served asset /active_admin/print.css - 304 Not Modified (144ms)
51474
+
51475
+
51476
+ Started POST "/admin/login" for 127.0.0.1 at 2013-04-02 10:01:33 +0100
51477
+ Processing by ActiveAdmin::Devise::SessionsController#create as HTML
51478
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "admin_user"=>{"email"=>"admin@warwickshire.gov.uk", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
51479
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."email" = 'admin@warwickshire.gov.uk' LIMIT 1
51480
+  (0.0ms) begin transaction
51481
+  (2.2ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-03-28 15:35:12.805805', "current_sign_in_at" = '2013-04-02 09:01:33.536474', "sign_in_count" = 6, "updated_at" = '2013-04-02 09:01:33.543479' WHERE "admin_users"."id" = 1
51482
+  (155.0ms) commit transaction
51483
+ Redirected to http://localhost:3000/admin
51484
+ Completed 302 Found in 702ms (ActiveRecord: 0.0ms)
51485
+
51486
+
51487
+ Started GET "/admin" for 127.0.0.1 at 2013-04-02 10:01:33 +0100
51488
+ Processing by Admin::DashboardController#index as HTML
51489
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51490
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/page/index.html.arb (132.9ms)
51491
+ Completed 200 OK in 168ms (Views: 154.8ms | ActiveRecord: 0.1ms)
51492
+
51493
+
51494
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:34 +0100
51495
+ Served asset /active_admin.css - 304 Not Modified (38ms)
51496
+
51497
+
51498
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:01:34 +0100
51499
+ Served asset /active_admin.js - 304 Not Modified (8ms)
51500
+
51501
+
51502
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:01:34 +0100
51503
+ Served asset /application.js - 304 Not Modified (15ms)
51504
+
51505
+
51506
+ Started GET "/assets/active_admin/nested_menu_arrow.gif" for 127.0.0.1 at 2013-04-02 10:01:34 +0100
51507
+ Served asset /active_admin/nested_menu_arrow.gif - 304 Not Modified (22ms)
51508
+
51509
+
51510
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:34 +0100
51511
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
51512
+
51513
+
51514
+ Started GET "/assets/active_admin/nested_menu_arrow_dark.gif" for 127.0.0.1 at 2013-04-02 10:01:41 +0100
51515
+ Served asset /active_admin/nested_menu_arrow_dark.gif - 304 Not Modified (56ms)
51516
+
51517
+
51518
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:01:42 +0100
51519
+ Processing by Admin::QwesterAnswersController#index as HTML
51520
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51521
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51522
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers"
51523
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51524
+ Qwester::Answer Load (0.4ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51525
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51526
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51527
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51528
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51529
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51530
+ CACHE (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51531
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51532
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51533
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51534
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions"
51535
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (880.5ms)
51536
+ Completed 200 OK in 982ms (Views: 919.3ms | ActiveRecord: 2.7ms)
51537
+
51538
+
51539
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:43 +0100
51540
+ Served asset /active_admin.css - 304 Not Modified (56ms)
51541
+
51542
+
51543
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:01:44 +0100
51544
+ Served asset /active_admin.js - 304 Not Modified (8ms)
51545
+
51546
+
51547
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:01:44 +0100
51548
+ Served asset /application.js - 304 Not Modified (127ms)
51549
+
51550
+
51551
+ Started GET "/assets/active_admin/nested_menu_arrow_dark.gif" for 127.0.0.1 at 2013-04-02 10:01:44 +0100
51552
+ Served asset /active_admin/nested_menu_arrow_dark.gif - 304 Not Modified (0ms)
51553
+
51554
+
51555
+ Started GET "/assets/active_admin/orderable.png" for 127.0.0.1 at 2013-04-02 10:01:44 +0100
51556
+ Served asset /active_admin/orderable.png - 304 Not Modified (35ms)
51557
+
51558
+
51559
+ Started GET "/assets/active_admin/datepicker/datepicker-input-icon.png" for 127.0.0.1 at 2013-04-02 10:01:44 +0100
51560
+ Served asset /active_admin/datepicker/datepicker-input-icon.png - 304 Not Modified (24ms)
51561
+
51562
+
51563
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:01:44 +0100
51564
+ Served asset /active_admin/print.css - 304 Not Modified (3ms)
51565
+
51566
+
51567
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:03:18 +0100
51568
+ Processing by Admin::QwesterAnswersController#index as HTML
51569
+ AdminUser Load (3.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51570
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51571
+  (0.6ms) SELECT COUNT(*) FROM "qwester_answers" 
51572
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51573
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51574
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51575
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51576
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51577
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51578
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51579
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51580
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51581
+ CACHE (0.9ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51582
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51583
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" 
51584
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (454.8ms)
51585
+ Completed 200 OK in 466ms (Views: 455.9ms | ActiveRecord: 6.4ms)
51586
+
51587
+
51588
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:03:18 +0100
51589
+ Served asset /active_admin.css - 304 Not Modified (32ms)
51590
+
51591
+
51592
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:03:18 +0100
51593
+ Served asset /application.js - 304 Not Modified (14ms)
51594
+
51595
+
51596
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:03:18 +0100
51597
+ Served asset /active_admin.js - 304 Not Modified (19ms)
51598
+
51599
+
51600
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:03:19 +0100
51601
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
51602
+ Connecting to database specified by database.yml
51603
+
51604
+
51605
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:03:38 +0100
51606
+ Processing by Admin::QwesterAnswersController#index as HTML
51607
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51608
+  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51609
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" 
51610
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51611
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51612
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51613
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51614
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51615
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51616
+ CACHE (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51617
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51618
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51619
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51620
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51621
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
51622
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (1375.8ms)
51623
+ Completed 200 OK in 1743ms (Views: 1492.0ms | ActiveRecord: 3.9ms)
51624
+
51625
+
51626
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:03:40 +0100
51627
+ Served asset /active_admin.css - 304 Not Modified (102ms)
51628
+
51629
+
51630
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:03:40 +0100
51631
+ Served asset /application.js - 304 Not Modified (91ms)
51632
+
51633
+
51634
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:03:40 +0100
51635
+ Served asset /active_admin.js - 304 Not Modified (60ms)
51636
+
51637
+
51638
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:03:40 +0100
51639
+ Served asset /active_admin/print.css - 304 Not Modified (7ms)
51640
+
51641
+
51642
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:03:59 +0100
51643
+ Processing by Admin::QwesterAnswersController#index as HTML
51644
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51645
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51646
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers"
51647
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51648
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51649
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51650
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51651
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51652
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51653
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51654
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51655
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51656
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51657
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51658
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
51659
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (474.8ms)
51660
+ Completed 200 OK in 595ms (Views: 476.4ms | ActiveRecord: 2.7ms)
51661
+
51662
+
51663
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:04:00 +0100
51664
+ Served asset /active_admin.css - 304 Not Modified (50ms)
51665
+
51666
+
51667
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:04:00 +0100
51668
+ Served asset /application.js - 304 Not Modified (12ms)
51669
+
51670
+
51671
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:04:00 +0100
51672
+ Served asset /active_admin.js - 304 Not Modified (6ms)
51673
+
51674
+
51675
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:04:01 +0100
51676
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
51677
+
51678
+
51679
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:04:31 +0100
51680
+ Processing by Admin::QwesterAnswersController#index as HTML
51681
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51682
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51683
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers" 
51684
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51685
+ Qwester::Answer Load (0.6ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51686
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51687
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51688
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51689
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51690
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51691
+ CACHE (1.7ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51692
+ Qwester::Question Load (0.4ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51693
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51694
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51695
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
51696
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (433.4ms)
51697
+ Completed 200 OK in 523ms (Views: 434.0ms | ActiveRecord: 4.9ms)
51698
+
51699
+
51700
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:04:32 +0100
51701
+ Served asset /active_admin.css - 304 Not Modified (38ms)
51702
+
51703
+
51704
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:04:32 +0100
51705
+ Served asset /application.js - 304 Not Modified (16ms)
51706
+
51707
+
51708
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:04:32 +0100
51709
+ Served asset /active_admin.js - 304 Not Modified (22ms)
51710
+
51711
+
51712
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:04:33 +0100
51713
+ Served asset /active_admin/print.css - 304 Not Modified (2ms)
51714
+ Connecting to database specified by database.yml
51715
+
51716
+
51717
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:05:59 +0100
51718
+ Processing by Admin::QwesterAnswersController#index as HTML
51719
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51720
+  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51721
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers" 
51722
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51723
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51724
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51725
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51726
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51727
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51728
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51729
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51730
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51731
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51732
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51733
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
51734
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (946.9ms)
51735
+ Completed 200 OK in 1151ms (Views: 1021.9ms | ActiveRecord: 6.4ms)
51736
+
51737
+
51738
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:06:00 +0100
51739
+ Served asset /active_admin.css - 304 Not Modified (169ms)
51740
+
51741
+
51742
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:06:00 +0100
51743
+ Served asset /application.js - 304 Not Modified (84ms)
51744
+
51745
+
51746
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:06:00 +0100
51747
+ Served asset /active_admin.js - 304 Not Modified (72ms)
51748
+
51749
+
51750
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:06:01 +0100
51751
+ Served asset /active_admin/print.css - 304 Not Modified (10ms)
51752
+
51753
+
51754
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:06:06 +0100
51755
+ Processing by Admin::QwesterAnswersController#index as HTML
51756
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51757
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51758
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers"
51759
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51760
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51761
+ Qwester::Question Load (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51762
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51763
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51764
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51765
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51766
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51767
+ Qwester::Question Load (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51768
+ CACHE (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51769
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51770
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
51771
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (522.4ms)
51772
+ Completed 200 OK in 540ms (Views: 535.7ms | ActiveRecord: 1.9ms)
51773
+
51774
+
51775
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:06:06 +0100
51776
+ Served asset /active_admin.css - 304 Not Modified (42ms)
51777
+
51778
+
51779
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:06:06 +0100
51780
+ Served asset /application.js - 304 Not Modified (18ms)
51781
+
51782
+
51783
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:06:06 +0100
51784
+ Served asset /active_admin.js - 304 Not Modified (40ms)
51785
+
51786
+
51787
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:06:07 +0100
51788
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
51789
+ Connecting to database specified by database.yml
51790
+
51791
+
51792
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:06:34 +0100
51793
+ Processing by Admin::QwesterAnswersController#index as HTML
51794
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51795
+  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51796
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" 
51797
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51798
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51799
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51800
+ CACHE (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51801
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51802
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51803
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51804
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51805
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51806
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51807
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51808
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
51809
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (949.9ms)
51810
+ Completed 200 OK in 1155ms (Views: 1027.0ms | ActiveRecord: 5.9ms)
51811
+
51812
+
51813
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:06:35 +0100
51814
+ Served asset /active_admin.css - 304 Not Modified (141ms)
51815
+
51816
+
51817
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:06:35 +0100
51818
+ Served asset /application.js - 304 Not Modified (77ms)
51819
+
51820
+
51821
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:06:36 +0100
51822
+ Served asset /active_admin.js - 304 Not Modified (68ms)
51823
+
51824
+
51825
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:06:36 +0100
51826
+ Served asset /active_admin/print.css - 304 Not Modified (12ms)
51827
+
51828
+
51829
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:07:05 +0100
51830
+ Processing by Admin::QwesterAnswersController#index as HTML
51831
+ AdminUser Load (0.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51832
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51833
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers"
51834
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
51835
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51836
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51837
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51838
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51839
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51840
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51841
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51842
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51843
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51844
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51845
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
51846
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (539.0ms)
51847
+ Completed 200 OK in 600ms (Views: 542.7ms | ActiveRecord: 3.0ms)
51848
+
51849
+
51850
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:07:07 +0100
51851
+ Served asset /active_admin.css - 304 Not Modified (30ms)
51852
+
51853
+
51854
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:07:07 +0100
51855
+ Served asset /application.js - 304 Not Modified (4ms)
51856
+
51857
+
51858
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:07:07 +0100
51859
+ Served asset /active_admin.js - 304 Not Modified (20ms)
51860
+
51861
+
51862
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:07:07 +0100
51863
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
51864
+
51865
+
51866
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:07:24 +0100
51867
+ Processing by Admin::QwesterAnswersController#index as HTML
51868
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51869
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51870
+  (0.7ms) SELECT COUNT(*) FROM "qwester_answers" 
51871
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51872
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51873
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51874
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51875
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51876
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51877
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51878
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51879
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51880
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51881
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51882
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
51883
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (426.9ms)
51884
+ Completed 200 OK in 522ms (Views: 428.3ms | ActiveRecord: 3.3ms)
51885
+
51886
+
51887
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:07:25 +0100
51888
+ Served asset /active_admin.css - 304 Not Modified (30ms)
51889
+
51890
+
51891
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:07:25 +0100
51892
+ Served asset /application.js - 304 Not Modified (34ms)
51893
+
51894
+
51895
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:07:25 +0100
51896
+ Served asset /active_admin.js - 304 Not Modified (19ms)
51897
+
51898
+
51899
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:07:25 +0100
51900
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
51901
+ Connecting to database specified by database.yml
51902
+
51903
+
51904
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:07:55 +0100
51905
+ Processing by Admin::QwesterAnswersController#index as HTML
51906
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51907
+  (0.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51908
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" 
51909
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
51910
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
51911
+ Qwester::Question Load (0.5ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51912
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51913
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
51914
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51915
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51916
+ CACHE (0.8ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
51917
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51918
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51919
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
51920
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
51921
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (948.9ms)
51922
+ Completed 200 OK in 1132ms (Views: 1015.5ms | ActiveRecord: 6.3ms)
51923
+
51924
+
51925
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:07:57 +0100
51926
+ Served asset /active_admin.css - 304 Not Modified (53ms)
51927
+
51928
+
51929
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:07:57 +0100
51930
+ Served asset /application.js - 304 Not Modified (177ms)
51931
+
51932
+
51933
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:07:57 +0100
51934
+ Served asset /active_admin.js - 304 Not Modified (62ms)
51935
+
51936
+
51937
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:07:57 +0100
51938
+ Served asset /active_admin/print.css - 304 Not Modified (10ms)
51939
+
51940
+
51941
+ Started GET "/admin/qwester_rule_sets" for 127.0.0.1 at 2013-04-02 10:08:47 +0100
51942
+ Processing by Admin::QwesterRuleSetsController#index as HTML
51943
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51944
+  (1.8ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_rule_sets" LIMIT 30 OFFSET 0) subquery_for_count 
51945
+  (0.2ms) SELECT COUNT(*) FROM "qwester_rule_sets"
51946
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_rule_sets" LIMIT 30 OFFSET 0) subquery_for_count 
51947
+ Qwester::RuleSet Load (0.3ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" ORDER BY "qwester_rule_sets"."id" desc LIMIT 30 OFFSET 0
51948
+  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "qwester_answers"."id") FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3
51949
+  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "qwester_answers"."id") FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 2
51950
+  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "qwester_answers"."id") FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 1
51951
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (530.9ms)
51952
+ Completed 200 OK in 541ms (Views: 532.0ms | ActiveRecord: 3.8ms)
51953
+
51954
+
51955
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:08:48 +0100
51956
+ Served asset /active_admin.css - 304 Not Modified (90ms)
51957
+
51958
+
51959
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:08:48 +0100
51960
+ Served asset /application.js - 304 Not Modified (15ms)
51961
+
51962
+
51963
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:08:48 +0100
51964
+ Served asset /active_admin.js - 304 Not Modified (19ms)
51965
+
51966
+
51967
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:08:48 +0100
51968
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
51969
+
51970
+
51971
+ Started GET "/admin/qwester_rule_sets/3/edit" for 127.0.0.1 at 2013-04-02 10:09:01 +0100
51972
+ Processing by Admin::QwesterRuleSetsController#edit as HTML
51973
+ Parameters: {"id"=>"3"}
51974
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51975
+ Qwester::RuleSet Load (0.3ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
51976
+ Qwester::Presentation Load (0.1ms) SELECT "qwester_presentations".* FROM "qwester_presentations"
51977
+  (0.2ms) SELECT COUNT(*) FROM "qwester_questions" INNER JOIN "qwester_answers" ON "qwester_questions"."id" = "qwester_answers"."question_id" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3
51978
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
51979
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" INNER JOIN "qwester_answers" ON "qwester_questions"."id" = "qwester_answers"."question_id" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3
51980
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
51981
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 1 LIMIT 1
51982
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 2 LIMIT 1
51983
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 3 LIMIT 1
51984
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 2 ORDER BY position
51985
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 4 LIMIT 1
51986
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 5 LIMIT 1
51987
+ Qwester::Answer Exists (4.8ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 6 LIMIT 1
51988
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
51989
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 7 LIMIT 1
51990
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 8 LIMIT 1
51991
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 9 LIMIT 1
51992
+ DEPRECATION WARNING: f.buttons is deprecated in favour of f.actions. (called from block (2 levels) in <module:Qwester> at /home/rob/web/qwester/lib/active_admin/admin/rule_sets.rb:140)
51993
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (506.9ms)
51994
+ Completed 200 OK in 533ms (Views: 516.8ms | ActiveRecord: 8.5ms)
51995
+
51996
+
51997
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:02 +0100
51998
+ Served asset /active_admin.css - 304 Not Modified (109ms)
51999
+
52000
+
52001
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:09:02 +0100
52002
+ Served asset /application.js - 304 Not Modified (23ms)
52003
+
52004
+
52005
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:09:02 +0100
52006
+ Served asset /active_admin.js - 304 Not Modified (10ms)
52007
+
52008
+
52009
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:02 +0100
52010
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52011
+
52012
+
52013
+ Started PUT "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-04-02 10:09:12 +0100
52014
+ Processing by Admin::QwesterRuleSetsController#update as HTML
52015
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "qwester_rule_set"=>{"title"=>"Show big foo", "description"=>"", "url"=>"", "link_text"=>"", "presentation"=>"", "rule"=>"a2 and sum(:score) >= 1"}, "commit"=>"Update Rule set", "id"=>"3"}
52016
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52017
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
52018
+  (0.1ms) begin transaction
52019
+  (0.1ms) rollback transaction
52020
+ Qwester::Presentation Load (0.3ms) SELECT "qwester_presentations".* FROM "qwester_presentations"
52021
+  (0.2ms) SELECT COUNT(*) FROM "qwester_questions" INNER JOIN "qwester_answers" ON "qwester_questions"."id" = "qwester_answers"."question_id" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3
52022
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
52023
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" INNER JOIN "qwester_answers" ON "qwester_questions"."id" = "qwester_answers"."question_id" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3
52024
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
52025
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 1 LIMIT 1
52026
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 2 LIMIT 1
52027
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 3 LIMIT 1
52028
+ Qwester::Answer Load (4.5ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 2 ORDER BY position
52029
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 4 LIMIT 1
52030
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 5 LIMIT 1
52031
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 6 LIMIT 1
52032
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
52033
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 7 LIMIT 1
52034
+ Qwester::Answer Exists (0.3ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 8 LIMIT 1
52035
+ Qwester::Answer Exists (0.1ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3 AND "qwester_answers"."id" = 9 LIMIT 1
52036
+ DEPRECATION WARNING: f.buttons is deprecated in favour of f.actions. (called from block (2 levels) in <module:Qwester> at /home/rob/web/qwester/lib/active_admin/admin/rule_sets.rb:140)
52037
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (280.0ms)
52038
+ Completed 200 OK in 303ms (Views: 276.5ms | ActiveRecord: 8.0ms)
52039
+
52040
+
52041
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:13 +0100
52042
+ Served asset /active_admin.css - 304 Not Modified (137ms)
52043
+
52044
+
52045
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:09:13 +0100
52046
+ Served asset /active_admin.js - 304 Not Modified (2ms)
52047
+
52048
+
52049
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:09:13 +0100
52050
+ Served asset /application.js - 304 Not Modified (16ms)
52051
+
52052
+
52053
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:13 +0100
52054
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52055
+
52056
+
52057
+ Started PUT "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-04-02 10:09:36 +0100
52058
+ Processing by Admin::QwesterRuleSetsController#update as HTML
52059
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "qwester_rule_set"=>{"title"=>"Show big foo", "description"=>"", "url"=>"http://google.co.uk", "link_text"=>"Go here", "presentation"=>"", "rule"=>"a2 and sum(:score) >= 1"}, "commit"=>"Update Rule set", "id"=>"3"}
52060
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52061
+ Qwester::RuleSet Load (0.1ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
52062
+  (0.1ms) begin transaction
52063
+ Qwester::Answer Load (5.4ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", 2]]
52064
+ Qwester::Answer Load (0.2ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3
52065
+  (3.1ms) UPDATE "qwester_rule_sets" SET "url" = 'http://google.co.uk', "link_text" = 'Go here', "presentation" = '', "rule" = 'a2 and sum(:score) >= 1', "updated_at" = '2013-04-02 09:09:36.677766' WHERE "qwester_rule_sets"."id" = 3
52066
+  (239.5ms) commit transaction
52067
+ Redirected to http://localhost:3000/admin/qwester_rule_sets/3
52068
+ Completed 302 Found in 328ms (ActiveRecord: 0.0ms)
52069
+
52070
+
52071
+ Started GET "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-04-02 10:09:37 +0100
52072
+ Processing by Admin::QwesterRuleSetsController#show as HTML
52073
+ Parameters: {"id"=>"3"}
52074
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52075
+ Qwester::RuleSet Load (0.3ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
52076
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (119.3ms)
52077
+ Completed 200 OK in 154ms (Views: 129.2ms | ActiveRecord: 0.6ms)
52078
+
52079
+
52080
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:37 +0100
52081
+ Served asset /active_admin.css - 304 Not Modified (42ms)
52082
+
52083
+
52084
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:09:37 +0100
52085
+ Served asset /application.js - 304 Not Modified (16ms)
52086
+
52087
+
52088
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:09:37 +0100
52089
+ Served asset /active_admin.js - 304 Not Modified (18ms)
52090
+
52091
+
52092
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:37 +0100
52093
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52094
+
52095
+
52096
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:09:44 +0100
52097
+ Processing by Admin::QwesterAnswersController#index as HTML
52098
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52099
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52100
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers" 
52101
+ CACHE (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52102
+ Qwester::Answer Load (0.5ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
52103
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52104
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52105
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52106
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52107
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52108
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52109
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52110
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52111
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52112
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
52113
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (631.4ms)
52114
+ Completed 200 OK in 638ms (Views: 632.6ms | ActiveRecord: 2.3ms)
52115
+
52116
+
52117
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:44 +0100
52118
+ Served asset /active_admin.css - 304 Not Modified (165ms)
52119
+
52120
+
52121
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:09:45 +0100
52122
+ Served asset /active_admin.js - 304 Not Modified (2ms)
52123
+
52124
+
52125
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:09:45 +0100
52126
+ Served asset /application.js - 304 Not Modified (18ms)
52127
+
52128
+
52129
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:09:45 +0100
52130
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52131
+
52132
+
52133
+ Started GET "/admin/qwester_questions/1/edit" for 127.0.0.1 at 2013-04-02 10:10:01 +0100
52134
+ Processing by Admin::QwesterQuestionsController#edit as HTML
52135
+ Parameters: {"id"=>"1"}
52136
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52137
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "1"]]
52138
+ Qwester::Answer Load (0.4ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
52139
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (200.1ms)
52140
+ Completed 500 Internal Server Error in 212ms
52141
+
52142
+ ActionView::Template::Error (undefined method `cope_index' for #<Qwester::Answer:0xa17c6a4>):
52143
+ 1: insert_tag renderer_for(:edit)
52144
+ activemodel (3.2.11) lib/active_model/attribute_methods.rb:407:in `method_missing'
52145
+ activerecord (3.2.11) lib/active_record/attribute_methods.rb:149:in `method_missing'
52146
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1161:in `value_before_type_cast'
52147
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1149:in `value_before_type_cast'
52148
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1043:in `block in to_input_field_tag'
52149
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1043:in `fetch'
52150
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1043:in `to_input_field_tag'
52151
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:692:in `text_field'
52152
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1284:in `text_field'
52153
+ formtastic (2.2.1) lib/formtastic/inputs/base/stringish.rb:10:in `block in to_html'
52154
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
52155
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
52156
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `capture'
52157
+ formtastic (2.2.1) lib/formtastic/inputs/base/wrapping.rb:11:in `input_wrapping'
52158
+ formtastic (2.2.1) lib/formtastic/inputs/base/stringish.rb:8:in `to_html'
52159
+ formtastic (2.2.1) lib/formtastic/helpers/input_helper.rb:240:in `input'
52160
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:22:in `block in input'
52161
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:167:in `with_new_form_buffer'
52162
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:22:in `input'
52163
+ /home/rob/web/qwester/lib/active_admin/admin/questions.rb:58:in `block (4 levels) in <module:Qwester>'
52164
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:59:in `call'
52165
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:59:in `block in has_many'
52166
+ formtastic (2.2.1) lib/formtastic/helpers/inputs_helper.rb:375:in `call'
52167
+ formtastic (2.2.1) lib/formtastic/helpers/inputs_helper.rb:375:in `block (2 levels) in inputs_for_nested_attributes'
52168
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
52169
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
52170
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `capture'
52171
+ formtastic (2.2.1) lib/formtastic/helpers/fieldset_wrapper.rb:32:in `field_set_and_list_wrapping'
52172
+ formtastic (2.2.1) lib/formtastic/helpers/inputs_helper.rb:292:in `inputs'
52173
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:14:in `block in inputs'
52174
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:167:in `with_new_form_buffer'
52175
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:14:in `inputs'
52176
+ formtastic (2.2.1) lib/formtastic/helpers/inputs_helper.rb:373:in `block in inputs_for_nested_attributes'
52177
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
52178
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
52179
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `capture'
52180
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:607:in `fields_for'
52181
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1467:in `fields_for_nested_model'
52182
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1453:in `block in fields_for_with_nested_attributes'
52183
+ activerecord (3.2.11) lib/active_record/associations/collection_proxy.rb:89:in `each'
52184
+ activerecord (3.2.11) lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
52185
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1452:in `fields_for_with_nested_attributes'
52186
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:1302:in `fields_for'
52187
+ formtastic (2.2.1) lib/formtastic/helpers/inputs_helper.rb:391:in `inputs_for_nested_attributes'
52188
+ formtastic (2.2.1) lib/formtastic/helpers/inputs_helper.rb:290:in `inputs'
52189
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:14:in `block in inputs'
52190
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:167:in `with_new_form_buffer'
52191
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:14:in `inputs'
52192
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:77:in `block (2 levels) in has_many'
52193
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
52194
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
52195
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `capture'
52196
+ actionpack (3.2.11) lib/action_view/helpers/tag_helper.rb:95:in `content_tag'
52197
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:75:in `block in has_many'
52198
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:167:in `with_new_form_buffer'
52199
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:74:in `has_many'
52200
+ /home/rob/web/qwester/lib/active_admin/admin/questions.rb:55:in `block (3 levels) in <module:Qwester>'
52201
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
52202
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
52203
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `capture'
52204
+ formtastic (2.2.1) lib/formtastic/helpers/fieldset_wrapper.rb:32:in `field_set_and_list_wrapping'
52205
+ formtastic (2.2.1) lib/formtastic/helpers/inputs_helper.rb:292:in `inputs'
52206
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:14:in `block in inputs'
52207
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:167:in `with_new_form_buffer'
52208
+ activeadmin (0.5.1) lib/active_admin/form_builder.rb:14:in `inputs'
52209
+ /home/rob/web/qwester/lib/active_admin/admin/questions.rb:54:in `block (2 levels) in <module:Qwester>'
52210
+ activeadmin (0.5.1) lib/active_admin/views/pages/form.rb:23:in `instance_exec'
52211
+ activeadmin (0.5.1) lib/active_admin/views/pages/form.rb:23:in `block in main_content'
52212
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
52213
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
52214
+ actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `capture'
52215
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:607:in `fields_for'
52216
+ actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:378:in `form_for'
52217
+ formtastic (2.2.1) lib/formtastic/helpers/form_helper.rb:161:in `block in semantic_form_for'
52218
+ formtastic (2.2.1) lib/formtastic/helpers/form_helper.rb:192:in `with_custom_field_error_proc'
52219
+ formtastic (2.2.1) lib/formtastic/helpers/form_helper.rb:160:in `semantic_form_for'
52220
+ activeadmin (0.5.1) lib/active_admin/view_helpers/form_helper.rb:8:in `active_admin_form_for'
52221
+ arbre (1.0.1) lib/arbre/element.rb:175:in `method_missing'
52222
+ activeadmin (0.5.1) lib/active_admin/views/pages/form.rb:22:in `main_content'
52223
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:78:in `block (2 levels) in build_main_content_wrapper'
52224
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
52225
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
52226
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
52227
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
52228
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
52229
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
52230
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:77:in `block in build_main_content_wrapper'
52231
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
52232
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
52233
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
52234
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
52235
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
52236
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
52237
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:76:in `build_main_content_wrapper'
52238
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:60:in `block in build_page_content'
52239
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
52240
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
52241
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
52242
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
52243
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
52244
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
52245
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:59:in `build_page_content'
52246
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:42:in `block (2 levels) in build_page'
52247
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
52248
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
52249
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
52250
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
52251
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
52252
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
52253
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:39:in `block in build_page'
52254
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
52255
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
52256
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:38:in `build_page'
52257
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:10:in `build'
52258
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
52259
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
52260
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
52261
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
52262
+ activeadmin (0.5.1) app/views/active_admin/resource/edit.html.arb:1:in `block in __home_rob__rvm_gems_ruby_______p____qwester_gems_activeadmin_______app_views_active_admin_resource_edit_html_arb___2082528_88078120'
52263
+ arbre (1.0.1) lib/arbre/context.rb:45:in `instance_eval'
52264
+ arbre (1.0.1) lib/arbre/context.rb:45:in `initialize'
52265
+ activeadmin (0.5.1) app/views/active_admin/resource/edit.html.arb:1:in `new'
52266
+ activeadmin (0.5.1) app/views/active_admin/resource/edit.html.arb:1:in `__home_rob__rvm_gems_ruby_______p____qwester_gems_activeadmin_______app_views_active_admin_resource_edit_html_arb___2082528_88078120'
52267
+ actionpack (3.2.11) lib/action_view/template.rb:145:in `block in render'
52268
+ activesupport (3.2.11) lib/active_support/notifications.rb:125:in `instrument'
52269
+ actionpack (3.2.11) lib/action_view/template.rb:143:in `render'
52270
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
52271
+ actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
52272
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
52273
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
52274
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
52275
+ actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
52276
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
52277
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
52278
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
52279
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:18:in `render'
52280
+ actionpack (3.2.11) lib/action_view/renderer/renderer.rb:36:in `render_template'
52281
+ actionpack (3.2.11) lib/action_view/renderer/renderer.rb:17:in `render'
52282
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:110:in `_render_template'
52283
+ actionpack (3.2.11) lib/action_controller/metal/streaming.rb:225:in `_render_template'
52284
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:103:in `render_to_body'
52285
+ actionpack (3.2.11) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
52286
+ actionpack (3.2.11) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
52287
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:88:in `render'
52288
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:16:in `render'
52289
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
52290
+ activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
52291
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
52292
+ activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `ms'
52293
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
52294
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
52295
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
52296
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:39:in `render'
52297
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:42:in `block (2 levels) in edit'
52298
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:230:in `call'
52299
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:230:in `default_render'
52300
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:160:in `to_html'
52301
+ responders (0.9.3) lib/responders/flash_responder.rb:104:in `to_html'
52302
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:153:in `respond'
52303
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:146:in `call'
52304
+ actionpack (3.2.11) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
52305
+ inherited_resources (1.3.1) lib/inherited_resources/actions.rb:25:in `edit'
52306
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:40:in `edit'
52307
+ actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
52308
+ actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
52309
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
52310
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
52311
+ activesupport (3.2.11) lib/active_support/callbacks.rb:447:in `_run__870253998__process_action__691461162__callbacks'
52312
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
52313
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
52314
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
52315
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
52316
+ actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
52317
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
52318
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
52319
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
52320
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
52321
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
52322
+ actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
52323
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
52324
+ actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
52325
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
52326
+ actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
52327
+ actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
52328
+ actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
52329
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
52330
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
52331
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
52332
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
52333
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
52334
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
52335
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
52336
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
52337
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
52338
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
52339
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
52340
+ rack (1.4.3) lib/rack/etag.rb:23:in `call'
52341
+ rack (1.4.3) lib/rack/conditionalget.rb:25:in `call'
52342
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
52343
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
52344
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
52345
+ rack (1.4.3) lib/rack/session/abstract/id.rb:210:in `context'
52346
+ rack (1.4.3) lib/rack/session/abstract/id.rb:205:in `call'
52347
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
52348
+ activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
52349
+ activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
52350
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
52351
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__480719126__call__578272348__callbacks'
52352
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
52353
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
52354
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
52355
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
52356
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
52357
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
52358
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
52359
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
52360
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
52361
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
52362
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
52363
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
52364
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
52365
+ rack (1.4.3) lib/rack/methodoverride.rb:21:in `call'
52366
+ rack (1.4.3) lib/rack/runtime.rb:17:in `call'
52367
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
52368
+ rack (1.4.3) lib/rack/lock.rb:15:in `call'
52369
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
52370
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
52371
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
52372
+ rack (1.4.3) lib/rack/content_length.rb:14:in `call'
52373
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
52374
+ rack (1.4.3) lib/rack/handler/webrick.rb:59:in `service'
52375
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
52376
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
52377
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
52378
+
52379
+
52380
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
52381
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
52382
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.5ms)
52383
+
52384
+
52385
+ Started GET "/admin/qwester_questions/1/edit" for 127.0.0.1 at 2013-04-02 10:11:48 +0100
52386
+ Processing by Admin::QwesterQuestionsController#edit as HTML
52387
+ Parameters: {"id"=>"1"}
52388
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52389
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "1"]]
52390
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
52391
+ DEPRECATION WARNING: f.buttons is deprecated in favour of f.actions. (called from block (2 levels) in <module:Qwester> at /home/rob/web/qwester/lib/active_admin/admin/questions.rb:62)
52392
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (391.4ms)
52393
+ Completed 200 OK in 440ms (Views: 395.2ms | ActiveRecord: 2.1ms)
52394
+
52395
+
52396
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:11:49 +0100
52397
+ Served asset /active_admin.css - 304 Not Modified (59ms)
52398
+
52399
+
52400
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:11:49 +0100
52401
+ Served asset /application.js - 304 Not Modified (25ms)
52402
+
52403
+
52404
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:11:49 +0100
52405
+ Served asset /active_admin.js - 304 Not Modified (16ms)
52406
+
52407
+
52408
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:11:49 +0100
52409
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52410
+
52411
+
52412
+ Started GET "/admin/qwester_questions/1/edit" for 127.0.0.1 at 2013-04-02 10:12:10 +0100
52413
+ Processing by Admin::QwesterQuestionsController#edit as HTML
52414
+ Parameters: {"id"=>"1"}
52415
+ AdminUser Load (3.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52416
+ Qwester::Question Load (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "1"]]
52417
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
52418
+ DEPRECATION WARNING: f.buttons is deprecated in favour of f.actions. (called from block (2 levels) in <module:Qwester> at /home/rob/web/qwester/lib/active_admin/admin/questions.rb:62)
52419
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (366.1ms)
52420
+ Completed 200 OK in 384ms (Views: 375.9ms | ActiveRecord: 4.0ms)
52421
+
52422
+
52423
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:10 +0100
52424
+ Served asset /active_admin.css - 304 Not Modified (91ms)
52425
+
52426
+
52427
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:12:11 +0100
52428
+ Served asset /application.js - 304 Not Modified (11ms)
52429
+
52430
+
52431
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:12:11 +0100
52432
+ Served asset /active_admin.js - 304 Not Modified (14ms)
52433
+
52434
+
52435
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:11 +0100
52436
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52437
+
52438
+
52439
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:12:27 +0100
52440
+ Processing by Admin::QwesterAnswersController#index as HTML
52441
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52442
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52443
+  (0.5ms) SELECT COUNT(*) FROM "qwester_answers" 
52444
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52445
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
52446
+ Qwester::Question Load (0.4ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52447
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52448
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52449
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52450
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52451
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52452
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52453
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52454
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52455
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
52456
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (425.3ms)
52457
+ Completed 200 OK in 455ms (Views: 439.1ms | ActiveRecord: 2.6ms)
52458
+
52459
+
52460
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:27 +0100
52461
+ Served asset /active_admin.css - 304 Not Modified (46ms)
52462
+
52463
+
52464
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:12:27 +0100
52465
+ Served asset /application.js - 304 Not Modified (11ms)
52466
+
52467
+
52468
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:12:27 +0100
52469
+ Served asset /active_admin.js - 304 Not Modified (12ms)
52470
+
52471
+
52472
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:28 +0100
52473
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52474
+ Connecting to database specified by database.yml
52475
+
52476
+
52477
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:12:46 +0100
52478
+ Processing by Admin::QwesterAnswersController#index as HTML
52479
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52480
+  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52481
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" 
52482
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52483
+ Qwester::Answer Load (0.4ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
52484
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52485
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52486
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52487
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52488
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52489
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52490
+ Qwester::Question Load (1.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52491
+ CACHE (1.6ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52492
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52493
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
52494
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (956.6ms)
52495
+ Completed 200 OK in 1167ms (Views: 1038.5ms | ActiveRecord: 6.4ms)
52496
+
52497
+
52498
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:48 +0100
52499
+ Served asset /active_admin.css - 304 Not Modified (122ms)
52500
+
52501
+
52502
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:12:48 +0100
52503
+ Served asset /application.js - 304 Not Modified (115ms)
52504
+
52505
+
52506
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:12:48 +0100
52507
+ Served asset /active_admin.js - 304 Not Modified (49ms)
52508
+
52509
+
52510
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:48 +0100
52511
+ Served asset /active_admin/print.css - 304 Not Modified (12ms)
52512
+
52513
+
52514
+ Started GET "/admin/qwester_questions/3/edit" for 127.0.0.1 at 2013-04-02 10:12:53 +0100
52515
+ Processing by Admin::QwesterQuestionsController#edit as HTML
52516
+ Parameters: {"id"=>"3"}
52517
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52518
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
52519
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
52520
+ DEPRECATION WARNING: f.buttons is deprecated in favour of f.actions. (called from block (2 levels) in <module:Qwester> at /home/rob/web/qwester/lib/active_admin/admin/questions.rb:62)
52521
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (547.0ms)
52522
+ Completed 200 OK in 560ms (Views: 552.4ms | ActiveRecord: 0.8ms)
52523
+
52524
+
52525
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:54 +0100
52526
+ Served asset /active_admin.css - 304 Not Modified (33ms)
52527
+
52528
+
52529
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:12:54 +0100
52530
+ Served asset /application.js - 304 Not Modified (20ms)
52531
+
52532
+
52533
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:12:54 +0100
52534
+ Served asset /active_admin.js - 304 Not Modified (2ms)
52535
+
52536
+
52537
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:12:54 +0100
52538
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52539
+
52540
+
52541
+ Started PUT "/admin/qwester_questions/3" for 127.0.0.1 at 2013-04-02 10:13:04 +0100
52542
+ Processing by Admin::QwesterQuestionsController#update as HTML
52543
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "qwester_question"=>{"ref"=>"", "title"=>"Do you like qwester?", "description"=>"", "multi_answer"=>"0", "answers_attributes"=>{"0"=>{"value"=>"Yes", "position"=>"1", "weighting"=>"2", "id"=>"7"}, "1"=>{"value"=>"No", "position"=>"2", "weighting"=>"0.0", "id"=>"8"}, "2"=>{"value"=>"Not applicable", "position"=>"4", "weighting"=>"0.0", "id"=>"9"}}}, "commit"=>"Update Question", "id"=>"3"}
52544
+ AdminUser Load (0.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52545
+ Qwester::Question Load (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
52546
+ Qwester::Answer Load (0.4ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 AND "qwester_answers"."id" IN (7, 8, 9) ORDER BY position
52547
+ Completed 500 Internal Server Error in 9ms
52548
+
52549
+ ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: weighting):
52550
+ activemodel (3.2.11) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
52551
+ activemodel (3.2.11) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
52552
+ activemodel (3.2.11) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
52553
+ activemodel (3.2.11) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
52554
+ activerecord (3.2.11) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
52555
+ activerecord (3.2.11) lib/active_record/nested_attributes.rb:435:in `assign_to_or_mark_for_destruction'
52556
+ activerecord (3.2.11) lib/active_record/nested_attributes.rb:422:in `block in assign_nested_attributes_for_collection_association'
52557
+ activerecord (3.2.11) lib/active_record/nested_attributes.rb:400:in `each'
52558
+ activerecord (3.2.11) lib/active_record/nested_attributes.rb:400:in `assign_nested_attributes_for_collection_association'
52559
+ activerecord (3.2.11) lib/active_record/nested_attributes.rb:288:in `answers_attributes='
52560
+ activerecord (3.2.11) lib/active_record/attribute_assignment.rb:94:in `block in assign_attributes'
52561
+ activerecord (3.2.11) lib/active_record/attribute_assignment.rb:93:in `each'
52562
+ activerecord (3.2.11) lib/active_record/attribute_assignment.rb:93:in `assign_attributes'
52563
+ activeadmin (0.5.1) lib/active_admin/resource_controller/callbacks.rb:38:in `update_resource'
52564
+ inherited_resources (1.3.1) lib/inherited_resources/actions.rb:45:in `update'
52565
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:56:in `update'
52566
+ actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
52567
+ actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
52568
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
52569
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
52570
+ activesupport (3.2.11) lib/active_support/callbacks.rb:447:in `_run__717659564__process_action__176511877__callbacks'
52571
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
52572
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
52573
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
52574
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
52575
+ actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
52576
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
52577
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
52578
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
52579
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
52580
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
52581
+ actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
52582
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
52583
+ actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
52584
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
52585
+ actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
52586
+ actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
52587
+ actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
52588
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
52589
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
52590
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
52591
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
52592
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
52593
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
52594
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
52595
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
52596
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
52597
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
52598
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
52599
+ rack (1.4.3) lib/rack/etag.rb:23:in `call'
52600
+ rack (1.4.3) lib/rack/conditionalget.rb:35:in `call'
52601
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
52602
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
52603
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
52604
+ rack (1.4.3) lib/rack/session/abstract/id.rb:210:in `context'
52605
+ rack (1.4.3) lib/rack/session/abstract/id.rb:205:in `call'
52606
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
52607
+ activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
52608
+ activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
52609
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
52610
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__379856189__call__1064699242__callbacks'
52611
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
52612
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
52613
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
52614
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
52615
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
52616
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
52617
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
52618
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
52619
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
52620
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
52621
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
52622
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
52623
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
52624
+ rack (1.4.3) lib/rack/methodoverride.rb:21:in `call'
52625
+ rack (1.4.3) lib/rack/runtime.rb:17:in `call'
52626
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
52627
+ rack (1.4.3) lib/rack/lock.rb:15:in `call'
52628
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
52629
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
52630
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
52631
+ rack (1.4.3) lib/rack/content_length.rb:14:in `call'
52632
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
52633
+ rack (1.4.3) lib/rack/handler/webrick.rb:59:in `service'
52634
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
52635
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
52636
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
52637
+
52638
+
52639
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
52640
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.3ms)
52641
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.3ms)
52642
+
52643
+
52644
+ Started PUT "/admin/qwester_questions/3" for 127.0.0.1 at 2013-04-02 10:14:19 +0100
52645
+ Processing by Admin::QwesterQuestionsController#update as HTML
52646
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "qwester_question"=>{"ref"=>"", "title"=>"Do you like qwester?", "description"=>"", "multi_answer"=>"0", "answers_attributes"=>{"0"=>{"value"=>"Yes", "position"=>"1", "weighting"=>"2", "id"=>"7"}, "1"=>{"value"=>"No", "position"=>"2", "weighting"=>"0.0", "id"=>"8"}, "2"=>{"value"=>"Not applicable", "position"=>"4", "weighting"=>"0.0", "id"=>"9"}}}, "commit"=>"Update Question", "id"=>"3"}
52647
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52648
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
52649
+ Qwester::Answer Load (2.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 AND "qwester_answers"."id" IN (7, 8, 9) ORDER BY position
52650
+  (0.1ms) begin transaction
52651
+  (6.3ms) UPDATE "qwester_questions" SET "ref" = '', "description" = '', "multi_answer" = 'f', "updated_at" = '2013-04-02 09:14:20.372081' WHERE "qwester_questions"."id" = 3
52652
+  (0.2ms) UPDATE "qwester_answers" SET "weighting" = 2.0, "updated_at" = '2013-04-02 09:14:20.476126' WHERE "qwester_answers"."id" = 7
52653
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3 AND position = 1)
52654
+  (0.4ms) UPDATE "qwester_answers" SET "weighting" = 0.0, "updated_at" = '2013-04-02 09:14:20.492212' WHERE "qwester_answers"."id" = 8
52655
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3 AND position = 2)
52656
+  (0.1ms) UPDATE "qwester_answers" SET "position" = 4, "weighting" = 0.0, "updated_at" = '2013-04-02 09:14:20.494761' WHERE "qwester_answers"."id" = 9
52657
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3 AND position = 4)
52658
+  (175.9ms) commit transaction
52659
+ Redirected to http://localhost:3000/admin/qwester_questions/3
52660
+ Completed 302 Found in 648ms (ActiveRecord: 0.0ms)
52661
+
52662
+
52663
+ Started GET "/admin/qwester_questions/3" for 127.0.0.1 at 2013-04-02 10:14:20 +0100
52664
+ Processing by Admin::QwesterQuestionsController#show as HTML
52665
+ Parameters: {"id"=>"3"}
52666
+ AdminUser Load (3.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52667
+ Qwester::Question Load (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
52668
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
52669
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3) ORDER BY qwester_answers.position DESC LIMIT 1
52670
+ CACHE (0.0ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3) ORDER BY qwester_answers.position DESC LIMIT 1
52671
+ CACHE (0.0ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3) ORDER BY qwester_answers.position DESC LIMIT 1
52672
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (167.9ms)
52673
+ Completed 200 OK in 181ms (Views: 170.5ms | ActiveRecord: 4.1ms)
52674
+
52675
+
52676
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:21 +0100
52677
+ Served asset /active_admin.css - 304 Not Modified (211ms)
52678
+
52679
+
52680
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:14:21 +0100
52681
+ Served asset /application.js - 304 Not Modified (18ms)
52682
+
52683
+
52684
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:14:21 +0100
52685
+ Served asset /active_admin.js - 304 Not Modified (15ms)
52686
+
52687
+
52688
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:21 +0100
52689
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52690
+
52691
+
52692
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:14:29 +0100
52693
+ Processing by Admin::QwesterAnswersController#index as HTML
52694
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52695
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
52696
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers"
52697
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
52698
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
52699
+ Qwester::Question Load (1.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52700
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52701
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52702
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52703
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52704
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52705
+ Qwester::Question Load (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52706
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52707
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52708
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
52709
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (388.5ms)
52710
+ Completed 200 OK in 404ms (Views: 391.2ms | ActiveRecord: 2.9ms)
52711
+
52712
+
52713
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:29 +0100
52714
+ Served asset /active_admin.css - 304 Not Modified (49ms)
52715
+
52716
+
52717
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:14:29 +0100
52718
+ Served asset /active_admin.js - 304 Not Modified (9ms)
52719
+
52720
+
52721
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:14:29 +0100
52722
+ Served asset /application.js - 304 Not Modified (19ms)
52723
+
52724
+
52725
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:30 +0100
52726
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52727
+
52728
+
52729
+ Started GET "/admin/qwester_questions/3/edit" for 127.0.0.1 at 2013-04-02 10:14:41 +0100
52730
+ Processing by Admin::QwesterQuestionsController#edit as HTML
52731
+ Parameters: {"id"=>"3"}
52732
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52733
+ Qwester::Question Load (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
52734
+ Qwester::Answer Load (0.4ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
52735
+ DEPRECATION WARNING: f.buttons is deprecated in favour of f.actions. (called from block (2 levels) in <module:Qwester> at /home/rob/web/qwester/lib/active_admin/admin/questions.rb:62)
52736
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (314.2ms)
52737
+ Completed 200 OK in 323ms (Views: 317.0ms | ActiveRecord: 0.7ms)
52738
+
52739
+
52740
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:41 +0100
52741
+ Served asset /active_admin.css - 304 Not Modified (152ms)
52742
+
52743
+
52744
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:14:41 +0100
52745
+ Served asset /application.js - 304 Not Modified (12ms)
52746
+
52747
+
52748
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:14:41 +0100
52749
+ Served asset /active_admin.js - 304 Not Modified (11ms)
52750
+
52751
+
52752
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:42 +0100
52753
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
52754
+
52755
+
52756
+ Started PUT "/admin/qwester_questions/3" for 127.0.0.1 at 2013-04-02 10:14:58 +0100
52757
+ Processing by Admin::QwesterQuestionsController#update as HTML
52758
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "qwester_question"=>{"ref"=>"", "title"=>"Do you like qwester?", "description"=>"", "multi_answer"=>"0", "answers_attributes"=>{"0"=>{"value"=>"Yes", "position"=>"1", "weighting"=>"2.0", "id"=>"7"}, "1"=>{"value"=>"No", "position"=>"2", "weighting"=>"0.0", "id"=>"8"}, "2"=>{"value"=>"Not applicable", "position"=>"3", "weighting"=>"4", "id"=>"9"}}}, "commit"=>"Update Question", "id"=>"3"}
52759
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52760
+ Qwester::Question Load (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
52761
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 AND "qwester_answers"."id" IN (7, 8, 9) ORDER BY position
52762
+  (0.1ms) begin transaction
52763
+  (0.4ms) UPDATE "qwester_answers" SET "weighting" = 0.0, "updated_at" = '2013-04-02 09:14:58.251365' WHERE "qwester_answers"."id" = 8
52764
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3 AND position = 2)
52765
+  (0.3ms) UPDATE "qwester_answers" SET "position" = 3, "weighting" = 4.0, "updated_at" = '2013-04-02 09:14:58.253463' WHERE "qwester_answers"."id" = 9
52766
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3 AND position = 3)
52767
+  (198.1ms) commit transaction
52768
+ Redirected to http://localhost:3000/admin/qwester_questions/3
52769
+ Completed 302 Found in 246ms (ActiveRecord: 0.0ms)
52770
+
52771
+
52772
+ Started GET "/admin/qwester_questions/3" for 127.0.0.1 at 2013-04-02 10:14:58 +0100
52773
+ Processing by Admin::QwesterQuestionsController#show as HTML
52774
+ Parameters: {"id"=>"3"}
52775
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52776
+ Qwester::Question Load (0.1ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
52777
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
52778
+ Qwester::Answer Load (3.1ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3) ORDER BY qwester_answers.position DESC LIMIT 1
52779
+ CACHE (0.0ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3) ORDER BY qwester_answers.position DESC LIMIT 1
52780
+ CACHE (0.0ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE ("qwester_answers"."question_id" = 3) ORDER BY qwester_answers.position DESC LIMIT 1
52781
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (136.3ms)
52782
+ Completed 200 OK in 143ms (Views: 137.0ms | ActiveRecord: 3.8ms)
52783
+
52784
+
52785
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:58 +0100
52786
+ Served asset /active_admin.css - 304 Not Modified (67ms)
52787
+
52788
+
52789
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:14:58 +0100
52790
+ Served asset /active_admin.js - 304 Not Modified (17ms)
52791
+
52792
+
52793
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:14:58 +0100
52794
+ Served asset /application.js - 304 Not Modified (10ms)
52795
+
52796
+
52797
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:14:59 +0100
52798
+ Served asset /active_admin/print.css - 304 Not Modified (9ms)
52799
+
52800
+
52801
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 10:15:06 +0100
52802
+ Processing by Admin::QwesterAnswersController#index as HTML
52803
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
52804
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52805
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers" 
52806
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
52807
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
52808
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52809
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52810
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
52811
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52812
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52813
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
52814
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52815
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52816
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
52817
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
52818
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (386.1ms)
52819
+ Completed 200 OK in 392ms (Views: 387.2ms | ActiveRecord: 2.1ms)
52820
+
52821
+
52822
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:06 +0100
52823
+ Served asset /active_admin.css - 304 Not Modified (60ms)
52824
+
52825
+
52826
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:15:06 +0100
52827
+ Served asset /active_admin.js - 304 Not Modified (13ms)
52828
+
52829
+
52830
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:15:06 +0100
52831
+ Served asset /application.js - 304 Not Modified (24ms)
52832
+
52833
+
52834
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:06 +0100
52835
+ Served asset /active_admin/print.css - 304 Not Modified (49ms)
52836
+
52837
+
52838
+ Started GET "/" for 127.0.0.1 at 2013-04-02 10:15:37 +0100
52839
+ Processing by Qwester::QuestionnairesController#index as HTML
52840
+ Qwester::Presentation Load (0.2ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
52841
+ Qwester::Questionnaire Load (2.4ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" 
52842
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (7.5ms)
52843
+ Completed 200 OK in 294ms (Views: 252.3ms | ActiveRecord: 2.8ms)
52844
+
52845
+
52846
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52847
+ Served asset /application.css - 304 Not Modified (95ms)
52848
+
52849
+
52850
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52851
+ Served asset /active_admin.css - 304 Not Modified (186ms)
52852
+
52853
+
52854
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52855
+ Served asset /questionnaires.css - 304 Not Modified (7ms)
52856
+
52857
+
52858
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52859
+ Served asset /jquery.js - 304 Not Modified (42ms)
52860
+
52861
+
52862
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52863
+ Served asset /jquery_ujs.js - 304 Not Modified (10ms)
52864
+
52865
+
52866
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52867
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (14ms)
52868
+
52869
+
52870
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52871
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (11ms)
52872
+
52873
+
52874
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52875
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (10ms)
52876
+
52877
+
52878
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52879
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (19ms)
52880
+
52881
+
52882
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52883
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (19ms)
52884
+
52885
+
52886
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52887
+ Served asset /active_admin/pages/application.js - 304 Not Modified (2ms)
52888
+
52889
+
52890
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52891
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (35ms)
52892
+
52893
+
52894
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52895
+ Served asset /active_admin/application.js - 304 Not Modified (49ms)
52896
+
52897
+
52898
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:38 +0100
52899
+ Served asset /active_admin.js - 304 Not Modified (39ms)
52900
+
52901
+
52902
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:39 +0100
52903
+ Served asset /application.js - 304 Not Modified (79ms)
52904
+
52905
+
52906
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:39 +0100
52907
+ Served asset /questionnaires.js - 304 Not Modified (1ms)
52908
+
52909
+
52910
+ Started GET "/questionnires/questionnaires/1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52911
+ Processing by Qwester::QuestionnairesController#show as HTML
52912
+ Parameters: {"id"=>"1"}
52913
+ Qwester::Questionnaire Load (0.3ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" WHERE "qwester_questionnaires"."id" = ? LIMIT 1 [["id", "1"]]
52914
+ Qwester::Answer Load (0.3ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_questions" ON "qwester_answers"."question_id" = "qwester_questions"."id" INNER JOIN "qwester_questionnaires_questions" ON "qwester_questions"."id" = "qwester_questionnaires_questions"."question_id" WHERE "qwester_questionnaires_questions"."questionnaire_id" = 1
52915
+ Qwester::Question Load (0.3ms) SELECT DISTINCT "qwester_questions".* FROM "qwester_questions" INNER JOIN "qwester_questionnaires_questions" ON "qwester_questions"."id" = "qwester_questionnaires_questions"."question_id" WHERE "qwester_questionnaires_questions"."questionnaire_id" = 1 ORDER BY position
52916
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
52917
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 2 ORDER BY position
52918
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/show.html.erb within layouts/application (94.7ms)
52919
+ Completed 200 OK in 237ms (Views: 233.4ms | ActiveRecord: 1.8ms)
52920
+
52921
+
52922
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52923
+ Served asset /application.css - 304 Not Modified (41ms)
52924
+
52925
+
52926
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52927
+ Served asset /active_admin.css - 304 Not Modified (205ms)
52928
+
52929
+
52930
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52931
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (0ms)
52932
+
52933
+
52934
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52935
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (0ms)
52936
+
52937
+
52938
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52939
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
52940
+
52941
+
52942
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52943
+ Served asset /jquery.js - 304 Not Modified (12ms)
52944
+
52945
+
52946
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52947
+ Served asset /questionnaires.css - 304 Not Modified (10ms)
52948
+
52949
+
52950
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52951
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (0ms)
52952
+
52953
+
52954
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52955
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (30ms)
52956
+
52957
+
52958
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52959
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (7ms)
52960
+
52961
+
52962
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52963
+ Served asset /active_admin/pages/application.js - 304 Not Modified (0ms)
52964
+
52965
+
52966
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52967
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (0ms)
52968
+
52969
+
52970
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:41 +0100
52971
+ Served asset /active_admin/application.js - 304 Not Modified (24ms)
52972
+
52973
+
52974
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:42 +0100
52975
+ Served asset /active_admin.js - 304 Not Modified (7ms)
52976
+
52977
+
52978
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:42 +0100
52979
+ Served asset /questionnaires.js - 304 Not Modified (9ms)
52980
+
52981
+
52982
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:15:42 +0100
52983
+ Served asset /application.js - 304 Not Modified (13ms)
52984
+
52985
+
52986
+ Started PUT "/questionnires/questionnaires/1" for 127.0.0.1 at 2013-04-02 10:15:45 +0100
52987
+ Processing by Qwester::QuestionnairesController#update as HTML
52988
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "question_id"=>{"1"=>{"answer_ids"=>["2"]}}, "commit"=>"Submit", "id"=>"1"}
52989
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" WHERE "qwester_questionnaires"."id" = ? LIMIT 1 [["id", "1"]]
52990
+  (0.1ms) begin transaction
52991
+ Qwester::AnswerStore Load (0.2ms) SELECT session_id FROM "qwester_answer_stores" 
52992
+ SQL (4.4ms) INSERT INTO "qwester_answer_stores" ("created_at", "preserved", "session_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 02 Apr 2013 09:15:45 UTC +00:00], ["preserved", nil], ["session_id", "bbU6P8SjWEr63dC"], ["updated_at", Tue, 02 Apr 2013 09:15:45 UTC +00:00]]
52993
+  (109.3ms) commit transaction
52994
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", "2"]]
52995
+ Qwester::Answer Load (0.2ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
52996
+  (0.0ms) begin transaction
52997
+  (1.0ms) INSERT INTO "qwester_answer_stores_answers" ("answer_store_id", "answer_id") VALUES (3, 2)
52998
+  (105.4ms) commit transaction
52999
+  (0.1ms) begin transaction
53000
+  (0.2ms) INSERT INTO "qwester_answer_stores_questionnaires" ("answer_store_id", "questionnaire_id") VALUES (3, 1)
53001
+  (145.9ms) commit transaction
53002
+ Redirected to http://localhost:3000/questionnires/questionnaires
53003
+ Completed 302 Found in 463ms (ActiveRecord: 368.2ms)
53004
+
53005
+
53006
+ Started GET "/questionnires/questionnaires" for 127.0.0.1 at 2013-04-02 10:15:45 +0100
53007
+ Processing by Qwester::QuestionnairesController#index as HTML
53008
+ Qwester::AnswerStore Load (0.2ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53009
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" 
53010
+ Qwester::Answer Load (0.3ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53011
+ Completed 500 Internal Server Error in 52ms
53012
+
53013
+ NoMethodError (undefined method `score' for #<Qwester::Answer:0xb389c868>):
53014
+ activemodel (3.2.11) lib/active_model/attribute_methods.rb:407:in `method_missing'
53015
+ activerecord (3.2.11) lib/active_record/attribute_methods.rb:149:in `method_missing'
53016
+ activerecord (3.2.11) lib/active_record/associations/collection_proxy.rb:89:in `collect'
53017
+ activerecord (3.2.11) lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
53018
+ array_logic (0.2.4) lib/array_logic/rule.rb:144:in `block in build_logic_from_function_statement'
53019
+ array_logic (0.2.4) lib/array_logic/rule.rb:101:in `call'
53020
+ array_logic (0.2.4) lib/array_logic/rule.rb:101:in `block in replace_item'
53021
+ array_logic (0.2.4) lib/array_logic/rule.rb:101:in `gsub'
53022
+ array_logic (0.2.4) lib/array_logic/rule.rb:101:in `replace_item'
53023
+ array_logic (0.2.4) lib/array_logic/rule.rb:94:in `rule_processing_steps'
53024
+ array_logic (0.2.4) lib/array_logic/rule.rb:87:in `expression'
53025
+ array_logic (0.2.4) lib/array_logic/rule.rb:56:in `logic'
53026
+ array_logic (0.2.4) lib/array_logic/rule.rb:64:in `match_ids'
53027
+ array_logic (0.2.4) lib/array_logic/rule.rb:21:in `match'
53028
+ /home/rob/web/qwester/app/models/qwester/rule_set.rb:36:in `match'
53029
+ /home/rob/web/qwester/app/models/qwester/rule_set.rb:30:in `block in matching'
53030
+ /home/rob/web/qwester/app/models/qwester/rule_set.rb:30:in `select'
53031
+ /home/rob/web/qwester/app/models/qwester/rule_set.rb:30:in `matching'
53032
+ /home/rob/web/qwester/lib/rails/actionpack/lib/action_controller/base.rb:38:in `match_rule_sets'
53033
+ /home/rob/web/qwester/lib/rails/actionpack/lib/action_controller/base.rb:46:in `current_questionnaires'
53034
+ /home/rob/web/qwester/app/controllers/qwester/questionnaires_controller.rb:5:in `index'
53035
+ actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
53036
+ actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
53037
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
53038
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
53039
+ activesupport (3.2.11) lib/active_support/callbacks.rb:414:in `_run__753261616__process_action__482683278__callbacks'
53040
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
53041
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
53042
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
53043
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
53044
+ actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
53045
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
53046
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
53047
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
53048
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
53049
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
53050
+ actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
53051
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
53052
+ actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
53053
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
53054
+ actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
53055
+ actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
53056
+ actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
53057
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
53058
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
53059
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
53060
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
53061
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
53062
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
53063
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
53064
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
53065
+ railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
53066
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
53067
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
53068
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
53069
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
53070
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
53071
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
53072
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
53073
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
53074
+ rack (1.4.3) lib/rack/etag.rb:23:in `call'
53075
+ rack (1.4.3) lib/rack/conditionalget.rb:25:in `call'
53076
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
53077
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
53078
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
53079
+ rack (1.4.3) lib/rack/session/abstract/id.rb:210:in `context'
53080
+ rack (1.4.3) lib/rack/session/abstract/id.rb:205:in `call'
53081
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
53082
+ activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
53083
+ activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
53084
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
53085
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__379856189__call__1064699242__callbacks'
53086
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
53087
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
53088
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
53089
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
53090
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
53091
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
53092
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
53093
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
53094
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
53095
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
53096
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
53097
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
53098
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
53099
+ rack (1.4.3) lib/rack/methodoverride.rb:21:in `call'
53100
+ rack (1.4.3) lib/rack/runtime.rb:17:in `call'
53101
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
53102
+ rack (1.4.3) lib/rack/lock.rb:15:in `call'
53103
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
53104
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
53105
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
53106
+ rack (1.4.3) lib/rack/content_length.rb:14:in `call'
53107
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
53108
+ rack (1.4.3) lib/rack/handler/webrick.rb:59:in `service'
53109
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
53110
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
53111
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
53112
+
53113
+
53114
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
53115
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
53116
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.9ms)
53117
+ Connecting to database specified by database.yml
53118
+
53119
+
53120
+ Started GET "/questionnires/questionnaires" for 127.0.0.1 at 2013-04-02 10:16:08 +0100
53121
+ Processing by Qwester::QuestionnairesController#index as HTML
53122
+ Qwester::AnswerStore Load (0.3ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53123
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets"
53124
+ Qwester::Answer Load (9.4ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53125
+ Qwester::Presentation Load (0.3ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
53126
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" 
53127
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (17.0ms)
53128
+ Completed 200 OK in 1121ms (Views: 471.4ms | ActiveRecord: 21.6ms)
53129
+
53130
+
53131
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53132
+ Served asset /application.css - 304 Not Modified (175ms)
53133
+
53134
+
53135
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53136
+ Served asset /active_admin.css - 304 Not Modified (57ms)
53137
+
53138
+
53139
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53140
+ Served asset /questionnaires.css - 304 Not Modified (10ms)
53141
+
53142
+
53143
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53144
+ Served asset /jquery.js - 304 Not Modified (72ms)
53145
+
53146
+
53147
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53148
+ Served asset /jquery_ujs.js - 304 Not Modified (11ms)
53149
+
53150
+
53151
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53152
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (13ms)
53153
+
53154
+
53155
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53156
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (105ms)
53157
+
53158
+
53159
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53160
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (25ms)
53161
+
53162
+
53163
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53164
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (14ms)
53165
+
53166
+
53167
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53168
+ Served asset /active_admin/pages/application.js - 304 Not Modified (2ms)
53169
+
53170
+
53171
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53172
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (16ms)
53173
+
53174
+
53175
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53176
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (10ms)
53177
+
53178
+
53179
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53180
+ Served asset /active_admin/application.js - 304 Not Modified (53ms)
53181
+
53182
+
53183
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:10 +0100
53184
+ Served asset /active_admin.js - 304 Not Modified (70ms)
53185
+
53186
+
53187
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:11 +0100
53188
+ Served asset /questionnaires.js - 304 Not Modified (7ms)
53189
+
53190
+
53191
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:11 +0100
53192
+ Served asset /application.js - 304 Not Modified (86ms)
53193
+
53194
+
53195
+ Started GET "/questionnires/questionnaires/2" for 127.0.0.1 at 2013-04-02 10:16:14 +0100
53196
+ Processing by Qwester::QuestionnairesController#show as HTML
53197
+ Parameters: {"id"=>"2"}
53198
+ Qwester::Questionnaire Load (0.3ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" WHERE "qwester_questionnaires"."id" = ? LIMIT 1 [["id", "2"]]
53199
+ Qwester::Answer Load (0.3ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_questions" ON "qwester_answers"."question_id" = "qwester_questions"."id" INNER JOIN "qwester_questionnaires_questions" ON "qwester_questions"."id" = "qwester_questionnaires_questions"."question_id" WHERE "qwester_questionnaires_questions"."questionnaire_id" = 2
53200
+ Qwester::Question Load (0.3ms) SELECT DISTINCT "qwester_questions".* FROM "qwester_questions" INNER JOIN "qwester_questionnaires_questions" ON "qwester_questions"."id" = "qwester_questionnaires_questions"."question_id" WHERE "qwester_questionnaires_questions"."questionnaire_id" = 2 ORDER BY position
53201
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
53202
+ Qwester::AnswerStore Load (0.2ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53203
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3 AND "qwester_answers"."id" = 7 LIMIT 1
53204
+ CACHE (0.3ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53205
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3 AND "qwester_answers"."id" = 8 LIMIT 1
53206
+ CACHE (0.0ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53207
+ Qwester::Answer Exists (0.2ms) SELECT DISTINCT 1 AS one FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3 AND "qwester_answers"."id" = 9 LIMIT 1
53208
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/show.html.erb within layouts/application (119.2ms)
53209
+ Completed 200 OK in 246ms (Views: 241.1ms | ActiveRecord: 2.9ms)
53210
+
53211
+
53212
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53213
+ Served asset /application.css - 304 Not Modified (46ms)
53214
+
53215
+
53216
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53217
+ Served asset /active_admin.css - 304 Not Modified (107ms)
53218
+
53219
+
53220
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53221
+ Served asset /questionnaires.css - 304 Not Modified (0ms)
53222
+
53223
+
53224
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53225
+ Served asset /jquery.js - 304 Not Modified (14ms)
53226
+
53227
+
53228
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53229
+ Served asset /jquery_ujs.js - 304 Not Modified (9ms)
53230
+
53231
+
53232
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53233
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (0ms)
53234
+
53235
+
53236
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53237
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (0ms)
53238
+
53239
+
53240
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53241
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (8ms)
53242
+
53243
+
53244
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53245
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (4ms)
53246
+
53247
+
53248
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53249
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (0ms)
53250
+
53251
+
53252
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53253
+ Served asset /active_admin/pages/application.js - 304 Not Modified (0ms)
53254
+
53255
+
53256
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53257
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (31ms)
53258
+
53259
+
53260
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53261
+ Served asset /active_admin/application.js - 304 Not Modified (29ms)
53262
+
53263
+
53264
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53265
+ Served asset /active_admin.js - 304 Not Modified (18ms)
53266
+
53267
+
53268
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53269
+ Served asset /questionnaires.js - 304 Not Modified (11ms)
53270
+
53271
+
53272
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:15 +0100
53273
+ Served asset /application.js - 304 Not Modified (28ms)
53274
+
53275
+
53276
+ Started PUT "/questionnires/questionnaires/2" for 127.0.0.1 at 2013-04-02 10:16:17 +0100
53277
+ Processing by Qwester::QuestionnairesController#update as HTML
53278
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"F2uev9NipC9d6X+t8bTjGFVt2x+fJfzIwoaRu8jQ5dI=", "question_id"=>{"3"=>{"answer_ids"=>["7"]}}, "commit"=>"Submit", "id"=>"2"}
53279
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" WHERE "qwester_questionnaires"."id" = ? LIMIT 1 [["id", "2"]]
53280
+ Qwester::AnswerStore Load (0.2ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53281
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", "7"]]
53282
+ Qwester::Answer Load (0.2ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53283
+  (0.0ms) begin transaction
53284
+  (1.8ms) INSERT INTO "qwester_answer_stores_answers" ("answer_store_id", "answer_id") VALUES (3, 7)
53285
+  (184.5ms) commit transaction
53286
+  (0.1ms) begin transaction
53287
+  (0.3ms) INSERT INTO "qwester_answer_stores_questionnaires" ("answer_store_id", "questionnaire_id") VALUES (3, 2)
53288
+  (132.0ms) commit transaction
53289
+ Redirected to http://localhost:3000/questionnires/questionnaires
53290
+ Completed 302 Found in 343ms (ActiveRecord: 331.5ms)
53291
+
53292
+
53293
+ Started GET "/questionnires/questionnaires" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53294
+ Processing by Qwester::QuestionnairesController#index as HTML
53295
+ Qwester::AnswerStore Load (0.3ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53296
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" 
53297
+ Qwester::Answer Load (0.2ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53298
+ Qwester::Presentation Load (0.2ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
53299
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires"
53300
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (4.0ms)
53301
+ Completed 200 OK in 281ms (Views: 258.1ms | ActiveRecord: 1.1ms)
53302
+
53303
+
53304
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53305
+ Served asset /application.css - 304 Not Modified (153ms)
53306
+
53307
+
53308
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53309
+ Served asset /active_admin.css - 304 Not Modified (54ms)
53310
+
53311
+
53312
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53313
+ Served asset /jquery_ujs.js - 304 Not Modified (7ms)
53314
+
53315
+
53316
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53317
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (0ms)
53318
+
53319
+
53320
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53321
+ Served asset /jquery.js - 304 Not Modified (1ms)
53322
+
53323
+
53324
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53325
+ Served asset /questionnaires.css - 304 Not Modified (18ms)
53326
+
53327
+
53328
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53329
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (2ms)
53330
+
53331
+
53332
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53333
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (0ms)
53334
+
53335
+
53336
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53337
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (0ms)
53338
+
53339
+
53340
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:18 +0100
53341
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (0ms)
53342
+
53343
+
53344
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:19 +0100
53345
+ Served asset /active_admin/pages/application.js - 304 Not Modified (15ms)
53346
+
53347
+
53348
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:19 +0100
53349
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (0ms)
53350
+
53351
+
53352
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:19 +0100
53353
+ Served asset /active_admin/application.js - 304 Not Modified (28ms)
53354
+
53355
+
53356
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:19 +0100
53357
+ Served asset /active_admin.js - 304 Not Modified (7ms)
53358
+
53359
+
53360
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:19 +0100
53361
+ Served asset /questionnaires.js - 304 Not Modified (0ms)
53362
+
53363
+
53364
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:16:19 +0100
53365
+ Served asset /application.js - 304 Not Modified (22ms)
53366
+
53367
+
53368
+ Started GET "/admin/qwester_rule_sets/68" for 127.0.0.1 at 2013-04-02 10:16:37 +0100
53369
+ Processing by Admin::QwesterRuleSetsController#show as HTML
53370
+ Parameters: {"id"=>"68"}
53371
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53372
+ Qwester::RuleSet Load (0.3ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "68"]]
53373
+ Completed 404 Not Found in 68ms
53374
+
53375
+ ActiveRecord::RecordNotFound (Couldn't find Qwester::RuleSet with id=68):
53376
+ activerecord (3.2.11) lib/active_record/relation/finder_methods.rb:341:in `find_one'
53377
+ activerecord (3.2.11) lib/active_record/relation/finder_methods.rb:312:in `find_with_ids'
53378
+ activerecord (3.2.11) lib/active_record/relation/finder_methods.rb:107:in `find'
53379
+ activerecord (3.2.11) lib/active_record/querying.rb:5:in `find'
53380
+ inherited_resources (1.3.1) lib/inherited_resources/base_helpers.rb:44:in `resource'
53381
+ activeadmin (0.5.1) lib/active_admin/resource_controller/decorators.rb:8:in `resource'
53382
+ inherited_resources (1.3.1) lib/inherited_resources/actions.rb:13:in `show'
53383
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:24:in `show'
53384
+ actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
53385
+ actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
53386
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
53387
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
53388
+ activesupport (3.2.11) lib/active_support/callbacks.rb:447:in `_run__229831124__process_action__223977623__callbacks'
53389
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
53390
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
53391
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
53392
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
53393
+ actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
53394
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
53395
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
53396
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
53397
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
53398
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
53399
+ actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
53400
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
53401
+ actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
53402
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
53403
+ actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
53404
+ actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
53405
+ actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
53406
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
53407
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
53408
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
53409
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
53410
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
53411
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
53412
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
53413
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
53414
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
53415
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
53416
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
53417
+ rack (1.4.3) lib/rack/etag.rb:23:in `call'
53418
+ rack (1.4.3) lib/rack/conditionalget.rb:25:in `call'
53419
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
53420
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
53421
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
53422
+ rack (1.4.3) lib/rack/session/abstract/id.rb:210:in `context'
53423
+ rack (1.4.3) lib/rack/session/abstract/id.rb:205:in `call'
53424
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
53425
+ activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
53426
+ activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
53427
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
53428
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__407774232__call__684110633__callbacks'
53429
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
53430
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
53431
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
53432
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
53433
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
53434
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
53435
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
53436
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
53437
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
53438
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
53439
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
53440
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
53441
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
53442
+ rack (1.4.3) lib/rack/methodoverride.rb:21:in `call'
53443
+ rack (1.4.3) lib/rack/runtime.rb:17:in `call'
53444
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
53445
+ rack (1.4.3) lib/rack/lock.rb:15:in `call'
53446
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
53447
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
53448
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
53449
+ rack (1.4.3) lib/rack/content_length.rb:14:in `call'
53450
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
53451
+ rack (1.4.3) lib/rack/handler/webrick.rb:59:in `service'
53452
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
53453
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
53454
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
53455
+
53456
+
53457
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.9ms)
53458
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (15.5ms)
53459
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (42.1ms)
53460
+
53461
+
53462
+ Started GET "/admin/qwester_rule_sets" for 127.0.0.1 at 2013-04-02 10:16:43 +0100
53463
+ Processing by Admin::QwesterRuleSetsController#index as HTML
53464
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53465
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_rule_sets" LIMIT 30 OFFSET 0) subquery_for_count
53466
+  (0.2ms) SELECT COUNT(*) FROM "qwester_rule_sets" 
53467
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_rule_sets" LIMIT 30 OFFSET 0) subquery_for_count
53468
+ Qwester::RuleSet Load (0.3ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" ORDER BY "qwester_rule_sets"."id" desc LIMIT 30 OFFSET 0
53469
+  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "qwester_answers"."id") FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 3
53470
+  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "qwester_answers"."id") FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 2
53471
+  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "qwester_answers"."id") FROM "qwester_answers" INNER JOIN "qwester_answers_rule_sets" ON "qwester_answers"."id" = "qwester_answers_rule_sets"."answer_id" WHERE "qwester_answers_rule_sets"."rule_set_id" = 1
53472
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (1223.6ms)
53473
+ Completed 200 OK in 1342ms (Views: 1332.4ms | ActiveRecord: 2.0ms)
53474
+
53475
+
53476
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:45 +0100
53477
+ Served asset /active_admin.css - 304 Not Modified (64ms)
53478
+
53479
+
53480
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:16:45 +0100
53481
+ Served asset /application.js - 304 Not Modified (29ms)
53482
+
53483
+
53484
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:16:45 +0100
53485
+ Served asset /active_admin.js - 304 Not Modified (69ms)
53486
+
53487
+
53488
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:45 +0100
53489
+ Served asset /active_admin/print.css - 304 Not Modified (11ms)
53490
+
53491
+
53492
+ Started GET "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-04-02 10:16:52 +0100
53493
+ Processing by Admin::QwesterRuleSetsController#show as HTML
53494
+ Parameters: {"id"=>"3"}
53495
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53496
+ Qwester::RuleSet Load (0.1ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
53497
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (200.7ms)
53498
+ Completed 200 OK in 213ms (Views: 209.8ms | ActiveRecord: 0.5ms)
53499
+
53500
+
53501
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:52 +0100
53502
+ Served asset /active_admin.css - 304 Not Modified (118ms)
53503
+
53504
+
53505
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 10:16:53 +0100
53506
+ Served asset /application.js - 304 Not Modified (23ms)
53507
+
53508
+
53509
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 10:16:53 +0100
53510
+ Served asset /active_admin.js - 304 Not Modified (131ms)
53511
+
53512
+
53513
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 10:16:53 +0100
53514
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
53515
+
53516
+
53517
+ Started GET "/" for 127.0.0.1 at 2013-04-02 10:17:09 +0100
53518
+ Processing by Qwester::QuestionnairesController#index as HTML
53519
+ Qwester::AnswerStore Load (0.3ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53520
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets"
53521
+ Qwester::Answer Load (0.5ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53522
+ Qwester::Presentation Load (0.2ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
53523
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" 
53524
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (9.6ms)
53525
+ Completed 200 OK in 326ms (Views: 292.5ms | ActiveRecord: 1.4ms)
53526
+
53527
+
53528
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-02 10:17:09 +0100
53529
+ Served asset /application.css - 304 Not Modified (173ms)
53530
+
53531
+
53532
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53533
+ Served asset /active_admin.css - 304 Not Modified (75ms)
53534
+
53535
+
53536
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53537
+ Served asset /questionnaires.css - 304 Not Modified (6ms)
53538
+
53539
+
53540
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53541
+ Served asset /jquery.js - 304 Not Modified (7ms)
53542
+
53543
+
53544
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53545
+ Served asset /jquery_ujs.js - 304 Not Modified (10ms)
53546
+
53547
+
53548
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53549
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (22ms)
53550
+
53551
+
53552
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53553
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (8ms)
53554
+
53555
+
53556
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53557
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (0ms)
53558
+
53559
+
53560
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53561
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (10ms)
53562
+
53563
+
53564
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53565
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (0ms)
53566
+
53567
+
53568
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53569
+ Served asset /active_admin/pages/application.js - 304 Not Modified (55ms)
53570
+
53571
+
53572
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53573
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (9ms)
53574
+
53575
+
53576
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53577
+ Served asset /active_admin/application.js - 304 Not Modified (2ms)
53578
+
53579
+
53580
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53581
+ Served asset /active_admin.js - 304 Not Modified (14ms)
53582
+
53583
+
53584
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53585
+ Served asset /questionnaires.js - 304 Not Modified (0ms)
53586
+
53587
+
53588
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-02 10:17:10 +0100
53589
+ Served asset /application.js - 304 Not Modified (143ms)
53590
+ Connecting to database specified by database.yml
53591
+
53592
+
53593
+ Started GET "/" for 127.0.0.1 at 2013-04-02 11:22:20 +0100
53594
+ Processing by Qwester::QuestionnairesController#index as HTML
53595
+ Qwester::AnswerStore Load (0.3ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53596
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets"
53597
+ Qwester::Answer Load (0.4ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53598
+ Qwester::Presentation Load (0.3ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
53599
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" 
53600
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (19.1ms)
53601
+ Completed 200 OK in 614ms (Views: 264.7ms | ActiveRecord: 12.3ms)
53602
+
53603
+
53604
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53605
+ Served asset /active_admin/lib/namespace.js - 200 OK (13ms)
53606
+
53607
+
53608
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53609
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 200 OK (154ms)
53610
+
53611
+
53612
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53613
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 200 OK (15ms)
53614
+
53615
+
53616
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53617
+ Served asset /active_admin/components/jquery.aa.popover.js - 200 OK (18ms)
53618
+
53619
+
53620
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53621
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 200 OK (27ms)
53622
+
53623
+
53624
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53625
+ Served asset /active_admin/pages/application.js - 200 OK (20ms)
53626
+
53627
+
53628
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53629
+ Served asset /active_admin/pages/batch_actions.js - 200 OK (7ms)
53630
+
53631
+
53632
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53633
+ Served asset /active_admin/application.js - 200 OK (42ms)
53634
+
53635
+
53636
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-04-02 11:22:21 +0100
53637
+ Served asset /active_admin.js - 200 OK (56ms)
53638
+
53639
+
53640
+ Started GET "/questionnires/questionnaires/reset" for 127.0.0.1 at 2013-04-02 11:22:27 +0100
53641
+ Processing by Qwester::QuestionnairesController#reset as HTML
53642
+ Qwester::AnswerStore Load (0.3ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53643
+ Qwester::Answer Load (0.3ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53644
+  (0.1ms) begin transaction
53645
+  (1.3ms) DELETE FROM "qwester_answer_stores_answers" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3 AND "qwester_answer_stores_answers"."answer_id" IN (2, 7)
53646
+  (201.5ms) commit transaction
53647
+ Qwester::Questionnaire Load (0.3ms) SELECT DISTINCT "qwester_questionnaires".* FROM "qwester_questionnaires" INNER JOIN "qwester_answer_stores_questionnaires" ON "qwester_questionnaires"."id" = "qwester_answer_stores_questionnaires"."questionnaire_id" WHERE "qwester_answer_stores_questionnaires"."answer_store_id" = 3
53648
+  (0.0ms) begin transaction
53649
+  (0.3ms) DELETE FROM "qwester_answer_stores_questionnaires" WHERE "qwester_answer_stores_questionnaires"."answer_store_id" = 3 AND "qwester_answer_stores_questionnaires"."questionnaire_id" IN (1, 2)
53650
+  (170.8ms) commit transaction
53651
+ Redirected to http://localhost:3000/questionnires/questionnaires
53652
+ Completed 302 Found in 388ms (ActiveRecord: 375.2ms)
53653
+
53654
+
53655
+ Started GET "/questionnires/questionnaires" for 127.0.0.1 at 2013-04-02 11:22:27 +0100
53656
+ Processing by Qwester::QuestionnairesController#index as HTML
53657
+ Qwester::AnswerStore Load (0.3ms) SELECT "qwester_answer_stores".* FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."session_id" = 'bbU6P8SjWEr63dC' LIMIT 1
53658
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets"
53659
+ Qwester::Answer Load (0.2ms) SELECT DISTINCT "qwester_answers".* FROM "qwester_answers" INNER JOIN "qwester_answer_stores_answers" ON "qwester_answers"."id" = "qwester_answer_stores_answers"."answer_id" WHERE "qwester_answer_stores_answers"."answer_store_id" = 3
53660
+ Qwester::Presentation Load (0.3ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
53661
+ Qwester::Questionnaire Load (0.3ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" 
53662
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (5.7ms)
53663
+ Completed 200 OK in 139ms (Views: 126.8ms | ActiveRecord: 1.2ms)
53664
+
53665
+
53666
+ Started GET "/admin/" for 127.0.0.1 at 2013-04-02 11:22:33 +0100
53667
+ Processing by Admin::DashboardController#index as HTML
53668
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53669
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/page/index.html.arb (454.1ms)
53670
+ Completed 200 OK in 510ms (Views: 460.7ms | ActiveRecord: 4.1ms)
53671
+
53672
+
53673
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:22:34 +0100
53674
+ Served asset /active_admin.js - 304 Not Modified (74ms)
53675
+
53676
+
53677
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:22:37 +0100
53678
+ Processing by Admin::QwesterAnswersController#index as HTML
53679
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53680
+  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53681
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers" 
53682
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53683
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
53684
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53685
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53686
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53687
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53688
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53689
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53690
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53691
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53692
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53693
+ Qwester::Question Load (0.7ms) SELECT "qwester_questions".* FROM "qwester_questions" 
53694
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (868.0ms)
53695
+ Completed 200 OK in 879ms (Views: 869.4ms | ActiveRecord: 2.9ms)
53696
+
53697
+
53698
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:22:38 +0100
53699
+ Served asset /active_admin.js - 304 Not Modified (2ms)
53700
+
53701
+
53702
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:25:28 +0100
53703
+ Processing by Admin::QwesterAnswersController#index as HTML
53704
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53705
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
53706
+  (0.3ms) SELECT COUNT(*) FROM "qwester_answers"
53707
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
53708
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
53709
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53710
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53711
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53712
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53713
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53714
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53715
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53716
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53717
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53718
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (233.8ms)
53719
+ Completed 200 OK in 333ms (Views: 237.4ms | ActiveRecord: 2.4ms)
53720
+
53721
+
53722
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:25:29 +0100
53723
+ Served asset /active_admin.css - 200 OK (31ms)
53724
+
53725
+
53726
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:25:29 +0100
53727
+ Served asset /application.js - 200 OK (12ms)
53728
+
53729
+
53730
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:25:29 +0100
53731
+ Served asset /active_admin.js - 304 Not Modified (8ms)
53732
+
53733
+
53734
+ Started GET "/assets/active_admin/nested_menu_arrow_dark.gif" for 127.0.0.1 at 2013-04-02 11:25:29 +0100
53735
+ Served asset /active_admin/nested_menu_arrow_dark.gif - 304 Not Modified (13ms)
53736
+
53737
+
53738
+ Started GET "/assets/active_admin/orderable.png" for 127.0.0.1 at 2013-04-02 11:25:29 +0100
53739
+ Served asset /active_admin/orderable.png - 304 Not Modified (10ms)
53740
+
53741
+
53742
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:25:29 +0100
53743
+ Served asset /active_admin/print.css - 200 OK (113ms)
53744
+ Connecting to database specified by database.yml
53745
+
53746
+
53747
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:26:02 +0100
53748
+ Processing by Admin::QwesterAnswersController#index as HTML
53749
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53750
+  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53751
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" 
53752
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53753
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
53754
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53755
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53756
+ CACHE (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53757
+ Qwester::Question Load (2.7ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53758
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53759
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53760
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53761
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53762
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53763
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (704.0ms)
53764
+ Completed 200 OK in 891ms (Views: 757.4ms | ActiveRecord: 6.4ms)
53765
+
53766
+
53767
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:26:03 +0100
53768
+ Served asset /active_admin.css - 304 Not Modified (38ms)
53769
+
53770
+
53771
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:26:03 +0100
53772
+ Served asset /application.js - 304 Not Modified (79ms)
53773
+
53774
+
53775
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:26:03 +0100
53776
+ Served asset /active_admin.js - 304 Not Modified (44ms)
53777
+
53778
+
53779
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:26:04 +0100
53780
+ Served asset /active_admin/print.css - 304 Not Modified (9ms)
53781
+
53782
+
53783
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:26:25 +0100
53784
+ Processing by Admin::QwesterAnswersController#index as HTML
53785
+ AdminUser Load (1.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53786
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53787
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" 
53788
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53789
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
53790
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53791
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53792
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53793
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53794
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53795
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53796
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53797
+ CACHE (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53798
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53799
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" 
53800
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (589.9ms)
53801
+ Completed 200 OK in 626ms (Views: 598.6ms | ActiveRecord: 4.4ms)
53802
+
53803
+
53804
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:26:27 +0100
53805
+ Served asset /active_admin.css - 304 Not Modified (40ms)
53806
+
53807
+
53808
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:26:27 +0100
53809
+ Served asset /active_admin.js - 304 Not Modified (3ms)
53810
+
53811
+
53812
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:26:27 +0100
53813
+ Served asset /application.js - 304 Not Modified (16ms)
53814
+
53815
+
53816
+ Started GET "/assets/active_admin/datepicker/datepicker-input-icon.png" for 127.0.0.1 at 2013-04-02 11:26:27 +0100
53817
+ Served asset /active_admin/datepicker/datepicker-input-icon.png - 304 Not Modified (12ms)
53818
+
53819
+
53820
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:26:27 +0100
53821
+ Served asset /active_admin/print.css - 304 Not Modified (1ms)
53822
+
53823
+
53824
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:28:49 +0100
53825
+ Processing by Admin::QwesterAnswersController#index as HTML
53826
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53827
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
53828
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers"
53829
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
53830
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
53831
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53832
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53833
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53834
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53835
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53836
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53837
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53838
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53839
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53840
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
53841
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (421.3ms)
53842
+ Completed 200 OK in 455ms (Views: 423.7ms | ActiveRecord: 2.7ms)
53843
+
53844
+
53845
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:28:50 +0100
53846
+ Served asset /active_admin.css - 304 Not Modified (30ms)
53847
+
53848
+
53849
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:28:50 +0100
53850
+ Served asset /application.js - 304 Not Modified (13ms)
53851
+
53852
+
53853
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:28:50 +0100
53854
+ Served asset /active_admin.js - 304 Not Modified (15ms)
53855
+
53856
+
53857
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:28:50 +0100
53858
+ Served asset /active_admin/print.css - 304 Not Modified (12ms)
53859
+ Connecting to database specified by database.yml
53860
+
53861
+
53862
+ Started GET "/assets/active_admin/nested_menu_arrow_dark.gif" for 127.0.0.1 at 2013-04-02 11:29:06 +0100
53863
+ Served asset /active_admin/nested_menu_arrow_dark.gif - 304 Not Modified (4ms)
53864
+
53865
+
53866
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:29:06 +0100
53867
+ Processing by Admin::QwesterAnswersController#index as HTML
53868
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53869
+  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53870
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" 
53871
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count
53872
+ Qwester::Answer Load (0.4ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
53873
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53874
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53875
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53876
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53877
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53878
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
53879
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53880
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53881
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
53882
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" 
53883
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (1201.9ms)
53884
+ Completed 200 OK in 1420ms (Views: 1265.6ms | ActiveRecord: 3.8ms)
53885
+
53886
+
53887
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:29:08 +0100
53888
+ Served asset /active_admin.css - 304 Not Modified (136ms)
53889
+
53890
+
53891
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:29:08 +0100
53892
+ Served asset /application.js - 304 Not Modified (77ms)
53893
+
53894
+
53895
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:29:08 +0100
53896
+ Served asset /active_admin.js - 304 Not Modified (64ms)
53897
+
53898
+
53899
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:29:09 +0100
53900
+ Served asset /active_admin/print.css - 304 Not Modified (5ms)
53901
+
53902
+
53903
+ Started GET "/admin/qwester_answers/9" for 127.0.0.1 at 2013-04-02 11:29:17 +0100
53904
+ Processing by Admin::QwesterAnswersController#show as HTML
53905
+ Parameters: {"id"=>"9"}
53906
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53907
+ Qwester::Answer Load (0.5ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", "9"]]
53908
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53909
+  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
53910
+ CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
53911
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (323.1ms)
53912
+ Completed 200 OK in 337ms (Views: 326.5ms | ActiveRecord: 1.6ms)
53913
+
53914
+
53915
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:29:18 +0100
53916
+ Served asset /active_admin.css - 304 Not Modified (50ms)
53917
+
53918
+
53919
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:29:18 +0100
53920
+ Served asset /application.js - 304 Not Modified (21ms)
53921
+
53922
+
53923
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:29:18 +0100
53924
+ Served asset /active_admin.js - 304 Not Modified (14ms)
53925
+
53926
+
53927
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:29:18 +0100
53928
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
53929
+
53930
+
53931
+ Started GET "/admin/qwester_answers/9" for 127.0.0.1 at 2013-04-02 11:31:12 +0100
53932
+ Processing by Admin::QwesterAnswersController#show as HTML
53933
+ Parameters: {"id"=>"9"}
53934
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
53935
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", "9"]]
53936
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
53937
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (182.1ms)
53938
+ Completed 500 Internal Server Error in 281ms
53939
+
53940
+ ActionView::Template::Error (wrong number of arguments (2 for 1)):
53941
+ 1: insert_tag renderer_for(:show)
53942
+ activeadmin (0.5.1) lib/active_admin/views/components/attributes_table.rb:20:in `row'
53943
+ arbre (1.0.1) lib/arbre/element.rb:171:in `method_missing'
53944
+ /home/rob/web/qwester/lib/active_admin/admin/answers.rb:37:in `block (3 levels) in <module:Qwester>'
53945
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
53946
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53947
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
53948
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
53949
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
53950
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `attributes_table_for'
53951
+ activeadmin (0.5.1) lib/active_admin/views/pages/show.rb:29:in `block in attributes_table'
53952
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
53953
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53954
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
53955
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
53956
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
53957
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `panel'
53958
+ activeadmin (0.5.1) lib/active_admin/views/pages/show.rb:28:in `attributes_table'
53959
+ /home/rob/web/qwester/lib/active_admin/admin/answers.rb:32:in `block (2 levels) in <module:Qwester>'
53960
+ activeadmin (0.5.1) lib/active_admin/views/pages/show.rb:21:in `instance_exec'
53961
+ activeadmin (0.5.1) lib/active_admin/views/pages/show.rb:21:in `main_content'
53962
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:78:in `block (2 levels) in build_main_content_wrapper'
53963
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
53964
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53965
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
53966
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
53967
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
53968
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
53969
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:77:in `block in build_main_content_wrapper'
53970
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
53971
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53972
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
53973
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
53974
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
53975
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
53976
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:76:in `build_main_content_wrapper'
53977
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:60:in `block in build_page_content'
53978
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
53979
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53980
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
53981
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
53982
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
53983
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
53984
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:59:in `build_page_content'
53985
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:42:in `block (2 levels) in build_page'
53986
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
53987
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53988
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
53989
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
53990
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
53991
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
53992
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:39:in `block in build_page'
53993
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53994
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
53995
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:38:in `build_page'
53996
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:10:in `build'
53997
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
53998
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
53999
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
54000
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
54001
+ activeadmin (0.5.1) app/views/active_admin/resource/show.html.arb:1:in `block in __home_rob__rvm_gems_ruby_______p____qwester_gems_activeadmin_______app_views_active_admin_resource_show_html_arb__327431155_84740980'
54002
+ arbre (1.0.1) lib/arbre/context.rb:45:in `instance_eval'
54003
+ arbre (1.0.1) lib/arbre/context.rb:45:in `initialize'
54004
+ activeadmin (0.5.1) app/views/active_admin/resource/show.html.arb:1:in `new'
54005
+ activeadmin (0.5.1) app/views/active_admin/resource/show.html.arb:1:in `__home_rob__rvm_gems_ruby_______p____qwester_gems_activeadmin_______app_views_active_admin_resource_show_html_arb__327431155_84740980'
54006
+ actionpack (3.2.11) lib/action_view/template.rb:145:in `block in render'
54007
+ activesupport (3.2.11) lib/active_support/notifications.rb:125:in `instrument'
54008
+ actionpack (3.2.11) lib/action_view/template.rb:143:in `render'
54009
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
54010
+ actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
54011
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
54012
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
54013
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
54014
+ actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
54015
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
54016
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
54017
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
54018
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:18:in `render'
54019
+ actionpack (3.2.11) lib/action_view/renderer/renderer.rb:36:in `render_template'
54020
+ actionpack (3.2.11) lib/action_view/renderer/renderer.rb:17:in `render'
54021
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:110:in `_render_template'
54022
+ actionpack (3.2.11) lib/action_controller/metal/streaming.rb:225:in `_render_template'
54023
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:103:in `render_to_body'
54024
+ actionpack (3.2.11) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
54025
+ actionpack (3.2.11) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
54026
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:88:in `render'
54027
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:16:in `render'
54028
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
54029
+ activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
54030
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
54031
+ activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `ms'
54032
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
54033
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
54034
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
54035
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:39:in `render'
54036
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:26:in `block (2 levels) in show'
54037
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:230:in `call'
54038
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:230:in `default_render'
54039
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:160:in `to_html'
54040
+ responders (0.9.3) lib/responders/flash_responder.rb:104:in `to_html'
54041
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:153:in `respond'
54042
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:146:in `call'
54043
+ actionpack (3.2.11) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
54044
+ inherited_resources (1.3.1) lib/inherited_resources/actions.rb:13:in `show'
54045
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:24:in `show'
54046
+ actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
54047
+ actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
54048
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
54049
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
54050
+ activesupport (3.2.11) lib/active_support/callbacks.rb:447:in `_run__375850939__process_action__401658597__callbacks'
54051
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
54052
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
54053
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
54054
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
54055
+ actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
54056
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
54057
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
54058
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
54059
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
54060
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
54061
+ actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
54062
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
54063
+ actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
54064
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
54065
+ actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
54066
+ actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
54067
+ actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
54068
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
54069
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
54070
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
54071
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
54072
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
54073
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
54074
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
54075
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
54076
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
54077
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
54078
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
54079
+ rack (1.4.3) lib/rack/etag.rb:23:in `call'
54080
+ rack (1.4.3) lib/rack/conditionalget.rb:25:in `call'
54081
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
54082
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
54083
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
54084
+ rack (1.4.3) lib/rack/session/abstract/id.rb:210:in `context'
54085
+ rack (1.4.3) lib/rack/session/abstract/id.rb:205:in `call'
54086
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
54087
+ activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
54088
+ activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
54089
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
54090
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__635896969__call__460313916__callbacks'
54091
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
54092
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
54093
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
54094
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
54095
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
54096
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
54097
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
54098
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
54099
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
54100
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
54101
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
54102
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
54103
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
54104
+ rack (1.4.3) lib/rack/methodoverride.rb:21:in `call'
54105
+ rack (1.4.3) lib/rack/runtime.rb:17:in `call'
54106
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
54107
+ rack (1.4.3) lib/rack/lock.rb:15:in `call'
54108
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
54109
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
54110
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
54111
+ rack (1.4.3) lib/rack/content_length.rb:14:in `call'
54112
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
54113
+ rack (1.4.3) lib/rack/handler/webrick.rb:59:in `service'
54114
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
54115
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
54116
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
54117
+
54118
+
54119
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
54120
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms)
54121
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.8ms)
54122
+
54123
+
54124
+ Started GET "/admin/qwester_answers/9" for 127.0.0.1 at 2013-04-02 11:31:44 +0100
54125
+ Processing by Admin::QwesterAnswersController#show as HTML
54126
+ Parameters: {"id"=>"9"}
54127
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
54128
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", "9"]]
54129
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54130
+  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
54131
+ CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
54132
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (180.4ms)
54133
+ Completed 200 OK in 236ms (Views: 183.8ms | ActiveRecord: 2.2ms)
54134
+
54135
+
54136
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:31:45 +0100
54137
+ Served asset /active_admin.css - 304 Not Modified (31ms)
54138
+
54139
+
54140
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:31:45 +0100
54141
+ Served asset /application.js - 304 Not Modified (12ms)
54142
+
54143
+
54144
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:31:45 +0100
54145
+ Served asset /active_admin.js - 304 Not Modified (127ms)
54146
+
54147
+
54148
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:31:45 +0100
54149
+ Served asset /active_admin/print.css - 304 Not Modified (2ms)
54150
+
54151
+
54152
+ Started GET "/admin/qwester_answers/9" for 127.0.0.1 at 2013-04-02 11:32:50 +0100
54153
+ Processing by Admin::QwesterAnswersController#show as HTML
54154
+ Parameters: {"id"=>"9"}
54155
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
54156
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", "9"]]
54157
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54158
+  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
54159
+ CACHE (0.8ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
54160
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (191.8ms)
54161
+ Completed 200 OK in 233ms (Views: 195.3ms | ActiveRecord: 2.6ms)
54162
+
54163
+
54164
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:32:51 +0100
54165
+ Served asset /active_admin.css - 304 Not Modified (88ms)
54166
+
54167
+
54168
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:32:51 +0100
54169
+ Served asset /application.js - 304 Not Modified (13ms)
54170
+
54171
+
54172
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:32:51 +0100
54173
+ Served asset /active_admin.js - 304 Not Modified (11ms)
54174
+
54175
+
54176
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:32:52 +0100
54177
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
54178
+ Connecting to database specified by database.yml
54179
+
54180
+
54181
+ Started GET "/admin/qwester_answers/9" for 127.0.0.1 at 2013-04-02 11:33:08 +0100
54182
+ Processing by Admin::QwesterAnswersController#show as HTML
54183
+ Parameters: {"id"=>"9"}
54184
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
54185
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", "9"]]
54186
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54187
+  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
54188
+ CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Qwester::Answer' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin'
54189
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (656.3ms)
54190
+ Completed 200 OK in 1004ms (Views: 890.3ms | ActiveRecord: 5.1ms)
54191
+
54192
+
54193
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:09 +0100
54194
+ Served asset /active_admin.css - 304 Not Modified (67ms)
54195
+
54196
+
54197
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:33:10 +0100
54198
+ Served asset /application.js - 304 Not Modified (139ms)
54199
+
54200
+
54201
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:33:10 +0100
54202
+ Served asset /active_admin.js - 304 Not Modified (57ms)
54203
+
54204
+
54205
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:10 +0100
54206
+ Served asset /active_admin/print.css - 304 Not Modified (5ms)
54207
+
54208
+
54209
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:33:18 +0100
54210
+ Processing by Admin::QwesterAnswersController#index as HTML
54211
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
54212
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
54213
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers"
54214
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
54215
+ Qwester::Answer Load (1.1ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
54216
+ Qwester::Question Load (2.6ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54217
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54218
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54219
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
54220
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
54221
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
54222
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
54223
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
54224
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
54225
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions"
54226
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (563.3ms)
54227
+ Completed 200 OK in 598ms (Views: 561.7ms | ActiveRecord: 5.4ms)
54228
+
54229
+
54230
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:19 +0100
54231
+ Served asset /active_admin.css - 304 Not Modified (158ms)
54232
+
54233
+
54234
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:33:19 +0100
54235
+ Served asset /application.js - 304 Not Modified (13ms)
54236
+
54237
+
54238
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:33:19 +0100
54239
+ Served asset /active_admin.js - 304 Not Modified (10ms)
54240
+
54241
+
54242
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:19 +0100
54243
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
54244
+
54245
+
54246
+ Started GET "/admin/qwester_questions/3/edit" for 127.0.0.1 at 2013-04-02 11:33:23 +0100
54247
+ Processing by Admin::QwesterQuestionsController#edit as HTML
54248
+ Parameters: {"id"=>"3"}
54249
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
54250
+ Qwester::Question Load (0.3ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = ? LIMIT 1 [["id", "3"]]
54251
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
54252
+ DEPRECATION WARNING: f.buttons is deprecated in favour of f.actions. (called from block (2 levels) in <module:Qwester> at /home/rob/web/qwester/lib/active_admin/admin/questions.rb:62)
54253
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (412.3ms)
54254
+ Completed 200 OK in 423ms (Views: 416.2ms | ActiveRecord: 0.9ms)
54255
+
54256
+
54257
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:23 +0100
54258
+ Served asset /active_admin.css - 304 Not Modified (26ms)
54259
+
54260
+
54261
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:33:23 +0100
54262
+ Served asset /active_admin.js - 304 Not Modified (11ms)
54263
+
54264
+
54265
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:33:23 +0100
54266
+ Served asset /application.js - 304 Not Modified (20ms)
54267
+
54268
+
54269
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:23 +0100
54270
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
54271
+
54272
+
54273
+ Started GET "/admin/qwester_questions" for 127.0.0.1 at 2013-04-02 11:33:34 +0100
54274
+ Processing by Admin::QwesterQuestionsController#index as HTML
54275
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
54276
+  (1.8ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_questions" LIMIT 30 OFFSET 0) subquery_for_count 
54277
+  (0.2ms) SELECT COUNT(*) FROM "qwester_questions"
54278
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_questions" LIMIT 30 OFFSET 0) subquery_for_count 
54279
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" ORDER BY "qwester_questions"."id" desc LIMIT 30 OFFSET 0
54280
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3
54281
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 2
54282
+  (0.1ms) SELECT COUNT(*) FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1
54283
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (538.6ms)
54284
+ Completed 200 OK in 550ms (Views: 539.7ms | ActiveRecord: 3.0ms)
54285
+
54286
+
54287
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:34 +0100
54288
+ Served asset /active_admin.css - 304 Not Modified (58ms)
54289
+
54290
+
54291
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:33:34 +0100
54292
+ Served asset /application.js - 304 Not Modified (13ms)
54293
+
54294
+
54295
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:33:34 +0100
54296
+ Served asset /active_admin.js - 304 Not Modified (11ms)
54297
+
54298
+
54299
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:35 +0100
54300
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
54301
+
54302
+
54303
+ Started GET "/admin/qwester_answers" for 127.0.0.1 at 2013-04-02 11:33:39 +0100
54304
+ Processing by Admin::QwesterAnswersController#index as HTML
54305
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
54306
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
54307
+  (0.2ms) SELECT COUNT(*) FROM "qwester_answers"
54308
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_answers" LIMIT 30 OFFSET 0) subquery_for_count 
54309
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" ORDER BY "qwester_answers"."id" desc LIMIT 30 OFFSET 0
54310
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54311
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54312
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 3 LIMIT 1
54313
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
54314
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
54315
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 2 LIMIT 1
54316
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
54317
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
54318
+ CACHE (0.0ms) SELECT "qwester_questions".* FROM "qwester_questions" WHERE "qwester_questions"."id" = 1 LIMIT 1
54319
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
54320
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (358.3ms)
54321
+ Completed 200 OK in 365ms (Views: 360.2ms | ActiveRecord: 1.9ms)
54322
+
54323
+
54324
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:40 +0100
54325
+ Served asset /active_admin.css - 304 Not Modified (93ms)
54326
+
54327
+
54328
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-04-02 11:33:40 +0100
54329
+ Served asset /active_admin.js - 304 Not Modified (2ms)
54330
+
54331
+
54332
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-04-02 11:33:40 +0100
54333
+ Served asset /application.js - 304 Not Modified (30ms)
54334
+
54335
+
54336
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-04-02 11:33:40 +0100
54337
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)