split_cat 0.0.6 → 0.0.7

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -11
  3. data/app/controllers/split_cat/experiments_controller.rb +45 -7
  4. data/app/helpers/split_cat/experiments_helper.rb +1 -4
  5. data/app/models/split_cat/experiment.rb +3 -21
  6. data/app/views/split_cat/experiments/_form.html.erb +31 -12
  7. data/app/views/split_cat/experiments/_search.html.erb +8 -0
  8. data/app/views/split_cat/experiments/edit.html.erb +6 -0
  9. data/app/views/split_cat/experiments/index.html.erb +4 -0
  10. data/app/views/split_cat/experiments/new.html.erb +5 -0
  11. data/config/locales/en.yml +0 -2
  12. data/config/routes.rb +1 -1
  13. data/lib/split_cat/helpers.rb +8 -0
  14. data/lib/split_cat/version.rb +1 -1
  15. data/spec/controllers/split_cat/experiments_controller_spec.rb +146 -50
  16. data/spec/data/helpers/experiment_info.html +1 -1
  17. data/spec/data/helpers/experiment_info.html.tmp +1 -1
  18. data/spec/data/helpers/experiment_table.html +1 -1
  19. data/spec/data/helpers/experiment_table.html.tmp +1 -1
  20. data/spec/dummy/db/development.sqlite3 +0 -0
  21. data/spec/dummy/log/development.log +1008 -0
  22. data/spec/dummy/log/test.log +58637 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  29. data/spec/dummy/tmp/pids/server.pid +1 -0
  30. data/spec/helpers/split_cat/experiments_helper_spec.rb +1 -1
  31. data/spec/models/split_cat/experiment_spec.rb +5 -44
  32. data/spec/routing/split_cat/experiments_routing_spec.rb +39 -0
  33. data/spec/spec_helper.rb +6 -0
  34. data/spec/support/stub_view_routes.rb +3 -1
  35. data/spec/views/split_cat/experiments/edit.html.erb_spec.rb +16 -0
  36. data/spec/views/split_cat/experiments/index.html.erb_spec.rb +8 -7
  37. data/spec/views/split_cat/experiments/new.html.erb_spec.rb +16 -0
  38. data/spec/views/split_cat/experiments/show.html.erb_spec.rb +6 -8
  39. metadata +24 -55
@@ -1853029,3 +1853029,1011 @@ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-13 17:34:3
1853029
1853029
 
1853030
1853030
 
1853031
1853031
  Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-13 17:34:36 -0700
