qwester 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -50510,3 +50510,523 @@ Served asset /active_admin.js - 304 Not Modified (19ms)
50510
50510
 
50511
50511
  Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-03-27 13:55:00 +0000
50512
50512
  Served asset /active_admin/print.css - 304 Not Modified (0ms)
50513
+ Connecting to database specified by database.yml
50514
+ Connecting to database specified by database.yml
50515
+
50516
+
50517
+ Started GET "/" for 127.0.0.1 at 2013-03-28 15:34:54 +0000
50518
+ Processing by Qwester::QuestionnairesController#index as HTML
50519
+ Qwester::Presentation Load (0.3ms) SELECT "qwester_presentations".* FROM "qwester_presentations" WHERE "qwester_presentations"."default" = 't' LIMIT 1
50520
+ Qwester::Questionnaire Load (0.2ms) SELECT "qwester_questionnaires".* FROM "qwester_questionnaires" INNER JOIN "qwester_presentation_questionnaires" ON "qwester_questionnaires"."id" = "qwester_presentation_questionnaires"."questionnaire_id" WHERE "qwester_presentation_questionnaires"."presentation_id" = 2
50521
+ Rendered /home/rob/web/qwester/app/views/qwester/questionnaires/index.html.erb within layouts/application (231.9ms)
50522
+ Completed 200 OK in 1803ms (Views: 1259.8ms | ActiveRecord: 2.4ms)
50523
+
50524
+
50525
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50526
+ Served asset /application.css - 200 OK (96ms)
50527
+
50528
+
50529
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50530
+ Served asset /active_admin.css - 200 OK (172ms)
50531
+
50532
+
50533
+ Started GET "/assets/questionnaires.css?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50534
+ Served asset /questionnaires.css - 200 OK (11ms)
50535
+
50536
+
50537
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50538
+ Served asset /jquery.js - 200 OK (33ms)
50539
+
50540
+
50541
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50542
+ Served asset /jquery_ujs.js - 200 OK (14ms)
50543
+
50544
+
50545
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50546
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (25ms)
50547
+
50548
+
50549
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50550
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (22ms)
50551
+
50552
+
50553
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50554
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (16ms)
50555
+
50556
+
50557
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50558
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (36ms)
50559
+
50560
+
50561
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50562
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (16ms)
50563
+
50564
+
50565
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50566
+ Served asset /active_admin/pages/application.js - 304 Not Modified (24ms)
50567
+
50568
+
50569
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50570
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (18ms)
50571
+
50572
+
50573
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:57 +0000
50574
+ Served asset /active_admin/application.js - 304 Not Modified (50ms)
50575
+
50576
+
50577
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:58 +0000
50578
+ Served asset /active_admin.js - 304 Not Modified (42ms)
50579
+
50580
+
50581
+ Started GET "/assets/questionnaires.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:58 +0000
50582
+ Served asset /questionnaires.js - 200 OK (9ms)
50583
+
50584
+
50585
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-28 15:34:58 +0000
50586
+ Served asset /application.js - 200 OK (80ms)
50587
+
50588
+
50589
+ Started GET "/admin" for 127.0.0.1 at 2013-03-28 15:35:03 +0000
50590
+ Processing by Admin::DashboardController#index as HTML
50591
+ Completed 401 Unauthorized in 5ms
50592
+
50593
+
50594
+ Started GET "/admin/login" for 127.0.0.1 at 2013-03-28 15:35:04 +0000
50595
+ Processing by ActiveAdmin::Devise::SessionsController#new as HTML
50596
+ 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)
50597
+ 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 (607.7ms)
50598
+ Completed 200 OK in 1044ms (Views: 1015.6ms | ActiveRecord: 0.2ms)
50599
+
50600
+
50601
+ Started GET "/assets/active_admin/lib/namespace.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50602
+ Served asset /active_admin/lib/namespace.js - 304 Not Modified (0ms)
50603
+
50604
+
50605
+ Started GET "/assets/active_admin/components/jquery.aa.checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50606
+ Served asset /active_admin/components/jquery.aa.checkbox-toggler.js - 304 Not Modified (0ms)
50607
+
50608
+
50609
+ Started GET "/assets/active_admin/components/jquery.aa.dropdown-menu.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50610
+ Served asset /active_admin/components/jquery.aa.dropdown-menu.js - 304 Not Modified (0ms)
50611
+
50612
+
50613
+ Started GET "/assets/active_admin/components/jquery.aa.popover.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50614
+ Served asset /active_admin/components/jquery.aa.popover.js - 304 Not Modified (0ms)
50615
+
50616
+
50617
+ Started GET "/assets/active_admin/components/jquery.aa.table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50618
+ Served asset /active_admin/components/jquery.aa.table-checkbox-toggler.js - 304 Not Modified (0ms)
50619
+
50620
+
50621
+ Started GET "/assets/active_admin/pages/application.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50622
+ Served asset /active_admin/pages/application.js - 304 Not Modified (0ms)
50623
+
50624
+
50625
+ Started GET "/assets/active_admin/pages/batch_actions.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50626
+ Served asset /active_admin/pages/batch_actions.js - 304 Not Modified (0ms)
50627
+
50628
+
50629
+ Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50630
+ Served asset /active_admin/application.js - 304 Not Modified (22ms)
50631
+
50632
+
50633
+ Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2013-03-28 15:35:05 +0000
50634
+ Served asset /active_admin.js - 304 Not Modified (17ms)
50635
+
50636
+
50637
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-03-28 15:35:06 +0000
50638
+ Served asset /active_admin/print.css - 200 OK (6ms)
50639
+
50640
+
50641
+ Started POST "/admin/login" for 127.0.0.1 at 2013-03-28 15:35:12 +0000
50642
+ Processing by ActiveAdmin::Devise::SessionsController#create as HTML
50643
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eGYZi0JkEk9Dcx9VCbEKDe1P6VjrrnEgIxk/hVTzgKs=", "admin_user"=>{"email"=>"admin@warwickshire.gov.uk", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
50644
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."email" = 'admin@warwickshire.gov.uk' LIMIT 1
50645
+  (0.1ms) begin transaction
50646
+  (1.4ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-03-27 13:39:42.237831', "current_sign_in_at" = '2013-03-28 15:35:12.805805', "sign_in_count" = 5, "updated_at" = '2013-03-28 15:35:12.813347' WHERE "admin_users"."id" = 1
50647
+  (239.2ms) commit transaction
50648
+ Redirected to http://localhost:3000/admin
50649
+ Completed 302 Found in 990ms (ActiveRecord: 0.0ms)
50650
+
50651
+
50652
+ Started GET "/admin" for 127.0.0.1 at 2013-03-28 15:35:13 +0000
50653
+ Processing by Admin::DashboardController#index as HTML
50654
+ AdminUser Load (0.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50655
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/page/index.html.arb (151.7ms)
50656
+ Completed 200 OK in 178ms (Views: 174.0ms | ActiveRecord: 0.6ms)
50657
+
50658
+
50659
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-03-28 15:35:13 +0000
50660
+ Served asset /application.js - 200 OK (57ms)
50661
+
50662
+
50663
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-03-28 15:35:13 +0000
50664
+ Served asset /active_admin.js - 304 Not Modified (3ms)
50665
+
50666
+
50667
+ Started GET "/assets/active_admin/nested_menu_arrow.gif" for 127.0.0.1 at 2013-03-28 15:35:14 +0000
50668
+ Served asset /active_admin/nested_menu_arrow.gif - 304 Not Modified (176ms)
50669
+
50670
+
50671
+ Started GET "/assets/active_admin/nested_menu_arrow_dark.gif" for 127.0.0.1 at 2013-03-28 15:35:15 +0000
50672
+ Served asset /active_admin/nested_menu_arrow_dark.gif - 304 Not Modified (30ms)
50673
+
50674
+
50675
+ Started GET "/admin/qwester_rule_sets" for 127.0.0.1 at 2013-03-28 15:35:17 +0000
50676
+ Processing by Admin::QwesterRuleSetsController#index as HTML
50677
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50678
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_rule_sets" LIMIT 30 OFFSET 0) subquery_for_count 
50679
+  (0.1ms) SELECT COUNT(*) FROM "qwester_rule_sets"
50680
+ CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "qwester_rule_sets" LIMIT 30 OFFSET 0) subquery_for_count 
50681
+ Qwester::RuleSet Load (0.3ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" ORDER BY "qwester_rule_sets"."id" desc LIMIT 30 OFFSET 0
50682
+  (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
50683
+  (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
50684
+  (1.8ms) 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
50685
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/index.html.arb (562.9ms)
50686
+ Completed 200 OK in 620ms (Views: 607.7ms | ActiveRecord: 4.1ms)
50687
+
50688
+
50689
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-03-28 15:35:18 +0000
50690
+ Served asset /active_admin.js - 304 Not Modified (68ms)
50691
+
50692
+
50693
+ Started GET "/assets/active_admin/nested_menu_arrow_dark.gif" for 127.0.0.1 at 2013-03-28 15:35:18 +0000
50694
+ Served asset /active_admin/nested_menu_arrow_dark.gif - 304 Not Modified (0ms)
50695
+
50696
+
50697
+ Started GET "/assets/active_admin/orderable.png" for 127.0.0.1 at 2013-03-28 15:35:18 +0000
50698
+ Served asset /active_admin/orderable.png - 304 Not Modified (39ms)
50699
+
50700
+
50701
+ Started GET "/assets/active_admin/datepicker/datepicker-input-icon.png" for 127.0.0.1 at 2013-03-28 15:35:18 +0000
50702
+ Served asset /active_admin/datepicker/datepicker-input-icon.png - 304 Not Modified (20ms)
50703
+
50704
+
50705
+ Started GET "/admin/qwester_rule_sets/3/edit" for 127.0.0.1 at 2013-03-28 15:53:05 +0000
50706
+ Processing by Admin::QwesterRuleSetsController#edit as HTML
50707
+ Parameters: {"id"=>"3"}
50708
+ AdminUser Load (1.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50709
+ Qwester::RuleSet Load (0.3ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
50710
+ Qwester::Presentation Load (0.2ms) SELECT "qwester_presentations".* FROM "qwester_presentations"
50711
+  (0.1ms) 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
50712
+ Qwester::Question Load (0.2ms) SELECT "qwester_questions".* FROM "qwester_questions"
50713
+ 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
50714
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
50715
+ 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
50716
+ 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
50717
+ 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
50718
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 2 ORDER BY position
50719
+ 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
50720
+ 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
50721
+ 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" = 6 LIMIT 1
50722
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
50723
+ Qwester::Answer Exists (0.4ms) 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
50724
+ 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" = 8 LIMIT 1
50725
+ 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" = 9 LIMIT 1
50726
+ 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)
50727
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (368.5ms)
50728
+ Completed 200 OK in 389ms (Views: 378.4ms | ActiveRecord: 5.3ms)
50729
+
50730
+
50731
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-03-28 15:53:06 +0000
50732
+ Served asset /active_admin.js - 304 Not Modified (3ms)
50733
+
50734
+
50735
+ Started PUT "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-03-28 15:53:33 +0000
50736
+ Processing by Admin::QwesterRuleSetsController#update as HTML
50737
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eGYZi0JkEk9Dcx9VCbEKDe1P6VjrrnEgIxk/hVTzgKs=", "qwester_rule_set"=>{"title"=>"Show big foo", "description"=>"", "url"=>"", "link_text"=>"", "presentation"=>"big_foo", "rule"=>"a2 and sum(:id) => 1"}, "commit"=>"Update Rule set", "id"=>"3"}
50738
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50739
+ Qwester::RuleSet Load (0.1ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
50740
+  (0.0ms) begin transaction
50741
+  (0.1ms) rollback transaction
50742
+ Qwester::Presentation Load (0.2ms) SELECT "qwester_presentations".* FROM "qwester_presentations"
50743
+  (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
50744
+ Qwester::Question Load (0.5ms) SELECT "qwester_questions".* FROM "qwester_questions"
50745
+ 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
50746
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 1 ORDER BY position
50747
+ 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" = 1 LIMIT 1
50748
+ 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
50749
+ 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
50750
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 2 ORDER BY position
50751
+ 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
50752
+ 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
50753
+ 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
50754
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."question_id" = 3 ORDER BY position
50755
+ 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
50756
+ 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" = 8 LIMIT 1
50757
+ 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
50758
+ 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)
50759
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/edit.html.arb (311.8ms)
50760
+ Completed 200 OK in 340ms (Views: 312.4ms | ActiveRecord: 3.8ms)
50761
+
50762
+
50763
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-03-28 15:53:34 +0000
50764
+ Served asset /active_admin.js - 304 Not Modified (2ms)
50765
+
50766
+
50767
+ Started PUT "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-03-28 15:53:49 +0000
50768
+ Processing by Admin::QwesterRuleSetsController#update as HTML
50769
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eGYZi0JkEk9Dcx9VCbEKDe1P6VjrrnEgIxk/hVTzgKs=", "qwester_rule_set"=>{"title"=>"Show big foo", "description"=>"", "url"=>"", "link_text"=>"", "presentation"=>"big_foo", "rule"=>"a2 and sum(:id) >= 1"}, "commit"=>"Update Rule set", "id"=>"3"}
50770
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50771
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
50772
+  (0.1ms) begin transaction
50773
+ Qwester::Answer Load (3.7ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", 2]]
50774
+ Qwester::Answer Load (0.1ms) 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
50775
+  (1.2ms) UPDATE "qwester_rule_sets" SET "rule" = 'a2 and sum(:id) >= 1', "updated_at" = '2013-03-28 15:53:49.661979' WHERE "qwester_rule_sets"."id" = 3
50776
+  (117.1ms) commit transaction
50777
+ Redirected to http://localhost:3000/admin/qwester_rule_sets/3
50778
+ Completed 302 Found in 211ms (ActiveRecord: 0.0ms)
50779
+
50780
+
50781
+ Started GET "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-03-28 15:53:49 +0000
50782
+ Processing by Admin::QwesterRuleSetsController#show as HTML
50783
+ Parameters: {"id"=>"3"}
50784
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50785
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
50786
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (50.0ms)
50787
+ Completed 500 Internal Server Error in 82ms
50788
+
50789
+ ActionView::Template::Error (Unable to determine combinations for rules that include functions):
50790
+ 1: insert_tag renderer_for(:show)
50791
+ array_logic (0.2.4) lib/array_logic/rule.rb:69:in `combinations_of_identifiers_in_rule_that_pass'
50792
+ array_logic (0.2.4) lib/array_logic/rule.rb:41:in `matching_combinations'
50793
+ /home/rob/web/qwester/app/models/qwester/rule_set.rb:44:in `matching_answer_sets'
50794
+ /home/rob/web/qwester/lib/active_admin/admin/rule_sets.rb:168:in `block (2 levels) in <module:Qwester>'
50795
+ activeadmin (0.5.1) lib/active_admin/views/pages/show.rb:21:in `instance_exec'
50796
+ activeadmin (0.5.1) lib/active_admin/views/pages/show.rb:21:in `main_content'
50797
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:78:in `block (2 levels) in build_main_content_wrapper'
50798
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
50799
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
50800
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
50801
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
50802
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
50803
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
50804
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:77:in `block in build_main_content_wrapper'
50805
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
50806
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
50807
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
50808
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
50809
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
50810
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
50811
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:76:in `build_main_content_wrapper'
50812
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:60:in `block in build_page_content'
50813
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
50814
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
50815
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
50816
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
50817
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
50818
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
50819
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:59:in `build_page_content'
50820
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:42:in `block (2 levels) in build_page'
50821
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
50822
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
50823
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
50824
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
50825
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
50826
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:18:in `div'
50827
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:39:in `block in build_page'
50828
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
50829
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
50830
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:38:in `build_page'
50831
+ activeadmin (0.5.1) lib/active_admin/views/pages/base.rb:10:in `build'
50832
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
50833
+ arbre (1.0.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
50834
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
50835
+ arbre (1.0.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
50836
+ 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___1040101296_90479890'
50837
+ arbre (1.0.1) lib/arbre/context.rb:45:in `instance_eval'
50838
+ arbre (1.0.1) lib/arbre/context.rb:45:in `initialize'
50839
+ activeadmin (0.5.1) app/views/active_admin/resource/show.html.arb:1:in `new'
50840
+ 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___1040101296_90479890'
50841
+ actionpack (3.2.11) lib/action_view/template.rb:145:in `block in render'
50842
+ activesupport (3.2.11) lib/active_support/notifications.rb:125:in `instrument'
50843
+ actionpack (3.2.11) lib/action_view/template.rb:143:in `render'
50844
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
50845
+ actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
50846
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
50847
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
50848
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
50849
+ actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
50850
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
50851
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
50852
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
50853
+ actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:18:in `render'
50854
+ actionpack (3.2.11) lib/action_view/renderer/renderer.rb:36:in `render_template'
50855
+ actionpack (3.2.11) lib/action_view/renderer/renderer.rb:17:in `render'
50856
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:110:in `_render_template'
50857
+ actionpack (3.2.11) lib/action_controller/metal/streaming.rb:225:in `_render_template'
50858
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:103:in `render_to_body'
50859
+ actionpack (3.2.11) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
50860
+ actionpack (3.2.11) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
50861
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:88:in `render'
50862
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:16:in `render'
50863
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
50864
+ activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
50865
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
50866
+ activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `ms'
50867
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
50868
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
50869
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
50870
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:39:in `render'
50871
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:26:in `block (2 levels) in show'
50872
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:230:in `call'
50873
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:230:in `default_render'
50874
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:160:in `to_html'
50875
+ responders (0.9.3) lib/responders/flash_responder.rb:104:in `to_html'
50876
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:153:in `respond'
50877
+ actionpack (3.2.11) lib/action_controller/metal/responder.rb:146:in `call'
50878
+ actionpack (3.2.11) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
50879
+ inherited_resources (1.3.1) lib/inherited_resources/actions.rb:13:in `show'
50880
+ activeadmin (0.5.1) lib/active_admin/resource_controller/actions.rb:24:in `show'
50881
+ actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
50882
+ actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
50883
+ actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
50884
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
50885
+ activesupport (3.2.11) lib/active_support/callbacks.rb:447:in `_run__1010853977__process_action__763262246__callbacks'
50886
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
50887
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
50888
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
50889
+ actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
50890
+ actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
50891
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
50892
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
50893
+ activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
50894
+ activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
50895
+ actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
50896
+ actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
50897
+ activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
50898
+ actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
50899
+ actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
50900
+ actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
50901
+ actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
50902
+ actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
50903
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
50904
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
50905
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
50906
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
50907
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
50908
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
50909
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
50910
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
50911
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
50912
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
50913
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
50914
+ rack (1.4.3) lib/rack/etag.rb:23:in `call'
50915
+ rack (1.4.3) lib/rack/conditionalget.rb:25:in `call'
50916
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
50917
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
50918
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
50919
+ rack (1.4.3) lib/rack/session/abstract/id.rb:210:in `context'
50920
+ rack (1.4.3) lib/rack/session/abstract/id.rb:205:in `call'
50921
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
50922
+ activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
50923
+ activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
50924
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
50925
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__22712726__call__265317021__callbacks'
50926
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
50927
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
50928
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
50929
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
50930
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
50931
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
50932
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
50933
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
50934
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
50935
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
50936
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
50937
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
50938
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
50939
+ rack (1.4.3) lib/rack/methodoverride.rb:21:in `call'
50940
+ rack (1.4.3) lib/rack/runtime.rb:17:in `call'
50941
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
50942
+ rack (1.4.3) lib/rack/lock.rb:15:in `call'
50943
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
50944
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
50945
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
50946
+ rack (1.4.3) lib/rack/content_length.rb:14:in `call'
50947
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
50948
+ rack (1.4.3) lib/rack/handler/webrick.rb:59:in `service'
50949
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
50950
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
50951
+ /home/rob/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
50952
+
50953
+
50954
+ 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.0ms)
50955
+ 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.5ms)
50956
+ 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 (24.8ms)
50957
+
50958
+
50959
+ Started PUT "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-03-28 15:56:04 +0000
50960
+ Processing by Admin::QwesterRuleSetsController#update as HTML
50961
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eGYZi0JkEk9Dcx9VCbEKDe1P6VjrrnEgIxk/hVTzgKs=", "qwester_rule_set"=>{"title"=>"Show big foo", "description"=>"", "url"=>"", "link_text"=>"", "presentation"=>"big_foo", "rule"=>"a2 and sum(:id) >= 1"}, "commit"=>"Update Rule set", "id"=>"3"}
50962
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50963
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
50964
+  (37.7ms) begin transaction
50965
+ Qwester::Answer Load (0.2ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", 2]]
50966
+ Qwester::Answer Load (9.9ms) 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
50967
+  (0.1ms) commit transaction
50968
+ Redirected to http://localhost:3000/admin/qwester_rule_sets/3
50969
+ Completed 302 Found in 188ms (ActiveRecord: 0.0ms)
50970
+
50971
+
50972
+ Started GET "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-03-28 15:56:05 +0000
50973
+ Processing by Admin::QwesterRuleSetsController#show as HTML
50974
+ Parameters: {"id"=>"3"}
50975
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
50976
+ Qwester::RuleSet Load (0.1ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
50977
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (279.5ms)
50978
+ Completed 200 OK in 298ms (Views: 284.1ms | ActiveRecord: 0.3ms)
50979
+
50980
+
50981
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-03-28 15:56:06 +0000
50982
+ Served asset /active_admin.css - 304 Not Modified (190ms)
50983
+
50984
+
50985
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-03-28 15:56:06 +0000
50986
+ Served asset /application.js - 304 Not Modified (21ms)
50987
+
50988
+
50989
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-03-28 15:56:06 +0000
50990
+ Served asset /active_admin.js - 304 Not Modified (18ms)
50991
+
50992
+
50993
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-03-28 15:56:06 +0000
50994
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)
50995
+
50996
+
50997
+ Started PUT "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-03-28 15:57:47 +0000
50998
+ Processing by Admin::QwesterRuleSetsController#update as HTML
50999
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eGYZi0JkEk9Dcx9VCbEKDe1P6VjrrnEgIxk/hVTzgKs=", "qwester_rule_set"=>{"title"=>"Show big foo", "description"=>"", "url"=>"", "link_text"=>"", "presentation"=>"big_foo", "rule"=>"a2 and sum(:id) >= 1"}, "commit"=>"Update Rule set", "id"=>"3"}
51000
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51001
+ Qwester::RuleSet Load (0.2ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
51002
+  (0.1ms) begin transaction
51003
+ Qwester::Answer Load (0.3ms) SELECT "qwester_answers".* FROM "qwester_answers" WHERE "qwester_answers"."id" = ? LIMIT 1 [["id", 2]]
51004
+ Qwester::Answer Load (0.3ms) 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
51005
+  (0.1ms) commit transaction
51006
+ Redirected to http://localhost:3000/admin/qwester_rule_sets/3
51007
+ Completed 302 Found in 111ms (ActiveRecord: 0.0ms)
51008
+
51009
+
51010
+ Started GET "/admin/qwester_rule_sets/3" for 127.0.0.1 at 2013-03-28 15:57:48 +0000
51011
+ Processing by Admin::QwesterRuleSetsController#show as HTML
51012
+ Parameters: {"id"=>"3"}
51013
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
51014
+ Qwester::RuleSet Load (0.1ms) SELECT "qwester_rule_sets".* FROM "qwester_rule_sets" WHERE "qwester_rule_sets"."id" = ? LIMIT 1 [["id", "3"]]
51015
+ Rendered /home/rob/.rvm/gems/ruby-1.9.3-p286@qwester/gems/activeadmin-0.5.1/app/views/active_admin/resource/show.html.arb (208.9ms)
51016
+ Completed 200 OK in 229ms (Views: 212.3ms | ActiveRecord: 0.4ms)
51017
+
51018
+
51019
+ Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2013-03-28 15:57:48 +0000
51020
+ Served asset /active_admin.css - 304 Not Modified (197ms)
51021
+
51022
+
51023
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-03-28 15:57:48 +0000
51024
+ Served asset /application.js - 304 Not Modified (12ms)
51025
+
51026
+
51027
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-03-28 15:57:48 +0000
51028
+ Served asset /active_admin.js - 304 Not Modified (19ms)
51029
+
51030
+
51031
+ Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2013-03-28 15:57:49 +0000
51032
+ Served asset /active_admin/print.css - 304 Not Modified (0ms)