1853032
+
1853033
+
1853034
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:25:47 -0800
1853035
+ Processing by RootController#index as HTML
1853036
+ SplitCat::Experiment Load (0.6ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" WHERE "split_cat_experiments"."name" = 'homepage_4' LIMIT 1
1853037
+  (0.1ms) begin transaction
1853038
+ SplitCat::Experiment Exists (0.2ms) SELECT 1 AS one FROM "split_cat_experiments" WHERE "split_cat_experiments"."name" = 'homepage_4' LIMIT 1
1853039
+ SplitCat::Hypothesis Exists (0.6ms) SELECT 1 AS one FROM "split_cat_hypotheses" WHERE ("split_cat_hypotheses"."name" = 'a' AND "split_cat_hypotheses"."experiment_id" IS NULL) LIMIT 1
1853040
+ SplitCat::Hypothesis Exists (0.1ms) SELECT 1 AS one FROM "split_cat_hypotheses" WHERE ("split_cat_hypotheses"."name" = 'b' AND "split_cat_hypotheses"."experiment_id" IS NULL) LIMIT 1
1853041
+ SplitCat::Goal Exists (0.7ms) SELECT 1 AS one FROM "split_cat_goals" WHERE ("split_cat_goals"."name" = 'clicked' AND "split_cat_goals"."experiment_id" IS NULL) LIMIT 1
1853042
+ SQL (2.4ms) INSERT INTO "split_cat_experiments" ("created_at", "description", "name") VALUES (?, ?, ?) [["created_at", Sat, 18 Jan 2014 09:25:47 UTC +00:00], ["description", "test of homepage behavior"], ["name", :homepage_4]]
1853043
+ SplitCat::Hypothesis Exists (0.1ms) SELECT 1 AS one FROM "split_cat_hypotheses" WHERE ("split_cat_hypotheses"."name" = 'a' AND "split_cat_hypotheses"."experiment_id" = 3) LIMIT 1
1853044
+ SQL (0.7ms) INSERT INTO "split_cat_hypotheses" ("created_at", "description", "experiment_id", "name", "weight") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 18 Jan 2014 09:25:47 UTC +00:00], ["description", "current behavior"], ["experiment_id", 3], ["name", :a], ["weight", 50]]
1853045
+ SplitCat::Hypothesis Exists (0.1ms) SELECT 1 AS one FROM "split_cat_hypotheses" WHERE ("split_cat_hypotheses"."name" = 'b' AND "split_cat_hypotheses"."experiment_id" = 3) LIMIT 1
1853046
+ SQL (0.1ms) INSERT INTO "split_cat_hypotheses" ("created_at", "description", "experiment_id", "name", "weight") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 18 Jan 2014 09:25:47 UTC +00:00], ["description", "awesome new behavior"], ["experiment_id", 3], ["name", :b], ["weight", 50]]
1853047
+ SplitCat::Goal Exists (0.1ms) SELECT 1 AS one FROM "split_cat_goals" WHERE ("split_cat_goals"."name" = 'clicked' AND "split_cat_goals"."experiment_id" = 3) LIMIT 1
1853048
+ SQL (0.9ms) INSERT INTO "split_cat_goals" ("created_at", "description", "experiment_id", "name") VALUES (?, ?, ?, ?) [["created_at", Sat, 18 Jan 2014 09:25:47 UTC +00:00], ["description", "user clicked the button"], ["experiment_id", 3], ["name", :clicked]]
1853049
+  (1.1ms) commit transaction
1853050
+ SplitCat::Subject Load (0.5ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853051
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853052
+ Rendered root/index.html.erb within layouts/application (7.7ms)
1853053
+ Completed 500 Internal Server Error in 129ms
1853054
+
1853055
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853056
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853057
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853058
+ ):
1853059
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853060
+ 2:
1853061
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853062
+ 4: <p>Token: <%= @split_cat_token %></p>
1853063
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853064
+
1853065
+
1853066
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
1853067
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (19.2ms)
1853068
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (32.4ms)
1853069
+
1853070
+
1853071
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:26:17 -0800
1853072
+ Processing by RootController#index as HTML
1853073
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853074
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853075
+ Rendered root/index.html.erb within layouts/application (2.3ms)
1853076
+ Completed 500 Internal Server Error in 6ms
1853077
+
1853078
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853079
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853080
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853081
+ ):
1853082
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853083
+ 2:
1853084
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853085
+ 4: <p>Token: <%= @split_cat_token %></p>
1853086
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853087
+
1853088
+
1853089
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
1853090
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
1853091
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.6ms)
1853092
+
1853093
+
1853094
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:26:19 -0800
1853095
+ Processing by RootController#index as HTML
1853096
+ SplitCat::Subject Load (0.3ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853097
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853098
+ Rendered root/index.html.erb within layouts/application (2.2ms)
1853099
+ Completed 500 Internal Server Error in 6ms
1853100
+
1853101
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853102
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853103
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853104
+ ):
1853105
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853106
+ 2:
1853107
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853108
+ 4: <p>Token: <%= @split_cat_token %></p>
1853109
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853110
+
1853111
+
1853112
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1853113
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1853114
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.9ms)
1853115
+
1853116
+
1853117
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:28:06 -0800
1853118
+ Processing by RootController#index as HTML
1853119
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853120
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853121
+ Rendered root/index.html.erb within layouts/application (2.5ms)
1853122
+ Completed 500 Internal Server Error in 5ms
1853123
+
1853124
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853125
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853126
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853127
+ ):
1853128
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853129
+ 2:
1853130
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853131
+ 4: <p>Token: <%= @split_cat_token %></p>
1853132
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853133
+
1853134
+
1853135
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1853136
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1853137
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.9ms)
1853138
+
1853139
+
1853140
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:32:12 -0800
1853141
+ Processing by RootController#index as HTML
1853142
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853143
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853144
+ Rendered root/index.html.erb within layouts/application (2.2ms)
1853145
+ Completed 500 Internal Server Error in 5ms
1853146
+
1853147
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853148
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853149
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853150
+ ):
1853151
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853152
+ 2:
1853153
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853154
+ 4: <p>Token: <%= @split_cat_token %></p>
1853155
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853156
+
1853157
+
1853158
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1853159
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
1853160
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.4ms)
1853161
+
1853162
+
1853163
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:32:14 -0800
1853164
+ Processing by RootController#index as HTML
1853165
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853166
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853167
+ Rendered root/index.html.erb within layouts/application (2.2ms)
1853168
+ Completed 500 Internal Server Error in 6ms
1853169
+
1853170
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853171
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853172
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853173
+ ):
1853174
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853175
+ 2:
1853176
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853177
+ 4: <p>Token: <%= @split_cat_token %></p>
1853178
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853179
+
1853180
+
1853181
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
1853182
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
1853183
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.1ms)
1853184
+
1853185
+
1853186
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:40:06 -0800
1853187
+ Processing by RootController#index as HTML
1853188
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853189
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853190
+ Rendered root/index.html.erb within layouts/application (2.1ms)
1853191
+ Completed 500 Internal Server Error in 6ms
1853192
+
1853193
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853194
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853195
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853196
+ ):
1853197
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853198
+ 2:
1853199
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853200
+ 4: <p>Token: <%= @split_cat_token %></p>
1853201
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853202
+
1853203
+
1853204
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1853205
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1853206
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.3ms)
1853207
+
1853208
+
1853209
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:40:07 -0800
1853210
+ Processing by RootController#index as HTML
1853211
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853212
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853213
+ Rendered root/index.html.erb within layouts/application (3.0ms)
1853214
+ Completed 500 Internal Server Error in 8ms
1853215
+
1853216
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853217
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853218
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853219
+ ):
1853220
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853221
+ 2:
1853222
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853223
+ 4: <p>Token: <%= @split_cat_token %></p>
1853224
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853225
+
1853226
+
1853227
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
1853228
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1853229
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.6ms)
1853230
+
1853231
+
1853232
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:40:07 -0800
1853233
+ Processing by RootController#index as HTML
1853234
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853235
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853236
+ Rendered root/index.html.erb within layouts/application (2.9ms)
1853237
+ Completed 500 Internal Server Error in 6ms
1853238
+
1853239
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853240
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853241
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853242
+ ):
1853243
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853244
+ 2:
1853245
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853246
+ 4: <p>Token: <%= @split_cat_token %></p>
1853247
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853248
+
1853249
+
1853250
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
1853251
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1853252
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.4ms)
1853253
+
1853254
+
1853255
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:40:09 -0800
1853256
+ Processing by RootController#index as HTML
1853257
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853258
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853259
+ Rendered root/index.html.erb within layouts/application (3.4ms)
1853260
+ Completed 500 Internal Server Error in 6ms
1853261
+
1853262
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853263
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853264
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853265
+ ):
1853266
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853267
+ 2:
1853268
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853269
+ 4: <p>Token: <%= @split_cat_token %></p>
1853270
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853271
+
1853272
+
1853273
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
1853274
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1853275
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.1ms)
1853276
+
1853277
+
1853278
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:40:09 -0800
1853279
+ Processing by RootController#index as HTML
1853280
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853281
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853282
+ Rendered root/index.html.erb within layouts/application (2.4ms)
1853283
+ Completed 500 Internal Server Error in 6ms
1853284
+
1853285
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853286
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853287
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853288
+ ):
1853289
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853290
+ 2:
1853291
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853292
+ 4: <p>Token: <%= @split_cat_token %></p>
1853293
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853294
+
1853295
+
1853296
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1853297
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1853298
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)
1853299
+
1853300
+
1853301
+ Started GET "/?hypothesis=a" for 127.0.0.1 at 2014-01-18 01:40:14 -0800
1853302
+ Processing by RootController#index as HTML
1853303
+ Parameters: {"hypothesis"=>"a"}
1853304
+ Rendered root/_homepage_a.html.erb (0.4ms)
1853305
+ Rendered root/index.html.erb within layouts/application (1.7ms)
1853306
+ Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.0ms)
1853307
+
1853308
+
1853309
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 01:40:14 -0800
1853310
+
1853311
+
1853312
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 01:40:14 -0800
1853313
+
1853314
+
1853315
+ Started GET "/?hypothesis=b" for 127.0.0.1 at 2014-01-18 01:40:20 -0800
1853316
+ Processing by RootController#index as HTML
1853317
+ Parameters: {"hypothesis"=>"b"}
1853318
+ Rendered root/_homepage_b.html.erb (0.5ms)
1853319
+ Rendered root/index.html.erb within layouts/application (1.9ms)
1853320
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
1853321
+
1853322
+
1853323
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:40:24 -0800
1853324
+ Processing by RootController#index as HTML
1853325
+ SplitCat::Subject Load (0.1ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853326
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853327
+ Rendered root/index.html.erb within layouts/application (2.1ms)
1853328
+ Completed 500 Internal Server Error in 5ms
1853329
+
1853330
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853331
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853332
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853333
+ ):
1853334
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853335
+ 2:
1853336
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853337
+ 4: <p>Token: <%= @split_cat_token %></p>
1853338
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853339
+
1853340
+
1853341
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1853342
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1853343
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)
1853344
+
1853345
+
1853346
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:40:24 -0800
1853347
+ Processing by RootController#index as HTML
1853348
+ SplitCat::Subject Load (0.3ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853349
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853350
+ Rendered root/index.html.erb within layouts/application (2.2ms)
1853351
+ Completed 500 Internal Server Error in 6ms
1853352
+
1853353
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853354
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853355
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853356
+ ):
1853357
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853358
+ 2:
1853359
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853360
+ 4: <p>Token: <%= @split_cat_token %></p>
1853361
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853362
+
1853363
+
1853364
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
1853365
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
1853366
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.4ms)
1853367
+
1853368
+
1853369
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:42:44 -0800
1853370
+ Processing by RootController#index as HTML
1853371
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853372
+ CACHE (0.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853373
+ Rendered root/index.html.erb within layouts/application (2.1ms)
1853374
+ Completed 500 Internal Server Error in 5ms
1853375
+
1853376
+ ActionView::Template::Error (Missing partial root/homepage_, application/homepage_ with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1853377
+ * "/Users/rdh727/schrodingersbox/split_cat/spec/dummy/app/views"
1853378
+ * "/Users/rdh727/schrodingersbox/split_cat/app/views"
1853379
+ ):
1853380
+ 1: <p><%= render :partial => split_cat_scope( 'homepage', HOMEPAGE_EXPERIMENT, @split_cat_token, @hypothesis ) %></p>
1853381
+ 2:
1853382
+ 3: <p>Logged in: <%= !!cookies[ :login ] %> </p>
1853383
+ 4: <p>Token: <%= @split_cat_token %></p>
1853384
+ app/views/root/index.html.erb:1:in `_app_views_root_index_html_erb__2787443080823583160_2166645060'
1853385
+
1853386
+
1853387
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1853388
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
1853389
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.2ms)
1853390
+
1853391
+
1853392
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:43:09 -0800
1853393
+ Processing by RootController#index as HTML
1853394
+  (0.1ms) begin transaction
1853395
+ SQL (4.5ms) INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?) [["created_at", Sat, 18 Jan 2014 09:43:09 UTC +00:00], ["token", "mWKIs-JXaKCAl1XPfmB1jQ"]]
1853396
+  (1.0ms) commit transaction
1853397
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" WHERE "split_cat_experiments"."name" = 'homepage_4' LIMIT 1
1853398
+ SplitCat::Goal Load (0.3ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" IN (3) ORDER BY "split_cat_goals"."name" ASC
1853399
+ SplitCat::Hypothesis Load (0.2ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" IN (3) ORDER BY "split_cat_hypotheses"."name" ASC
1853400
+ SplitCat::Subject Load (0.1ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853401
+ SplitCat::HypothesisSubject Load (0.1ms) SELECT "split_cat_hypothesis_subjects".* FROM "split_cat_hypothesis_subjects" WHERE "split_cat_hypothesis_subjects"."experiment_id" = 3 AND "split_cat_hypothesis_subjects"."subject_id" = 6 LIMIT 1
1853402
+  (0.1ms) begin transaction
1853403
+ SQL (0.5ms) INSERT INTO "split_cat_hypothesis_subjects" ("created_at", "experiment_id", "hypothesis_id", "subject_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 18 Jan 2014 09:43:09 UTC +00:00], ["experiment_id", 3], ["hypothesis_id", 7], ["subject_id", 6]]
1853404
+  (0.8ms) commit transaction
1853405
+ Rendered root/_homepage_a.html.erb (0.5ms)
1853406
+ Rendered root/index.html.erb within layouts/application (5.5ms)
1853407
+ Completed 200 OK in 155ms (Views: 42.6ms | ActiveRecord: 11.1ms)
1853408
+
1853409
+
1853410
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 01:43:09 -0800
1853411
+
1853412
+
1853413
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 01:43:09 -0800
1853414
+
1853415
+
1853416
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:45:18 -0800
1853417
+ Processing by RootController#index as HTML
1853418
+  (0.1ms) begin transaction
1853419
+ SQL (0.6ms) INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?) [["created_at", Sat, 18 Jan 2014 09:45:18 UTC +00:00], ["token", "mWKIs-JXaKCAl1XPfmB1jQ"]]
1853420
+ SQLite3::ConstraintException: column token is not unique: INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?)
1853421
+  (0.1ms) rollback transaction
1853422
+ Completed 500 Internal Server Error in 3ms
1853423
+
1853424
+ ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: column token is not unique: INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?)):
1853425
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:108:in `step'
1853426
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:108:in `block in each'
1853427
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:107:in `loop'
1853428
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:107:in `each'
1853429
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:316:in `to_a'
1853430
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:316:in `block in exec_query'
1853431
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'
1853432
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1853433
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract_adapter.rb:430:in `log'
1853434
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:295:in `exec_query'
1853435
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:69:in `exec_insert'
1853436
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `insert'
1853437
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
1853438
+ activerecord (4.0.2) lib/active_record/relation.rb:76:in `insert'
1853439
+ activerecord (4.0.2) lib/active_record/persistence.rb:509:in `create_record'
1853440
+ activerecord (4.0.2) lib/active_record/attribute_methods/dirty.rb:78:in `create_record'
1853441
+ activerecord (4.0.2) lib/active_record/callbacks.rb:306:in `block in create_record'
1853442
+ activesupport (4.0.2) lib/active_support/callbacks.rb:383:in `_run__2821518380143566820__create__callbacks'
1853443
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853444
+ activerecord (4.0.2) lib/active_record/callbacks.rb:306:in `create_record'
1853445
+ activerecord (4.0.2) lib/active_record/timestamp.rb:57:in `create_record'
1853446
+ activerecord (4.0.2) lib/active_record/persistence.rb:477:in `create_or_update'
1853447
+ activerecord (4.0.2) lib/active_record/callbacks.rb:302:in `block in create_or_update'
1853448
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2821518380143566820__save__callbacks'
1853449
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853450
+ activerecord (4.0.2) lib/active_record/callbacks.rb:302:in `create_or_update'
1853451
+ activerecord (4.0.2) lib/active_record/persistence.rb:106:in `save'
1853452
+ activerecord (4.0.2) lib/active_record/validations.rb:51:in `save'
1853453
+ activerecord (4.0.2) lib/active_record/attribute_methods/dirty.rb:32:in `save'
1853454
+ activerecord (4.0.2) lib/active_record/transactions.rb:270:in `block (2 levels) in save'
1853455
+ activerecord (4.0.2) lib/active_record/transactions.rb:326:in `block in with_transaction_returning_status'
1853456
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `block in transaction'
1853457
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:210:in `within_new_transaction'
1853458
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `transaction'
1853459
+ activerecord (4.0.2) lib/active_record/transactions.rb:209:in `transaction'
1853460
+ activerecord (4.0.2) lib/active_record/transactions.rb:323:in `with_transaction_returning_status'
1853461
+ activerecord (4.0.2) lib/active_record/transactions.rb:270:in `block in save'
1853462
+ activerecord (4.0.2) lib/active_record/transactions.rb:281:in `rollback_active_record_state!'
1853463
+ activerecord (4.0.2) lib/active_record/transactions.rb:269:in `save'
1853464
+ activerecord (4.0.2) lib/active_record/persistence.rb:37:in `create'
1853465
+ /Users/rdh727/schrodingersbox/split_cat/lib/split_cat/helpers.rb:8:in `split_cat_token'
1853466
+ /Users/rdh727/schrodingersbox/split_cat/lib/split_cat/helpers.rb:57:in `set_split_cat_cookie'
1853467
+ activesupport (4.0.2) lib/active_support/callbacks.rb:387:in `_run__3727769630792297360__process_action__callbacks'
1853468
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853469
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1853470
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1853471
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1853472
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1853473
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1853474
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1853475
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1853476
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1853477
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1853478
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1853479
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1853480
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1853481
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1853482
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1853483
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1853484
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1853485
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1853486
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1853487
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1853488
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1853489
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1853490
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1853491
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1853492
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1853493
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1853494
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1853495
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1853496
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1853497
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1853498
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1853499
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1853500
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1853501
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1853502
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2912347062835485161__call__callbacks'
1853503
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853504
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1853505
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1853506
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1853507
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1853508
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1853509
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1853510
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1853511
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1853512
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1853513
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1853514
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1853515
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1853516
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1853517
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1853518
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1853519
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1853520
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1853521
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1853522
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1853523
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1853524
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1853525
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1853526
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1853527
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1853528
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1853529
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1853530
+
1853531
+
1853532
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
1853533
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1853534
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
1853535
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.6ms)
1853536
+
1853537
+
1853538
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:46:17 -0800
1853539
+ Processing by RootController#index as HTML
1853540
+  (0.1ms) begin transaction
1853541
+ SQL (0.6ms) INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?) [["created_at", Sat, 18 Jan 2014 09:46:17 UTC +00:00], ["token", "mWKIs-JXaKCAl1XPfmB1jQ"]]
1853542
+ SQLite3::ConstraintException: column token is not unique: INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?)
1853543
+  (0.2ms) rollback transaction
1853544
+ Completed 500 Internal Server Error in 4ms
1853545
+
1853546
+ ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: column token is not unique: INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?)):
1853547
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:108:in `step'
1853548
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:108:in `block in each'
1853549
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:107:in `loop'
1853550
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:107:in `each'
1853551
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:316:in `to_a'
1853552
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:316:in `block in exec_query'
1853553
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'
1853554
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1853555
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract_adapter.rb:430:in `log'
1853556
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:295:in `exec_query'
1853557
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:69:in `exec_insert'
1853558
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `insert'
1853559
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
1853560
+ activerecord (4.0.2) lib/active_record/relation.rb:76:in `insert'
1853561
+ activerecord (4.0.2) lib/active_record/persistence.rb:509:in `create_record'
1853562
+ activerecord (4.0.2) lib/active_record/attribute_methods/dirty.rb:78:in `create_record'
1853563
+ activerecord (4.0.2) lib/active_record/callbacks.rb:306:in `block in create_record'
1853564
+ activesupport (4.0.2) lib/active_support/callbacks.rb:383:in `_run__2821518380143566820__create__callbacks'
1853565
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853566
+ activerecord (4.0.2) lib/active_record/callbacks.rb:306:in `create_record'
1853567
+ activerecord (4.0.2) lib/active_record/timestamp.rb:57:in `create_record'
1853568
+ activerecord (4.0.2) lib/active_record/persistence.rb:477:in `create_or_update'
1853569
+ activerecord (4.0.2) lib/active_record/callbacks.rb:302:in `block in create_or_update'
1853570
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2821518380143566820__save__callbacks'
1853571
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853572
+ activerecord (4.0.2) lib/active_record/callbacks.rb:302:in `create_or_update'
1853573
+ activerecord (4.0.2) lib/active_record/persistence.rb:106:in `save'
1853574
+ activerecord (4.0.2) lib/active_record/validations.rb:51:in `save'
1853575
+ activerecord (4.0.2) lib/active_record/attribute_methods/dirty.rb:32:in `save'
1853576
+ activerecord (4.0.2) lib/active_record/transactions.rb:270:in `block (2 levels) in save'
1853577
+ activerecord (4.0.2) lib/active_record/transactions.rb:326:in `block in with_transaction_returning_status'
1853578
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `block in transaction'
1853579
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:210:in `within_new_transaction'
1853580
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `transaction'
1853581
+ activerecord (4.0.2) lib/active_record/transactions.rb:209:in `transaction'
1853582
+ activerecord (4.0.2) lib/active_record/transactions.rb:323:in `with_transaction_returning_status'
1853583
+ activerecord (4.0.2) lib/active_record/transactions.rb:270:in `block in save'
1853584
+ activerecord (4.0.2) lib/active_record/transactions.rb:281:in `rollback_active_record_state!'
1853585
+ activerecord (4.0.2) lib/active_record/transactions.rb:269:in `save'
1853586
+ activerecord (4.0.2) lib/active_record/persistence.rb:37:in `create'
1853587
+ /Users/rdh727/schrodingersbox/split_cat/lib/split_cat/helpers.rb:8:in `split_cat_token'
1853588
+ /Users/rdh727/schrodingersbox/split_cat/lib/split_cat/helpers.rb:57:in `set_split_cat_cookie'
1853589
+ activesupport (4.0.2) lib/active_support/callbacks.rb:387:in `_run__3727769630792297360__process_action__callbacks'
1853590
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853591
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1853592
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1853593
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1853594
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1853595
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1853596
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1853597
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1853598
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1853599
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1853600
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1853601
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1853602
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1853603
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1853604
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1853605
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1853606
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1853607
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1853608
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1853609
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1853610
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1853611
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1853612
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1853613
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1853614
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1853615
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1853616
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1853617
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1853618
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1853619
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1853620
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1853621
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1853622
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1853623
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1853624
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2912347062835485161__call__callbacks'
1853625
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853626
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1853627
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1853628
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1853629
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1853630
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1853631
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1853632
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1853633
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1853634
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1853635
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1853636
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1853637
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1853638
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1853639
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1853640
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1853641
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1853642
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1853643
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1853644
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1853645
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1853646
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1853647
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1853648
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1853649
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1853650
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1853651
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1853652
+
1853653
+
1853654
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
1853655
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
1853656
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
1853657
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms)
1853658
+
1853659
+
1853660
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:46:18 -0800
1853661
+ Processing by RootController#index as HTML
1853662
+  (0.1ms) begin transaction
1853663
+ SQL (0.4ms) INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?) [["created_at", Sat, 18 Jan 2014 09:46:18 UTC +00:00], ["token", "mWKIs-JXaKCAl1XPfmB1jQ"]]
1853664
+ SQLite3::ConstraintException: column token is not unique: INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?)
1853665
+  (0.1ms) rollback transaction
1853666
+ Completed 500 Internal Server Error in 3ms
1853667
+
1853668
+ ActiveRecord::RecordNotUnique (SQLite3::ConstraintException: column token is not unique: INSERT INTO "split_cat_subjects" ("created_at", "token") VALUES (?, ?)):
1853669
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:108:in `step'
1853670
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:108:in `block in each'
1853671
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:107:in `loop'
1853672
+ sqlite3 (1.3.8) lib/sqlite3/statement.rb:107:in `each'
1853673
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:316:in `to_a'
1853674
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:316:in `block in exec_query'
1853675
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'
1853676
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1853677
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract_adapter.rb:430:in `log'
1853678
+ activerecord (4.0.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:295:in `exec_query'
1853679
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:69:in `exec_insert'
1853680
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `insert'
1853681
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
1853682
+ activerecord (4.0.2) lib/active_record/relation.rb:76:in `insert'
1853683
+ activerecord (4.0.2) lib/active_record/persistence.rb:509:in `create_record'
1853684
+ activerecord (4.0.2) lib/active_record/attribute_methods/dirty.rb:78:in `create_record'
1853685
+ activerecord (4.0.2) lib/active_record/callbacks.rb:306:in `block in create_record'
1853686
+ activesupport (4.0.2) lib/active_support/callbacks.rb:383:in `_run__2821518380143566820__create__callbacks'
1853687
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853688
+ activerecord (4.0.2) lib/active_record/callbacks.rb:306:in `create_record'
1853689
+ activerecord (4.0.2) lib/active_record/timestamp.rb:57:in `create_record'
1853690
+ activerecord (4.0.2) lib/active_record/persistence.rb:477:in `create_or_update'
1853691
+ activerecord (4.0.2) lib/active_record/callbacks.rb:302:in `block in create_or_update'
1853692
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2821518380143566820__save__callbacks'
1853693
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853694
+ activerecord (4.0.2) lib/active_record/callbacks.rb:302:in `create_or_update'
1853695
+ activerecord (4.0.2) lib/active_record/persistence.rb:106:in `save'
1853696
+ activerecord (4.0.2) lib/active_record/validations.rb:51:in `save'
1853697
+ activerecord (4.0.2) lib/active_record/attribute_methods/dirty.rb:32:in `save'
1853698
+ activerecord (4.0.2) lib/active_record/transactions.rb:270:in `block (2 levels) in save'
1853699
+ activerecord (4.0.2) lib/active_record/transactions.rb:326:in `block in with_transaction_returning_status'
1853700
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `block in transaction'
1853701
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:210:in `within_new_transaction'
1853702
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `transaction'
1853703
+ activerecord (4.0.2) lib/active_record/transactions.rb:209:in `transaction'
1853704
+ activerecord (4.0.2) lib/active_record/transactions.rb:323:in `with_transaction_returning_status'
1853705
+ activerecord (4.0.2) lib/active_record/transactions.rb:270:in `block in save'
1853706
+ activerecord (4.0.2) lib/active_record/transactions.rb:281:in `rollback_active_record_state!'
1853707
+ activerecord (4.0.2) lib/active_record/transactions.rb:269:in `save'
1853708
+ activerecord (4.0.2) lib/active_record/persistence.rb:37:in `create'
1853709
+ /Users/rdh727/schrodingersbox/split_cat/lib/split_cat/helpers.rb:8:in `split_cat_token'
1853710
+ /Users/rdh727/schrodingersbox/split_cat/lib/split_cat/helpers.rb:57:in `set_split_cat_cookie'
1853711
+ activesupport (4.0.2) lib/active_support/callbacks.rb:387:in `_run__3727769630792297360__process_action__callbacks'
1853712
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853713
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1853714
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1853715
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1853716
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1853717
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1853718
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1853719
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1853720
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1853721
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1853722
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1853723
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1853724
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1853725
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1853726
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1853727
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1853728
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1853729
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1853730
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1853731
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1853732
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1853733
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1853734
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1853735
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1853736
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1853737
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1853738
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1853739
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1853740
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1853741
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1853742
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1853743
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1853744
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1853745
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1853746
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2912347062835485161__call__callbacks'
1853747
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1853748
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1853749
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1853750
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1853751
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1853752
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1853753
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1853754
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1853755
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1853756
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1853757
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1853758
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1853759
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1853760
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1853761
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1853762
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1853763
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1853764
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1853765
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1853766
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1853767
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1853768
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1853769
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1853770
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1853771
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1853772
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1853773
+ /Users/rdh727/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1853774
+
1853775
+
1853776
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
1853777
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
1853778
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
1853779
+ Rendered /Users/rdh727/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms)
1853780
+
1853781
+
1853782
+ Started GET "/" for 127.0.0.1 at 2014-01-18 01:46:45 -0800
1853783
+ Processing by RootController#index as HTML
1853784
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853785
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" WHERE "split_cat_experiments"."name" = 'homepage_4' LIMIT 1
1853786
+ SplitCat::Goal Load (0.3ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" IN (3) ORDER BY "split_cat_goals"."name" ASC
1853787
+ SplitCat::Hypothesis Load (0.2ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" IN (3) ORDER BY "split_cat_hypotheses"."name" ASC
1853788
+ SplitCat::Subject Load (0.1ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' LIMIT 1
1853789
+ SplitCat::HypothesisSubject Load (0.1ms) SELECT "split_cat_hypothesis_subjects".* FROM "split_cat_hypothesis_subjects" WHERE "split_cat_hypothesis_subjects"."experiment_id" = 3 AND "split_cat_hypothesis_subjects"."subject_id" = 6 LIMIT 1
1853790
+ Rendered root/_homepage_a.html.erb (0.3ms)
1853791
+ Rendered root/index.html.erb within layouts/application (4.4ms)
1853792
+ Completed 200 OK in 137ms (Views: 46.0ms | ActiveRecord: 3.9ms)
1853793
+
1853794
+
1853795
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 01:46:45 -0800
1853796
+
1853797
+
1853798
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 01:46:45 -0800
1853799
+
1853800
+
1853801
+ Started GET "/split_cat" for 127.0.0.1 at 2014-01-18 01:59:30 -0800
1853802
+ Processing by SplitCat::ExperimentsController#index as HTML
1853803
+ SplitCat::Subject Load (1.0ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853804
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" ORDER BY id desc
1853805
+ SplitCat::Goal Load (0.5ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" = ? ORDER BY "split_cat_goals"."name" ASC [["experiment_id", 3]]
1853806
+ SplitCat::Hypothesis Load (0.2ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" = ? ORDER BY "split_cat_hypotheses"."name" ASC [["experiment_id", 3]]
1853807
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_form.html.erb (2.2ms)
1853808
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/index.html.erb within layouts/application (42.8ms)
1853809
+ Completed 200 OK in 75ms (Views: 53.7ms | ActiveRecord: 2.0ms)
1853810
+
1853811
+
1853812
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 01:59:30 -0800
1853813
+
1853814
+
1853815
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 01:59:30 -0800
1853816
+
1853817
+
1853818
+ Started GET "/split_cat/experiments/3" for 127.0.0.1 at 2014-01-18 01:59:35 -0800
1853819
+ Processing by SplitCat::ExperimentsController#show as HTML
1853820
+ Parameters: {"id"=>"3"}
1853821
+ SplitCat::Subject Load (0.3ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853822
+ SplitCat::Experiment Load (0.3ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" WHERE "split_cat_experiments"."id" = ? LIMIT 1 [["id", "3"]]
1853823
+ SplitCat::Goal Load (0.4ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" IN (3) ORDER BY "split_cat_goals"."name" ASC
1853824
+ SplitCat::Hypothesis Load (0.2ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" IN (3) ORDER BY "split_cat_hypotheses"."name" ASC
1853825
+  (0.4ms) select hypothesis_id, count( hypothesis_id ) as subject_count
1853826
+ from split_cat_hypothesis_subjects
1853827
+ where experiment_id = 3
1853828
+ group by hypothesis_id
1853829
+ 
1853830
+  (0.7ms) select goal_id, hypothesis_id, count( goal_id ) as subject_count
1853831
+ from split_cat_goal_subjects
1853832
+ where experiment_id = 3
1853833
+ group by goal_id, hypothesis_id
1853834
+
1853835
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/show.html.erb within layouts/application (30.0ms)
1853836
+ Completed 200 OK in 42ms (Views: 34.3ms | ActiveRecord: 2.3ms)
1853837
+
1853838
+
1853839
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 01:59:35 -0800
1853840
+
1853841
+
1853842
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 01:59:35 -0800
1853843
+
1853844
+
1853845
+ Started GET "/split_cat" for 127.0.0.1 at 2014-01-18 02:33:12 -0800
1853846
+ Processing by SplitCat::ExperimentsController#index as HTML
1853847
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853848
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" ORDER BY id desc
1853849
+ SplitCat::Goal Load (1.1ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" = ? ORDER BY "split_cat_goals"."name" ASC [["experiment_id", 3]]
1853850
+ SplitCat::Hypothesis Load (0.2ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" = ? ORDER BY "split_cat_hypotheses"."name" ASC [["experiment_id", 3]]
1853851
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_search.html.erb (2.2ms)
1853852
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/index.html.erb within layouts/application (54.5ms)
1853853
+ Completed 200 OK in 104ms (Views: 62.0ms | ActiveRecord: 3.7ms)
1853854
+
1853855
+
1853856
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 02:33:12 -0800
1853857
+
1853858
+
1853859
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 02:33:12 -0800
1853860
+
1853861
+
1853862
+ Started GET "/split_cat/experiments/3" for 127.0.0.1 at 2014-01-18 02:33:15 -0800
1853863
+ Processing by SplitCat::ExperimentsController#show as HTML
1853864
+ Parameters: {"id"=>"3"}
1853865
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853866
+ SplitCat::Experiment Load (0.1ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" WHERE "split_cat_experiments"."id" = ? LIMIT 1 [["id", "3"]]
1853867
+ SplitCat::Goal Load (0.2ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" IN (3) ORDER BY "split_cat_goals"."name" ASC
1853868
+ SplitCat::Hypothesis Load (0.2ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" IN (3) ORDER BY "split_cat_hypotheses"."name" ASC
1853869
+  (1.1ms) select hypothesis_id, count( hypothesis_id ) as subject_count
1853870
+ from split_cat_hypothesis_subjects
1853871
+ where experiment_id = 3
1853872
+ group by hypothesis_id
1853873
+ 
1853874
+  (0.6ms) select goal_id, hypothesis_id, count( goal_id ) as subject_count
1853875
+ from split_cat_goal_subjects
1853876
+ where experiment_id = 3
1853877
+ group by goal_id, hypothesis_id
1853878
+
1853879
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/show.html.erb within layouts/application (19.2ms)
1853880
+ Completed 200 OK in 30ms (Views: 22.4ms | ActiveRecord: 2.5ms)
1853881
+
1853882
+
1853883
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 02:33:15 -0800
1853884
+
1853885
+
1853886
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 02:33:15 -0800
1853887
+
1853888
+
1853889
+ Started GET "/split_cat/experiments/new" for 127.0.0.1 at 2014-01-18 02:33:31 -0800
1853890
+ Processing by SplitCat::ExperimentsController#new as HTML
1853891
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853892
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_form.html.erb (11.7ms)
1853893
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/new.html.erb within layouts/application (14.1ms)
1853894
+ Completed 200 OK in 22ms (Views: 17.3ms | ActiveRecord: 0.2ms)
1853895
+
1853896
+
1853897
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 02:33:31 -0800
1853898
+
1853899
+
1853900
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 02:33:31 -0800
1853901
+
1853902
+
1853903
+ Started GET "/split_cat/experiments/new" for 127.0.0.1 at 2014-01-18 02:36:48 -0800
1853904
+ Processing by SplitCat::ExperimentsController#new as HTML
1853905
+ SplitCat::Subject Load (1.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853906
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_form.html.erb (61.1ms)
1853907
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/new.html.erb within layouts/application (64.5ms)
1853908
+ Completed 200 OK in 98ms (Views: 80.1ms | ActiveRecord: 1.2ms)
1853909
+
1853910
+
1853911
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 02:36:48 -0800
1853912
+
1853913
+
1853914
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 02:36:48 -0800
1853915
+
1853916
+
1853917
+ Started POST "/split_cat/experiments" for 127.0.0.1 at 2014-01-18 02:37:03 -0800
1853918
+ Processing by SplitCat::ExperimentsController#create as HTML
1853919
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xyoRtOUOFCc6avNQqEzJm7uM549LCVSmlDStwga/LfM=", "experiment"=>{"name"=>"Test 2", "description"=>"Foobar", "winner_id"=>""}, "commit"=>"Create Experiment"}
1853920
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853921
+  (0.1ms) begin transaction
1853922
+ SplitCat::Experiment Exists (0.6ms) SELECT 1 AS one FROM "split_cat_experiments" WHERE "split_cat_experiments"."name" = 'Test 2' LIMIT 1
1853923
+ SQL (2.2ms) INSERT INTO "split_cat_experiments" ("created_at", "description", "name") VALUES (?, ?, ?) [["created_at", Sat, 18 Jan 2014 10:37:03 UTC +00:00], ["description", "Foobar"], ["name", "Test 2"]]
1853924
+  (0.9ms) commit transaction
1853925
+ Redirected to http://localhost:3000/split_cat/experiments/4
1853926
+ Completed 302 Found in 60ms (ActiveRecord: 4.1ms)
1853927
+
1853928
+
1853929
+ Started GET "/split_cat/experiments/4" for 127.0.0.1 at 2014-01-18 02:37:03 -0800
1853930
+ Processing by SplitCat::ExperimentsController#show as HTML
1853931
+ Parameters: {"id"=>"4"}
1853932
+ SplitCat::Subject Load (0.4ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853933
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" WHERE "split_cat_experiments"."id" = ? LIMIT 1 [["id", "4"]]
1853934
+ SplitCat::Goal Load (0.3ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" IN (4) ORDER BY "split_cat_goals"."name" ASC
1853935
+ SplitCat::Hypothesis Load (0.2ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" IN (4) ORDER BY "split_cat_hypotheses"."name" ASC
1853936
+  (0.3ms) select hypothesis_id, count( hypothesis_id ) as subject_count
1853937
+ from split_cat_hypothesis_subjects
1853938
+ where experiment_id = 4
1853939
+ group by hypothesis_id
1853940
+
1853941
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/show.html.erb within layouts/application (6.4ms)
1853942
+ Completed 200 OK in 18ms (Views: 10.3ms | ActiveRecord: 1.4ms)
1853943
+
1853944
+
1853945
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 02:37:03 -0800
1853946
+
1853947
+
1853948
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 02:37:03 -0800
1853949
+
1853950
+
1853951
+ Started GET "/split_cat" for 127.0.0.1 at 2014-01-18 02:37:12 -0800
1853952
+ Processing by SplitCat::ExperimentsController#index as HTML
1853953
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853954
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" ORDER BY id desc
1853955
+ SplitCat::Goal Load (0.1ms) SELECT "split_cat_goals".* FROM "split_cat_goals" WHERE "split_cat_goals"."experiment_id" = ? ORDER BY "split_cat_goals"."name" ASC [["experiment_id", 3]]
1853956
+ SplitCat::Hypothesis Load (0.1ms) SELECT "split_cat_hypotheses".* FROM "split_cat_hypotheses" WHERE "split_cat_hypotheses"."experiment_id" = ? ORDER BY "split_cat_hypotheses"."name" ASC [["experiment_id", 3]]
1853957
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_search.html.erb (0.6ms)
1853958
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/index.html.erb within layouts/application (9.9ms)
1853959
+ Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 0.6ms)
1853960
+
1853961
+
1853962
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 02:37:12 -0800
1853963
+
1853964
+
1853965
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 02:37:12 -0800
1853966
+
1853967
+
1853968
+ Started GET "/split_cat" for 127.0.0.1 at 2014-01-18 02:43:35 -0800
1853969
+ Processing by SplitCat::ExperimentsController#index as HTML
1853970
+ SplitCat::Subject Load (0.3ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853971
+ SplitCat::Experiment Load (2.1ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" ORDER BY id desc
1853972
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_search.html.erb (1.1ms)
1853973
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/index.html.erb within layouts/application (23.1ms)
1853974
+ Completed 200 OK in 109ms (Views: 36.4ms | ActiveRecord: 4.6ms)
1853975
+
1853976
+
1853977
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 02:43:36 -0800
1853978
+
1853979
+
1853980
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 02:43:36 -0800
1853981
+
1853982
+
1853983
+ Started GET "/split_cat" for 127.0.0.1 at 2014-01-18 03:08:53 -0800
1853984
+ Processing by SplitCat::ExperimentsController#index as HTML
1853985
+ SplitCat::Subject Load (0.3ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1853986
+ SplitCat::Experiment Load (0.3ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" ORDER BY id desc
1853987
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_search.html.erb (1.1ms)
1853988
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/index.html.erb within layouts/application (15.7ms)
1853989
+ Completed 200 OK in 79ms (Views: 28.5ms | ActiveRecord: 2.1ms)
1853990
+
1853991
+
1853992
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 03:08:54 -0800
1853993
+
1853994
+
1853995
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 03:08:54 -0800
1853996
+
1853997
+
1853998
+ Started GET "/split_cat" for 127.0.0.1 at 2014-01-18 03:09:13 -0800
1853999
+ Processing by SplitCat::ExperimentsController#index as HTML
1854000
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1854001
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" ORDER BY id desc
1854002
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_search.html.erb (1.8ms)
1854003
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/index.html.erb within layouts/application (6.1ms)
1854004
+ Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.4ms)
1854005
+
1854006
+
1854007
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 03:09:13 -0800
1854008
+
1854009
+
1854010
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 03:09:13 -0800
1854011
+
1854012
+
1854013
+ Started GET "/split_cat/experiments/new" for 127.0.0.1 at 2014-01-18 03:09:17 -0800
1854014
+ Processing by SplitCat::ExperimentsController#new as HTML
1854015
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1854016
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_form.html.erb (7.0ms)
1854017
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/new.html.erb within layouts/application (9.2ms)
1854018
+ Completed 200 OK in 18ms (Views: 15.1ms | ActiveRecord: 0.2ms)
1854019
+
1854020
+
1854021
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 03:09:17 -0800
1854022
+
1854023
+
1854024
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 03:09:17 -0800
1854025
+
1854026
+
1854027
+ Started GET "/split_cat" for 127.0.0.1 at 2014-01-18 03:10:41 -0800
1854028
+ Processing by SplitCat::ExperimentsController#index as HTML
1854029
+ SplitCat::Subject Load (0.2ms) SELECT "split_cat_subjects".* FROM "split_cat_subjects" WHERE "split_cat_subjects"."token" = 'mWKIs-JXaKCAl1XPfmB1jQ' ORDER BY "split_cat_subjects"."id" ASC LIMIT 1
1854030
+ SplitCat::Experiment Load (0.2ms) SELECT "split_cat_experiments".* FROM "split_cat_experiments" ORDER BY id desc
1854031
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/_search.html.erb (0.7ms)
1854032
+ Rendered /Users/rdh727/schrodingersbox/split_cat/app/views/split_cat/experiments/index.html.erb within layouts/application (40.8ms)
1854033
+ Completed 200 OK in 97ms (Views: 73.7ms | ActiveRecord: 1.1ms)
1854034
+
1854035
+
1854036
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-18 03:10:42 -0800
1854037
+
1854038
+
1854039
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-18 03:10:42 -0800