gatherable 2.0.0 → 2.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4cc971a909ed605b6e2438d967017cb5e8b0197
4
- data.tar.gz: 3ab989877d63570afb2b91cf194814468c76f263
3
+ metadata.gz: 6c9a82043d385955e2fcbb9802e1df99e895965a
4
+ data.tar.gz: fbf14584d8b89aaa20abf60f036ec8374436cf9f
5
5
  SHA512:
6
- metadata.gz: ed5f8b4d444fdf3cadc0fee9150f45da62c555b518ce6a2849862bb8ddc5470e49eab0da94383b777f2ab3e614cc2f92c4eb6afc9f41bef7709cb24cef068c97
7
- data.tar.gz: 0950e67aa43118895f8fbd53f0b64d8bebd1c13fd1c4f964808524392dc01c96f34fec8ac1b693c325c54446a9d1ee855d40d4f0a8cdd2c6322539343276c3c0
6
+ metadata.gz: 0fbe39938c38139753fe3a700cb1e63ec179002a3d4c3c3f6ac0d1b31ef208b387ac7a3fcb1b923c5db5b1ab864099d8b3d45c1d5be586cc9793785a18312da0
7
+ data.tar.gz: 06df1bcdf3ae23c49e1397e1e45e349c7009c2117263aacc95785ce3f53eaada877de24e45ed6db702f9924d61683169f04d8695f9783f20db8460b54178b015
@@ -74,9 +74,20 @@ module Gatherable
74
74
  end
75
75
 
76
76
  def model_params
77
- params.require(model_name_as_var).permit(
78
- *model_class.column_names - [global_id]
77
+ scalar_vals = params.require(model_name_as_var).permit(
78
+ *model_class.column_names - [global_id] - non_scalar_model_params
79
79
  ).merge(global_id => global_id_val)
80
+ non_scalar_vals = non_scalar_model_params.each_with_object(Hash.new) do |attr, vals|
81
+ vals[attr] = params[model_name_as_var][attr]
82
+ end
83
+ non_scalar_vals.merge(scalar_vals)
84
+ end
85
+
86
+ def non_scalar_model_params
87
+ columns = model_class.columns_hash.select do |_column_name, column_attributes|
88
+ column_attributes.sql_type == 'json'
89
+ end
90
+ columns.keys
80
91
  end
81
92
 
82
93
  def global_id
@@ -13,7 +13,11 @@ class DataTable
13
13
  @name = name
14
14
  @columns = columns
15
15
  @new_record_strategy = options[:new_record_strategy] || :insert
16
- @allowed_controller_actions = (options[:allowed_controller_actions] || legacy_controller_actions).map(&:to_s)
16
+ if options[:allowed_controller_actions].present?
17
+ @allowed_controller_actions = Array(options[:allowed_controller_actions]).map(&:to_sym)
18
+ else
19
+ @allowed_controller_actions = legacy_controller_actions
20
+ end
17
21
  self.class.all[name.to_sym] = self
18
22
  end
19
23
 
@@ -40,6 +44,6 @@ class DataTable
40
44
  private
41
45
 
42
46
  def legacy_controller_actions
43
- %w[show create]
47
+ [:show, :create]
44
48
  end
45
49
  end
@@ -12,18 +12,22 @@ class JavascriptWriter
12
12
  return
13
13
  end
14
14
  File.open(javascript_class, 'w') do |f|
15
+ if Gatherable.config.prefixed_resources.include?(data_table.name)
16
+ function_arg = 'global_identifier, '
17
+ path_arg = ' + global_identifier + /'
18
+ end
15
19
  f.puts <<-class
16
20
  var #{data_table.class_name} = {
17
- create: function(global_identifier, options){
21
+ create: function(#{function_arg}options){
18
22
  $.ajax({
19
- url: '/gatherable/' + global_identifier + '/#{data_table.name.to_s.pluralize}',
23
+ url: '/gatherable/#{path_arg}#{data_table.name.to_s.pluralize}',
20
24
  method: 'POST',
21
25
  data: { #{data_table.name}: options }
22
26
  });
23
27
  },
24
28
  get: function(global_identifier, id) {
25
29
  $.ajax({
26
- url: '/gatherable/' + global_identifier + '/#{data_table.name}/' + options[#{data_table.name}_id]
30
+ url: '/gatherable/#{path_arg}#{data_table.name}/' + options[#{data_table.name}_id]
27
31
  });
28
32
  }
29
33
  }
@@ -1,3 +1,3 @@
1
1
  module Gatherable
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -3,7 +3,7 @@ require 'rails_helper'
3
3
  describe 'Gatherable::PricesController', :type => :request do
4
4
 
5
5
  let(:data_table) { Gatherable.config.data_tables.first }
6
- let(:model_name) { data_table.name }
6
+ let(:model_name) { data_table.name.to_s }
7
7
  let(:model_class) { data_table.classify }
8
8
  let(:controller_class) { data_table.controllerify }
9
9
  let(:global_id) { 'session_id123' }
@@ -155510,3 +155510,4024 @@ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-02 21:01:48
155510
155510
   (0.1ms) ROLLBACK
155511
155511
   (0.1ms) BEGIN
155512
155512
   (0.1ms) ROLLBACK
155513
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
155514
+  (113.3ms) DROP DATABASE IF EXISTS "gatherable_test"
155515
+  (963.8ms) CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
155516
+  (18.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
155517
+  (6.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
155518
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
155519
+ Migrating to CreateGatherableSchema (20160307205025)
155520
+  (0.1ms) BEGIN
155521
+  (0.3ms) CREATE SCHEMA gatherable
155522
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307205025"]]
155523
+  (5.5ms) COMMIT
155524
+ Migrating to CreateGatherablePrice (20160307205026)
155525
+  (0.1ms) BEGIN
155526
+  (20.7ms) CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
155527
+  (3.4ms) CREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")
155528
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307205026"]]
155529
+  (0.3ms) COMMIT
155530
+  (1.6ms) BEGIN
155531
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155532
+ Processing by Gatherable::PricesController#index as JSON
155533
+ Parameters: {"session_id"=>"session_id123"}
155534
+ Completed 302 Found in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)
155535
+  (0.1ms) ROLLBACK
155536
+  (0.0ms) BEGIN
155537
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155538
+ Processing by Gatherable::PricesController#index as JSON
155539
+ Parameters: {"session_id"=>"session_id123"}
155540
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
155541
+  (0.1ms) ROLLBACK
155542
+  (0.0ms) BEGIN
155543
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155544
+ Processing by Gatherable::PricesController#index as JSON
155545
+ Parameters: {"session_id"=>"session_id123"}
155546
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
155547
+ Completed 302 Found in 5ms (Views: 0.9ms | ActiveRecord: 0.3ms)
155548
+  (0.1ms) ROLLBACK
155549
+  (0.0ms) BEGIN
155550
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155551
+ Processing by Gatherable::PricesController#index as JSON
155552
+ Parameters: {"session_id"=>"session_id123123"}
155553
+ Filter chain halted as :authenticate rendered or redirected
155554
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155555
+  (0.1ms) ROLLBACK
155556
+  (0.0ms) BEGIN
155557
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155558
+ Processing by Gatherable::PricesController#index as JSON
155559
+ Parameters: {"session_id"=>"session_id123123"}
155560
+ Filter chain halted as :authenticate rendered or redirected
155561
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155562
+  (0.1ms) ROLLBACK
155563
+  (0.1ms) BEGIN
155564
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155565
+ Processing by Gatherable::PricesController#show as JSON
155566
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
155567
+ Completed 302 Found in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
155568
+  (0.1ms) ROLLBACK
155569
+  (0.1ms) BEGIN
155570
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155571
+ Processing by Gatherable::PricesController#show as JSON
155572
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
155573
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
155574
+  (0.1ms) ROLLBACK
155575
+  (0.0ms) BEGIN
155576
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155577
+ Processing by Gatherable::PricesController#show as JSON
155578
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
155579
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
155580
+  (0.1ms) ROLLBACK
155581
+  (0.1ms) BEGIN
155582
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155583
+ Processing by Gatherable::PricesController#show as JSON
155584
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
155585
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
155586
+  (0.1ms) ROLLBACK
155587
+  (0.1ms) BEGIN
155588
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155589
+ Processing by Gatherable::PricesController#index as JSON
155590
+ Parameters: {"session_id"=>"session_id123123"}
155591
+ Filter chain halted as :authenticate rendered or redirected
155592
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155593
+  (0.1ms) ROLLBACK
155594
+  (0.1ms) BEGIN
155595
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155596
+ Processing by Gatherable::PricesController#index as JSON
155597
+ Parameters: {"session_id"=>"session_id123123"}
155598
+ Filter chain halted as :authenticate rendered or redirected
155599
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155600
+  (0.1ms) ROLLBACK
155601
+  (0.0ms) BEGIN
155602
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155603
+ Processing by Gatherable::PricesController#create as JSON
155604
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155605
+ Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.0ms)
155606
+  (0.1ms) ROLLBACK
155607
+  (0.1ms) BEGIN
155608
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155609
+ Processing by Gatherable::PricesController#create as JSON
155610
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155611
+  (0.1ms) SAVEPOINT active_record_1
155612
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.494960"]]
155613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155614
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
155615
+  (0.1ms) ROLLBACK
155616
+  (0.0ms) BEGIN
155617
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155618
+ Processing by Gatherable::PricesController#create as JSON
155619
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155620
+  (0.1ms) SAVEPOINT active_record_1
155621
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.504922"]]
155622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155623
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
155624
+  (0.1ms) ROLLBACK
155625
+  (0.1ms) BEGIN
155626
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155627
+ Processing by Gatherable::PricesController#create as JSON
155628
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155629
+  (0.1ms) SAVEPOINT active_record_1
155630
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.514123"]]
155631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155632
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
155633
+  (0.1ms) ROLLBACK
155634
+  (0.0ms) BEGIN
155635
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155636
+ Processing by Gatherable::PricesController#create as JSON
155637
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155638
+  (0.1ms) SAVEPOINT active_record_1
155639
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.524093"]]
155640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155641
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
155642
+  (0.1ms) ROLLBACK
155643
+  (0.1ms) BEGIN
155644
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155645
+ Processing by Gatherable::PricesController#create as JSON
155646
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155647
+  (0.1ms) SAVEPOINT active_record_1
155648
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.533794"]]
155649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155650
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
155651
+  (0.1ms) ROLLBACK
155652
+  (0.1ms) BEGIN
155653
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155654
+ Processing by Gatherable::PricesController#create as JSON
155655
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155656
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155657
+  (0.1ms) SAVEPOINT active_record_1
155658
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:25.545922"]]
155659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155660
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
155661
+  (0.1ms) ROLLBACK
155662
+  (0.0ms) BEGIN
155663
+  (0.0ms) SAVEPOINT active_record_1
155664
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.551066"]]
155665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155666
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155667
+ Processing by Gatherable::PricesController#create as JSON
155668
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155669
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155670
+  (0.1ms) SAVEPOINT active_record_1
155671
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 7]]
155672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155673
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
155674
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 7]]
155675
+  (0.1ms) ROLLBACK
155676
+  (0.0ms) BEGIN
155677
+  (0.1ms) SAVEPOINT active_record_1
155678
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.563221"]]
155679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155680
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
155681
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155682
+ Processing by Gatherable::PricesController#create as JSON
155683
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155684
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155685
+  (0.1ms) SAVEPOINT active_record_1
155686
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 8]]
155687
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155688
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
155689
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
155690
+  (0.1ms) ROLLBACK
155691
+  (0.1ms) BEGIN
155692
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
155693
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155694
+ Processing by Gatherable::PricesController#create as JSON
155695
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155696
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155697
+  (0.1ms) SAVEPOINT active_record_1
155698
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:25.588194"]]
155699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155700
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
155701
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
155702
+  (0.1ms) ROLLBACK
155703
+  (0.1ms) BEGIN
155704
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155705
+ Processing by Gatherable::PricesController#create as JSON
155706
+ Parameters: {"yolo"=>"swag", "session_id"=>"session_id123"}
155707
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
155708
+  (0.1ms) ROLLBACK
155709
+  (0.1ms) BEGIN
155710
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155711
+ Processing by Gatherable::PricesController#create as JSON
155712
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155713
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
155714
+  (0.1ms) ROLLBACK
155715
+  (0.1ms) BEGIN
155716
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155717
+ Processing by Gatherable::PricesController#create as JSON
155718
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155719
+  (0.1ms) SAVEPOINT active_record_1
155720
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.615943"]]
155721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155722
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
155723
+  (0.2ms) ROLLBACK
155724
+  (0.0ms) BEGIN
155725
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155726
+ Processing by Gatherable::PricesController#create as JSON
155727
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155728
+  (0.1ms) SAVEPOINT active_record_1
155729
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.625847"]]
155730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155731
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
155732
+  (0.1ms) ROLLBACK
155733
+  (0.1ms) BEGIN
155734
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155735
+ Processing by Gatherable::PricesController#create as JSON
155736
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155737
+  (0.1ms) SAVEPOINT active_record_1
155738
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.634935"]]
155739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155740
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
155741
+  (0.1ms) ROLLBACK
155742
+  (0.1ms) BEGIN
155743
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155744
+ Processing by Gatherable::PricesController#create as JSON
155745
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155746
+  (0.1ms) SAVEPOINT active_record_1
155747
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.644846"]]
155748
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155749
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
155750
+  (0.1ms) ROLLBACK
155751
+  (0.0ms) BEGIN
155752
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155753
+ Processing by Gatherable::PricesController#create as JSON
155754
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155755
+  (0.1ms) SAVEPOINT active_record_1
155756
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.653015"]]
155757
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155758
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
155759
+  (0.1ms) ROLLBACK
155760
+  (0.1ms) BEGIN
155761
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155762
+ Processing by Gatherable::PricesController#create as JSON
155763
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155764
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155765
+  (0.1ms) SAVEPOINT active_record_1
155766
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:25.664011"]]
155767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155768
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
155769
+  (0.2ms) ROLLBACK
155770
+  (0.1ms) BEGIN
155771
+  (0.1ms) SAVEPOINT active_record_1
155772
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.678686"]]
155773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155774
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155775
+ Processing by Gatherable::PricesController#create as JSON
155776
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155777
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155778
+  (0.1ms) SAVEPOINT active_record_1
155779
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 16]]
155780
+  (0.2ms) RELEASE SAVEPOINT active_record_1
155781
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)
155782
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 16]]
155783
+  (0.1ms) ROLLBACK
155784
+  (0.0ms) BEGIN
155785
+  (0.1ms) SAVEPOINT active_record_1
155786
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.692947"]]
155787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155788
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
155789
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155790
+ Processing by Gatherable::PricesController#create as JSON
155791
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155792
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155793
+  (0.1ms) SAVEPOINT active_record_1
155794
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 17]]
155795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155796
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
155797
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
155798
+  (0.1ms) ROLLBACK
155799
+  (0.0ms) BEGIN
155800
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
155801
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155802
+ Processing by Gatherable::PricesController#create as JSON
155803
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
155804
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
155805
+  (0.2ms) SAVEPOINT active_record_1
155806
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:25.711569"]]
155807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155808
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
155809
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
155810
+  (0.1ms) ROLLBACK
155811
+  (0.1ms) BEGIN
155812
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155813
+ Processing by Gatherable::PricesController#create as JSON
155814
+ Parameters: {"session_id"=>"session_id123123"}
155815
+ Filter chain halted as :authenticate rendered or redirected
155816
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155817
+  (0.1ms) ROLLBACK
155818
+  (0.0ms) BEGIN
155819
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155820
+ Processing by Gatherable::PricesController#create as JSON
155821
+ Parameters: {"session_id"=>"session_id123123"}
155822
+ Filter chain halted as :authenticate rendered or redirected
155823
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155824
+  (0.1ms) ROLLBACK
155825
+  (0.1ms) BEGIN
155826
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155827
+ Processing by Gatherable::PricesController#create as JSON
155828
+ Parameters: {"session_id"=>"session_id123123"}
155829
+ Filter chain halted as :authenticate rendered or redirected
155830
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155831
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
155832
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
155833
+  (0.1ms) ROLLBACK
155834
+  (0.1ms) BEGIN
155835
+  (0.1ms) SAVEPOINT active_record_1
155836
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 02:50:25.749362"]]
155837
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155838
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155839
+ Processing by Gatherable::PricesController#update as JSON
155840
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
155841
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
155842
+  (0.1ms) SAVEPOINT active_record_1
155843
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
155844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155845
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
155846
+ Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.7ms)
155847
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
155848
+  (0.1ms) ROLLBACK
155849
+  (0.1ms) BEGIN
155850
+  (0.1ms) SAVEPOINT active_record_1
155851
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 02:50:25.766953"]]
155852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155853
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155854
+ Processing by Gatherable::PricesController#update as JSON
155855
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
155856
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
155857
+  (0.1ms) SAVEPOINT active_record_1
155858
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
155859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155860
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
155861
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)
155862
+  (0.1ms) ROLLBACK
155863
+  (0.1ms) BEGIN
155864
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155865
+ Processing by Gatherable::PricesController#update as JSON
155866
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
155867
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
155868
+  (0.1ms) ROLLBACK
155869
+  (0.1ms) BEGIN
155870
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155871
+ Processing by Gatherable::PricesController#update as JSON
155872
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
155873
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
155874
+  (0.1ms) ROLLBACK
155875
+  (0.1ms) BEGIN
155876
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155877
+ Processing by Gatherable::PricesController#update as JSON
155878
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
155879
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
155880
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
155881
+  (0.1ms) ROLLBACK
155882
+  (0.0ms) BEGIN
155883
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155884
+ Processing by Gatherable::PricesController#update as JSON
155885
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
155886
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
155887
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
155888
+  (0.1ms) ROLLBACK
155889
+  (0.0ms) BEGIN
155890
+  (0.1ms) SAVEPOINT active_record_1
155891
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.817303"]]
155892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155893
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 19]]
155894
+ Started PUT "/gatherable/session_id123123/prices/19.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155895
+ Processing by Gatherable::PricesController#update as JSON
155896
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"19"}
155897
+ Filter chain halted as :authenticate rendered or redirected
155898
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155899
+  (0.1ms) ROLLBACK
155900
+  (0.1ms) BEGIN
155901
+  (0.1ms) SAVEPOINT active_record_1
155902
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.828733"]]
155903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155904
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 20]]
155905
+ Started PUT "/gatherable/session_id123123/prices/20.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155906
+ Processing by Gatherable::PricesController#update as JSON
155907
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"20"}
155908
+ Filter chain halted as :authenticate rendered or redirected
155909
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155910
+  (0.1ms) ROLLBACK
155911
+  (0.1ms) BEGIN
155912
+  (0.1ms) SAVEPOINT active_record_1
155913
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.840357"]]
155914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155915
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
155916
+ Started PUT "/gatherable/session_id123123/prices/21.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155917
+ Processing by Gatherable::PricesController#update as JSON
155918
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"21"}
155919
+ Filter chain halted as :authenticate rendered or redirected
155920
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155921
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
155922
+  (0.1ms) ROLLBACK
155923
+  (0.1ms) BEGIN
155924
+  (0.1ms) SAVEPOINT active_record_1
155925
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.850406"]]
155926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155927
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
155928
+ Started DELETE "/gatherable/session_id123/prices/22.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155929
+ Processing by Gatherable::PricesController#destroy as JSON
155930
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"22"}
155931
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
155932
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
155933
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
155934
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
155935
+  (0.1ms) ROLLBACK
155936
+  (0.0ms) BEGIN
155937
+  (0.1ms) SAVEPOINT active_record_1
155938
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.861455"]]
155939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155940
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
155941
+ Started DELETE "/gatherable/session_id123/prices/23.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155942
+ Processing by Gatherable::PricesController#destroy as JSON
155943
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"23"}
155944
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
155945
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 23]]
155946
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
155947
+  (0.1ms) ROLLBACK
155948
+  (0.1ms) BEGIN
155949
+  (0.1ms) SAVEPOINT active_record_1
155950
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.871599"]]
155951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155952
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
155953
+ Started DELETE "/gatherable/session_id123/prices/24.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155954
+ Processing by Gatherable::PricesController#destroy as JSON
155955
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"24"}
155956
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
155957
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 24]]
155958
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
155959
+  (0.1ms) ROLLBACK
155960
+  (0.1ms) BEGIN
155961
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155962
+ Processing by Gatherable::PricesController#destroy as JSON
155963
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
155964
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
155965
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
155966
+  (0.1ms) ROLLBACK
155967
+  (0.0ms) BEGIN
155968
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155969
+ Processing by Gatherable::PricesController#destroy as JSON
155970
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
155971
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
155972
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
155973
+  (0.1ms) ROLLBACK
155974
+  (0.1ms) BEGIN
155975
+  (0.1ms) SAVEPOINT active_record_1
155976
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.900892"]]
155977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155978
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 25]]
155979
+ Started DELETE "/gatherable/session_id123123/prices/25.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155980
+ Processing by Gatherable::PricesController#destroy as JSON
155981
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"25"}
155982
+ Filter chain halted as :authenticate rendered or redirected
155983
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155984
+  (0.1ms) ROLLBACK
155985
+  (0.1ms) BEGIN
155986
+  (0.1ms) SAVEPOINT active_record_1
155987
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.912001"]]
155988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
155989
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 26]]
155990
+ Started DELETE "/gatherable/session_id123123/prices/26.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
155991
+ Processing by Gatherable::PricesController#destroy as JSON
155992
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"26"}
155993
+ Filter chain halted as :authenticate rendered or redirected
155994
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
155995
+  (0.1ms) ROLLBACK
155996
+  (0.1ms) BEGIN
155997
+  (0.1ms) SAVEPOINT active_record_1
155998
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:25.923954"]]
155999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156000
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 27]]
156001
+ Started DELETE "/gatherable/session_id123123/prices/27.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156002
+ Processing by Gatherable::PricesController#destroy as JSON
156003
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"27"}
156004
+ Filter chain halted as :authenticate rendered or redirected
156005
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156006
+  (0.1ms) ROLLBACK
156007
+  (0.0ms) BEGIN
156008
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156009
+ Processing by Gatherable::PricesController#index as JSON
156010
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156011
+  (0.1ms) ROLLBACK
156012
+  (0.1ms) BEGIN
156013
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156014
+ Processing by Gatherable::PricesController#index as JSON
156015
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156016
+  (0.1ms) ROLLBACK
156017
+  (0.1ms) BEGIN
156018
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156019
+ Processing by Gatherable::PricesController#index as JSON
156020
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
156021
+ Completed 302 Found in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
156022
+  (0.1ms) ROLLBACK
156023
+  (0.1ms) BEGIN
156024
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156025
+ Processing by Gatherable::PricesController#show as JSON
156026
+ Parameters: {"price_id"=>"1"}
156027
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156028
+  (0.1ms) ROLLBACK
156029
+  (0.0ms) BEGIN
156030
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156031
+ Processing by Gatherable::PricesController#show as JSON
156032
+ Parameters: {"price_id"=>"1"}
156033
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156034
+  (0.1ms) ROLLBACK
156035
+  (0.1ms) BEGIN
156036
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156037
+ Processing by Gatherable::PricesController#show as JSON
156038
+ Parameters: {"price_id"=>"0"}
156039
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156040
+  (0.2ms) ROLLBACK
156041
+  (0.1ms) BEGIN
156042
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156043
+ Processing by Gatherable::PricesController#show as JSON
156044
+ Parameters: {"price_id"=>"0"}
156045
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156046
+  (0.1ms) ROLLBACK
156047
+  (0.0ms) BEGIN
156048
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:25 -0600
156049
+ Processing by Gatherable::PricesController#create as JSON
156050
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156051
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
156052
+  (0.1ms) ROLLBACK
156053
+  (0.0ms) BEGIN
156054
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156055
+ Processing by Gatherable::PricesController#create as JSON
156056
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156057
+  (0.1ms) SAVEPOINT active_record_1
156058
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.008807"]]
156059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156060
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156061
+  (0.2ms) ROLLBACK
156062
+  (0.1ms) BEGIN
156063
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156064
+ Processing by Gatherable::PricesController#create as JSON
156065
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156066
+  (0.1ms) SAVEPOINT active_record_1
156067
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.020715"]]
156068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156069
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156070
+  (0.1ms) ROLLBACK
156071
+  (0.0ms) BEGIN
156072
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156073
+ Processing by Gatherable::PricesController#create as JSON
156074
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156075
+  (0.1ms) SAVEPOINT active_record_1
156076
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.029944"]]
156077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156078
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156079
+  (0.1ms) ROLLBACK
156080
+  (0.1ms) BEGIN
156081
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156082
+ Processing by Gatherable::PricesController#create as JSON
156083
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156084
+  (0.1ms) SAVEPOINT active_record_1
156085
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.039190"]]
156086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156087
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156088
+  (0.1ms) ROLLBACK
156089
+  (0.0ms) BEGIN
156090
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156091
+ Processing by Gatherable::PricesController#create as JSON
156092
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156093
+  (0.1ms) SAVEPOINT active_record_1
156094
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.047342"]]
156095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156096
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156097
+  (0.1ms) ROLLBACK
156098
+  (0.1ms) BEGIN
156099
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156100
+ Processing by Gatherable::PricesController#create as JSON
156101
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156102
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156103
+  (0.1ms) SAVEPOINT active_record_1
156104
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:26.056103"]]
156105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156106
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156107
+  (0.1ms) ROLLBACK
156108
+  (0.1ms) BEGIN
156109
+  (0.1ms) SAVEPOINT active_record_1
156110
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.061001"]]
156111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156112
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156113
+ Processing by Gatherable::PricesController#create as JSON
156114
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156115
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156116
+  (0.1ms) SAVEPOINT active_record_1
156117
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 34]]
156118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156119
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156120
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 34]]
156121
+  (0.1ms) ROLLBACK
156122
+  (0.1ms) BEGIN
156123
+  (0.1ms) SAVEPOINT active_record_1
156124
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.071819"]]
156125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156126
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156127
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156128
+ Processing by Gatherable::PricesController#create as JSON
156129
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156130
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156131
+  (0.1ms) SAVEPOINT active_record_1
156132
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 35]]
156133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156134
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156135
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156136
+  (0.1ms) ROLLBACK
156137
+  (0.0ms) BEGIN
156138
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156139
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156140
+ Processing by Gatherable::PricesController#create as JSON
156141
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156142
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156143
+  (0.1ms) SAVEPOINT active_record_1
156144
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:26.088590"]]
156145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156146
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
156147
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156148
+  (0.1ms) ROLLBACK
156149
+  (0.0ms) BEGIN
156150
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156151
+ Processing by Gatherable::PricesController#create as JSON
156152
+ Parameters: {"yolo"=>"swag"}
156153
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156154
+  (0.1ms) ROLLBACK
156155
+  (0.0ms) BEGIN
156156
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156157
+ Processing by Gatherable::PricesController#create as JSON
156158
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156159
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
156160
+  (0.1ms) ROLLBACK
156161
+  (0.0ms) BEGIN
156162
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156163
+ Processing by Gatherable::PricesController#create as JSON
156164
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156165
+  (0.1ms) SAVEPOINT active_record_1
156166
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.111402"]]
156167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156168
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156169
+  (0.1ms) ROLLBACK
156170
+  (0.0ms) BEGIN
156171
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156172
+ Processing by Gatherable::PricesController#create as JSON
156173
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156174
+  (0.1ms) SAVEPOINT active_record_1
156175
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.119986"]]
156176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156177
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156178
+  (0.2ms) ROLLBACK
156179
+  (0.1ms) BEGIN
156180
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156181
+ Processing by Gatherable::PricesController#create as JSON
156182
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156183
+  (0.1ms) SAVEPOINT active_record_1
156184
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.134961"]]
156185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156186
+ Completed 201 Created in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
156187
+  (0.1ms) ROLLBACK
156188
+  (0.1ms) BEGIN
156189
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156190
+ Processing by Gatherable::PricesController#create as JSON
156191
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156192
+  (0.1ms) SAVEPOINT active_record_1
156193
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.145740"]]
156194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156195
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156196
+  (0.1ms) ROLLBACK
156197
+  (0.0ms) BEGIN
156198
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156199
+ Processing by Gatherable::PricesController#create as JSON
156200
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156201
+  (0.1ms) SAVEPOINT active_record_1
156202
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.155209"]]
156203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156204
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156205
+  (0.1ms) ROLLBACK
156206
+  (0.1ms) BEGIN
156207
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156208
+ Processing by Gatherable::PricesController#create as JSON
156209
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156210
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156211
+  (0.1ms) SAVEPOINT active_record_1
156212
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:26.166927"]]
156213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156214
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156215
+  (0.1ms) ROLLBACK
156216
+  (0.1ms) BEGIN
156217
+  (0.3ms) SAVEPOINT active_record_1
156218
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.173481"]]
156219
+  (0.2ms) RELEASE SAVEPOINT active_record_1
156220
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156221
+ Processing by Gatherable::PricesController#create as JSON
156222
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156223
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156224
+  (0.1ms) SAVEPOINT active_record_1
156225
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 43]]
156226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156227
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
156228
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 43]]
156229
+  (0.1ms) ROLLBACK
156230
+  (0.0ms) BEGIN
156231
+  (0.1ms) SAVEPOINT active_record_1
156232
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.185844"]]
156233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156234
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156235
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156236
+ Processing by Gatherable::PricesController#create as JSON
156237
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156238
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156239
+  (0.1ms) SAVEPOINT active_record_1
156240
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 44]]
156241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156242
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156243
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156244
+  (0.1ms) ROLLBACK
156245
+  (0.0ms) BEGIN
156246
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
156247
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156248
+ Processing by Gatherable::PricesController#create as JSON
156249
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
156250
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156251
+  (0.1ms) SAVEPOINT active_record_1
156252
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 02:50:26.205659"]]
156253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156254
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156255
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156256
+  (0.1ms) ROLLBACK
156257
+  (0.1ms) BEGIN
156258
+  (0.1ms) SAVEPOINT active_record_1
156259
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 02:50:26.213524"]]
156260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156261
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156262
+ Processing by Gatherable::PricesController#update as JSON
156263
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
156264
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156265
+  (0.1ms) SAVEPOINT active_record_1
156266
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
156267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156268
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156269
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.6ms)
156270
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156271
+  (0.1ms) ROLLBACK
156272
+  (0.0ms) BEGIN
156273
+  (0.1ms) SAVEPOINT active_record_1
156274
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 02:50:26.228678"]]
156275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156276
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156277
+ Processing by Gatherable::PricesController#update as JSON
156278
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
156279
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156280
+  (0.1ms) SAVEPOINT active_record_1
156281
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
156282
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156283
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156284
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)
156285
+  (0.1ms) ROLLBACK
156286
+  (0.1ms) BEGIN
156287
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156288
+ Processing by Gatherable::PricesController#update as JSON
156289
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
156290
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156291
+  (0.1ms) ROLLBACK
156292
+  (0.0ms) BEGIN
156293
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156294
+ Processing by Gatherable::PricesController#update as JSON
156295
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
156296
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156297
+  (0.1ms) ROLLBACK
156298
+  (0.1ms) BEGIN
156299
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156300
+ Processing by Gatherable::PricesController#update as JSON
156301
+ Parameters: {"price_id"=>"0"}
156302
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
156303
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
156304
+  (0.1ms) ROLLBACK
156305
+  (0.1ms) BEGIN
156306
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156307
+ Processing by Gatherable::PricesController#update as JSON
156308
+ Parameters: {"price_id"=>"0"}
156309
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
156310
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
156311
+  (0.1ms) ROLLBACK
156312
+  (0.1ms) BEGIN
156313
+  (0.1ms) SAVEPOINT active_record_1
156314
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.271773"]]
156315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156316
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
156317
+ Started DELETE "/gatherable/prices/46.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156318
+ Processing by Gatherable::PricesController#destroy as JSON
156319
+ Parameters: {"price_id"=>"46"}
156320
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
156321
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
156322
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
156323
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
156324
+  (0.1ms) ROLLBACK
156325
+  (0.0ms) BEGIN
156326
+  (0.1ms) SAVEPOINT active_record_1
156327
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.282144"]]
156328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156329
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
156330
+ Started DELETE "/gatherable/prices/47.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156331
+ Processing by Gatherable::PricesController#destroy as JSON
156332
+ Parameters: {"price_id"=>"47"}
156333
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
156334
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 47]]
156335
+ Completed 204 No Content in 2ms (ActiveRecord: 0.4ms)
156336
+  (0.1ms) ROLLBACK
156337
+  (0.1ms) BEGIN
156338
+  (0.1ms) SAVEPOINT active_record_1
156339
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:50:26.293778"]]
156340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156341
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
156342
+ Started DELETE "/gatherable/prices/48.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156343
+ Processing by Gatherable::PricesController#destroy as JSON
156344
+ Parameters: {"price_id"=>"48"}
156345
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
156346
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 48]]
156347
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
156348
+  (0.1ms) ROLLBACK
156349
+  (0.1ms) BEGIN
156350
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156351
+ Processing by Gatherable::PricesController#destroy as JSON
156352
+ Parameters: {"price_id"=>"0"}
156353
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
156354
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
156355
+  (0.1ms) ROLLBACK
156356
+  (0.1ms) BEGIN
156357
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156358
+ Processing by Gatherable::PricesController#destroy as JSON
156359
+ Parameters: {"price_id"=>"0"}
156360
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
156361
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
156362
+  (0.1ms) ROLLBACK
156363
+  (0.0ms) BEGIN
156364
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156365
+  (0.1ms) ROLLBACK
156366
+  (0.1ms) BEGIN
156367
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156368
+  (0.1ms) ROLLBACK
156369
+  (0.0ms) BEGIN
156370
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156371
+  (0.1ms) ROLLBACK
156372
+  (0.1ms) BEGIN
156373
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156374
+  (0.1ms) ROLLBACK
156375
+  (0.1ms) BEGIN
156376
+ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 20:50:26 -0600
156377
+  (0.1ms) ROLLBACK
156378
+  (0.1ms) BEGIN
156379
+  (0.1ms) ROLLBACK
156380
+  (0.0ms) BEGIN
156381
+  (0.1ms) ROLLBACK
156382
+  (0.0ms) BEGIN
156383
+  (0.1ms) ROLLBACK
156384
+  (0.1ms) BEGIN
156385
+  (0.1ms) ROLLBACK
156386
+  (0.1ms) BEGIN
156387
+  (0.1ms) ROLLBACK
156388
+  (0.1ms) BEGIN
156389
+  (0.1ms) ROLLBACK
156390
+  (0.0ms) BEGIN
156391
+  (0.0ms) ROLLBACK
156392
+  (0.1ms) BEGIN
156393
+  (0.0ms) ROLLBACK
156394
+  (0.0ms) BEGIN
156395
+  (0.0ms) ROLLBACK
156396
+  (0.0ms) BEGIN
156397
+  (0.0ms) ROLLBACK
156398
+  (0.0ms) BEGIN
156399
+  (0.1ms) ROLLBACK
156400
+  (0.0ms) BEGIN
156401
+  (0.0ms) ROLLBACK
156402
+  (0.0ms) BEGIN
156403
+  (0.0ms) ROLLBACK
156404
+  (0.0ms) BEGIN
156405
+  (0.0ms) ROLLBACK
156406
+  (0.0ms) BEGIN
156407
+  (0.0ms) ROLLBACK
156408
+  (0.0ms) BEGIN
156409
+  (0.0ms) ROLLBACK
156410
+  (0.0ms) BEGIN
156411
+  (0.0ms) ROLLBACK
156412
+  (0.0ms) BEGIN
156413
+  (0.0ms) ROLLBACK
156414
+  (0.0ms) BEGIN
156415
+  (0.0ms) ROLLBACK
156416
+  (0.0ms) BEGIN
156417
+  (0.1ms) ROLLBACK
156418
+  (0.1ms) BEGIN
156419
+  (0.1ms) ROLLBACK
156420
+  (0.1ms) BEGIN
156421
+  (0.1ms) ROLLBACK
156422
+  (0.1ms) BEGIN
156423
+  (0.1ms) ROLLBACK
156424
+  (0.1ms) BEGIN
156425
+  (0.2ms) ROLLBACK
156426
+  (0.1ms) BEGIN
156427
+  (0.1ms) ROLLBACK
156428
+  (0.1ms) BEGIN
156429
+  (0.1ms) ROLLBACK
156430
+  (0.0ms) BEGIN
156431
+  (0.1ms) ROLLBACK
156432
+  (0.1ms) BEGIN
156433
+  (0.1ms) ROLLBACK
156434
+  (0.1ms) BEGIN
156435
+  (0.1ms) ROLLBACK
156436
+  (0.1ms) BEGIN
156437
+  (0.1ms) ROLLBACK
156438
+  (0.0ms) BEGIN
156439
+  (0.1ms) ROLLBACK
156440
+  (0.1ms) BEGIN
156441
+  (0.1ms) ROLLBACK
156442
+  (0.1ms) BEGIN
156443
+  (0.1ms) ROLLBACK
156444
+  (0.1ms) BEGIN
156445
+  (0.1ms) ROLLBACK
156446
+  (0.1ms) BEGIN
156447
+  (0.1ms) ROLLBACK
156448
+  (0.1ms) BEGIN
156449
+  (0.1ms) ROLLBACK
156450
+  (0.1ms) BEGIN
156451
+  (0.1ms) ROLLBACK
156452
+  (0.0ms) BEGIN
156453
+  (0.1ms) ROLLBACK
156454
+  (0.0ms) BEGIN
156455
+  (0.0ms) SAVEPOINT active_record_1
156456
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("session_id", "created_at") VALUES ($1, $2) RETURNING "price_id" [["session_id", "1"], ["created_at", "2016-03-08 02:50:26.449240"]]
156457
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
156458
+  (0.1ms) ROLLBACK
156459
+  (0.0ms) BEGIN
156460
+  (0.1ms) SAVEPOINT active_record_1
156461
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "1"], ["price", "30.0"], ["created_at", "2016-03-08 02:50:26.451188"]]
156462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156463
+  (0.1ms) ROLLBACK
156464
+  (0.0ms) BEGIN
156465
+  (0.0ms) ROLLBACK
156466
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
156467
+  (121.1ms) DROP DATABASE IF EXISTS "gatherable_test"
156468
+  (785.6ms) CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
156469
+  (18.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
156470
+  (6.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156471
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
156472
+ Migrating to CreateGatherableSchema (20160307205846)
156473
+  (0.1ms) BEGIN
156474
+  (0.2ms) CREATE SCHEMA gatherable
156475
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307205846"]]
156476
+  (0.2ms) COMMIT
156477
+ Migrating to CreateGatherablePrice (20160307205847)
156478
+  (0.1ms) BEGIN
156479
+  (10.7ms) CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
156480
+  (3.1ms) CREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")
156481
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307205847"]]
156482
+  (0.4ms) COMMIT
156483
+  (2.6ms) BEGIN
156484
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156485
+ Processing by Gatherable::PricesController#index as JSON
156486
+ Parameters: {"session_id"=>"session_id123"}
156487
+ Completed 302 Found in 7ms (Views: 0.6ms | ActiveRecord: 0.0ms)
156488
+  (0.2ms) ROLLBACK
156489
+  (0.1ms) BEGIN
156490
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156491
+ Processing by Gatherable::PricesController#index as JSON
156492
+ Parameters: {"session_id"=>"session_id123"}
156493
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156494
+  (0.1ms) ROLLBACK
156495
+  (0.0ms) BEGIN
156496
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156497
+ Processing by Gatherable::PricesController#index as JSON
156498
+ Parameters: {"session_id"=>"session_id123"}
156499
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
156500
+ Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)
156501
+  (0.1ms) ROLLBACK
156502
+  (0.0ms) BEGIN
156503
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156504
+ Processing by Gatherable::PricesController#index as JSON
156505
+ Parameters: {"session_id"=>"session_id123123"}
156506
+ Filter chain halted as :authenticate rendered or redirected
156507
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156508
+  (0.1ms) ROLLBACK
156509
+  (0.0ms) BEGIN
156510
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156511
+ Processing by Gatherable::PricesController#index as JSON
156512
+ Parameters: {"session_id"=>"session_id123123"}
156513
+ Filter chain halted as :authenticate rendered or redirected
156514
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156515
+  (0.1ms) ROLLBACK
156516
+  (0.0ms) BEGIN
156517
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156518
+ Processing by Gatherable::PricesController#show as JSON
156519
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
156520
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156521
+  (0.1ms) ROLLBACK
156522
+  (0.0ms) BEGIN
156523
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156524
+ Processing by Gatherable::PricesController#show as JSON
156525
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
156526
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156527
+  (0.1ms) ROLLBACK
156528
+  (0.0ms) BEGIN
156529
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156530
+ Processing by Gatherable::PricesController#show as JSON
156531
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
156532
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156533
+  (0.1ms) ROLLBACK
156534
+  (0.1ms) BEGIN
156535
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156536
+ Processing by Gatherable::PricesController#show as JSON
156537
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
156538
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156539
+  (0.1ms) ROLLBACK
156540
+  (0.0ms) BEGIN
156541
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156542
+ Processing by Gatherable::PricesController#index as JSON
156543
+ Parameters: {"session_id"=>"session_id123123"}
156544
+ Filter chain halted as :authenticate rendered or redirected
156545
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156546
+  (0.1ms) ROLLBACK
156547
+  (0.0ms) BEGIN
156548
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 20:58:46 -0600
156549
+ Processing by Gatherable::PricesController#index as JSON
156550
+ Parameters: {"session_id"=>"session_id123123"}
156551
+ Filter chain halted as :authenticate rendered or redirected
156552
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156553
+  (0.1ms) ROLLBACK
156554
+  (0.1ms) BEGIN
156555
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:59:01 -0600
156556
+ Processing by Gatherable::PricesController#create as JSON
156557
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156558
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
156559
+  (0.2ms) ROLLBACK
156560
+  (0.1ms) BEGIN
156561
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:59:02 -0600
156562
+ Processing by Gatherable::PricesController#create as JSON
156563
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156564
+  (0.1ms) SAVEPOINT active_record_1
156565
+ SQL (0.4ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:59:02.313890"]]
156566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156567
+ Completed 201 Created in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
156568
+  (0.1ms) ROLLBACK
156569
+  (0.1ms) BEGIN
156570
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:59:02 -0600
156571
+ Processing by Gatherable::PricesController#create as JSON
156572
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156573
+  (0.1ms) SAVEPOINT active_record_1
156574
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:59:02.792639"]]
156575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156576
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156577
+  (0.1ms) ROLLBACK
156578
+  (0.1ms) BEGIN
156579
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 20:59:03 -0600
156580
+ Processing by Gatherable::PricesController#create as JSON
156581
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156582
+  (0.1ms) SAVEPOINT active_record_1
156583
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 02:59:03.280521"]]
156584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156585
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156586
+  (0.1ms) ROLLBACK
156587
+  (0.1ms) BEGIN
156588
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
156589
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
156590
+  (0.1ms) BEGIN
156591
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156592
+ Processing by Gatherable::PricesController#index as JSON
156593
+ Parameters: {"session_id"=>"session_id123"}
156594
+ Completed 302 Found in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)
156595
+  (0.1ms) ROLLBACK
156596
+  (0.0ms) BEGIN
156597
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156598
+ Processing by Gatherable::PricesController#index as JSON
156599
+ Parameters: {"session_id"=>"session_id123"}
156600
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156601
+  (0.1ms) ROLLBACK
156602
+  (0.1ms) BEGIN
156603
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156604
+ Processing by Gatherable::PricesController#index as JSON
156605
+ Parameters: {"session_id"=>"session_id123"}
156606
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
156607
+ Completed 302 Found in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms)
156608
+  (0.1ms) ROLLBACK
156609
+  (0.1ms) BEGIN
156610
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156611
+ Processing by Gatherable::PricesController#index as JSON
156612
+ Parameters: {"session_id"=>"session_id123123"}
156613
+ Filter chain halted as :authenticate rendered or redirected
156614
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156615
+  (0.1ms) ROLLBACK
156616
+  (0.1ms) BEGIN
156617
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156618
+ Processing by Gatherable::PricesController#index as JSON
156619
+ Parameters: {"session_id"=>"session_id123123"}
156620
+ Filter chain halted as :authenticate rendered or redirected
156621
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156622
+  (0.1ms) ROLLBACK
156623
+  (0.0ms) BEGIN
156624
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156625
+ Processing by Gatherable::PricesController#show as JSON
156626
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
156627
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156628
+  (0.1ms) ROLLBACK
156629
+  (0.0ms) BEGIN
156630
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156631
+ Processing by Gatherable::PricesController#show as JSON
156632
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
156633
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156634
+  (0.1ms) ROLLBACK
156635
+  (0.1ms) BEGIN
156636
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156637
+ Processing by Gatherable::PricesController#show as JSON
156638
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
156639
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156640
+  (0.1ms) ROLLBACK
156641
+  (0.0ms) BEGIN
156642
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156643
+ Processing by Gatherable::PricesController#show as JSON
156644
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
156645
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156646
+  (0.1ms) ROLLBACK
156647
+  (0.0ms) BEGIN
156648
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156649
+ Processing by Gatherable::PricesController#index as JSON
156650
+ Parameters: {"session_id"=>"session_id123123"}
156651
+ Filter chain halted as :authenticate rendered or redirected
156652
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156653
+  (0.1ms) ROLLBACK
156654
+  (0.0ms) BEGIN
156655
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156656
+ Processing by Gatherable::PricesController#index as JSON
156657
+ Parameters: {"session_id"=>"session_id123123"}
156658
+ Filter chain halted as :authenticate rendered or redirected
156659
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156660
+  (0.1ms) ROLLBACK
156661
+  (0.0ms) BEGIN
156662
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156663
+ Processing by Gatherable::PricesController#create as JSON
156664
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156665
+ Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
156666
+  (0.1ms) ROLLBACK
156667
+  (0.1ms) BEGIN
156668
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156669
+ Processing by Gatherable::PricesController#create as JSON
156670
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156671
+  (0.1ms) SAVEPOINT active_record_1
156672
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.264973"]]
156673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156674
+ Completed 201 Created in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156675
+  (0.1ms) ROLLBACK
156676
+  (0.1ms) BEGIN
156677
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156678
+ Processing by Gatherable::PricesController#create as JSON
156679
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156680
+  (0.1ms) SAVEPOINT active_record_1
156681
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.275034"]]
156682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156683
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156684
+  (0.1ms) ROLLBACK
156685
+  (0.0ms) BEGIN
156686
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156687
+ Processing by Gatherable::PricesController#create as JSON
156688
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156689
+  (0.1ms) SAVEPOINT active_record_1
156690
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.285201"]]
156691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156692
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
156693
+  (0.1ms) ROLLBACK
156694
+  (0.0ms) BEGIN
156695
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156696
+ Processing by Gatherable::PricesController#create as JSON
156697
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156698
+  (0.1ms) SAVEPOINT active_record_1
156699
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.294810"]]
156700
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156701
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
156702
+  (0.1ms) ROLLBACK
156703
+  (0.0ms) BEGIN
156704
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156705
+ Processing by Gatherable::PricesController#create as JSON
156706
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156707
+  (0.1ms) SAVEPOINT active_record_1
156708
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.304655"]]
156709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156710
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
156711
+  (0.1ms) ROLLBACK
156712
+  (0.1ms) BEGIN
156713
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156714
+ Processing by Gatherable::PricesController#create as JSON
156715
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156716
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156717
+  (0.1ms) SAVEPOINT active_record_1
156718
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.317090"]]
156719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156720
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156721
+  (0.1ms) ROLLBACK
156722
+  (0.1ms) BEGIN
156723
+  (0.1ms) SAVEPOINT active_record_1
156724
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.323027"]]
156725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156726
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156727
+ Processing by Gatherable::PricesController#create as JSON
156728
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156729
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156730
+  (0.1ms) SAVEPOINT active_record_1
156731
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 10]]
156732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156733
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156734
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 10]]
156735
+  (0.2ms) ROLLBACK
156736
+  (0.1ms) BEGIN
156737
+  (0.1ms) SAVEPOINT active_record_1
156738
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.338135"]]
156739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156740
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156741
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156742
+ Processing by Gatherable::PricesController#create as JSON
156743
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156744
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156745
+  (0.1ms) SAVEPOINT active_record_1
156746
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 11]]
156747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156748
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156749
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
156750
+  (0.1ms) ROLLBACK
156751
+  (0.1ms) BEGIN
156752
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
156753
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156754
+ Processing by Gatherable::PricesController#create as JSON
156755
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156756
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156757
+  (0.1ms) SAVEPOINT active_record_1
156758
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.359174"]]
156759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156760
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
156761
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
156762
+  (0.1ms) ROLLBACK
156763
+  (0.0ms) BEGIN
156764
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156765
+ Processing by Gatherable::PricesController#create as JSON
156766
+ Parameters: {"yolo"=>"swag", "session_id"=>"session_id123"}
156767
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156768
+  (0.1ms) ROLLBACK
156769
+  (0.0ms) BEGIN
156770
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156771
+ Processing by Gatherable::PricesController#create as JSON
156772
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156773
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
156774
+  (0.1ms) ROLLBACK
156775
+  (0.0ms) BEGIN
156776
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156777
+ Processing by Gatherable::PricesController#create as JSON
156778
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156779
+  (0.1ms) SAVEPOINT active_record_1
156780
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.384629"]]
156781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156782
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
156783
+  (0.1ms) ROLLBACK
156784
+  (0.0ms) BEGIN
156785
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156786
+ Processing by Gatherable::PricesController#create as JSON
156787
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156788
+  (0.1ms) SAVEPOINT active_record_1
156789
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.394690"]]
156790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156791
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
156792
+  (0.1ms) ROLLBACK
156793
+  (0.1ms) BEGIN
156794
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156795
+ Processing by Gatherable::PricesController#create as JSON
156796
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156797
+  (0.1ms) SAVEPOINT active_record_1
156798
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.404907"]]
156799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156800
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156801
+  (0.1ms) ROLLBACK
156802
+  (0.0ms) BEGIN
156803
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156804
+ Processing by Gatherable::PricesController#create as JSON
156805
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156806
+  (0.1ms) SAVEPOINT active_record_1
156807
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.414600"]]
156808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156809
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156810
+  (0.1ms) ROLLBACK
156811
+  (0.1ms) BEGIN
156812
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156813
+ Processing by Gatherable::PricesController#create as JSON
156814
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156815
+  (0.1ms) SAVEPOINT active_record_1
156816
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.424114"]]
156817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156818
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
156819
+  (0.1ms) ROLLBACK
156820
+  (0.0ms) BEGIN
156821
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156822
+ Processing by Gatherable::PricesController#create as JSON
156823
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156824
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156825
+  (0.1ms) SAVEPOINT active_record_1
156826
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.436200"]]
156827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156828
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156829
+  (0.1ms) ROLLBACK
156830
+  (0.0ms) BEGIN
156831
+  (0.1ms) SAVEPOINT active_record_1
156832
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.442038"]]
156833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156834
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156835
+ Processing by Gatherable::PricesController#create as JSON
156836
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156837
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156838
+  (0.1ms) SAVEPOINT active_record_1
156839
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 19]]
156840
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156841
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
156842
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 19]]
156843
+  (0.1ms) ROLLBACK
156844
+  (0.1ms) BEGIN
156845
+  (0.1ms) SAVEPOINT active_record_1
156846
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.462299"]]
156847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156848
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
156849
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156850
+ Processing by Gatherable::PricesController#create as JSON
156851
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156852
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156853
+  (0.1ms) SAVEPOINT active_record_1
156854
+ SQL (0.3ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 20]]
156855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156856
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
156857
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156858
+  (0.1ms) ROLLBACK
156859
+  (0.0ms) BEGIN
156860
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
156861
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156862
+ Processing by Gatherable::PricesController#create as JSON
156863
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
156864
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
156865
+  (0.2ms) SAVEPOINT active_record_1
156866
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.484681"]]
156867
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156868
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)
156869
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156870
+  (0.2ms) ROLLBACK
156871
+  (0.1ms) BEGIN
156872
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156873
+ Processing by Gatherable::PricesController#create as JSON
156874
+ Parameters: {"session_id"=>"session_id123123"}
156875
+ Filter chain halted as :authenticate rendered or redirected
156876
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156877
+  (0.1ms) ROLLBACK
156878
+  (0.1ms) BEGIN
156879
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156880
+ Processing by Gatherable::PricesController#create as JSON
156881
+ Parameters: {"session_id"=>"session_id123123"}
156882
+ Filter chain halted as :authenticate rendered or redirected
156883
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156884
+  (0.1ms) ROLLBACK
156885
+  (0.1ms) BEGIN
156886
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156887
+ Processing by Gatherable::PricesController#create as JSON
156888
+ Parameters: {"session_id"=>"session_id123123"}
156889
+ Filter chain halted as :authenticate rendered or redirected
156890
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156891
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
156892
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
156893
+  (0.1ms) ROLLBACK
156894
+  (0.0ms) BEGIN
156895
+  (0.1ms) SAVEPOINT active_record_1
156896
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:02:15.525234"]]
156897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156898
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156899
+ Processing by Gatherable::PricesController#update as JSON
156900
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
156901
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156902
+  (0.1ms) SAVEPOINT active_record_1
156903
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
156904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156905
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156906
+ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.7ms)
156907
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156908
+  (0.1ms) ROLLBACK
156909
+  (0.0ms) BEGIN
156910
+  (0.1ms) SAVEPOINT active_record_1
156911
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:02:15.543143"]]
156912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156913
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156914
+ Processing by Gatherable::PricesController#update as JSON
156915
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
156916
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156917
+  (0.1ms) SAVEPOINT active_record_1
156918
+ SQL (0.3ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
156919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156920
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
156921
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms)
156922
+  (0.2ms) ROLLBACK
156923
+  (0.1ms) BEGIN
156924
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156925
+ Processing by Gatherable::PricesController#update as JSON
156926
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
156927
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156928
+  (0.1ms) ROLLBACK
156929
+  (0.0ms) BEGIN
156930
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156931
+ Processing by Gatherable::PricesController#update as JSON
156932
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
156933
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156934
+  (0.1ms) ROLLBACK
156935
+  (0.0ms) BEGIN
156936
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156937
+ Processing by Gatherable::PricesController#update as JSON
156938
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
156939
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
156940
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
156941
+  (0.1ms) ROLLBACK
156942
+  (0.1ms) BEGIN
156943
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156944
+ Processing by Gatherable::PricesController#update as JSON
156945
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
156946
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
156947
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
156948
+  (0.1ms) ROLLBACK
156949
+  (0.0ms) BEGIN
156950
+  (0.1ms) SAVEPOINT active_record_1
156951
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.595647"]]
156952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156953
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
156954
+ Started PUT "/gatherable/session_id123123/prices/22.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156955
+ Processing by Gatherable::PricesController#update as JSON
156956
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"22"}
156957
+ Filter chain halted as :authenticate rendered or redirected
156958
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156959
+  (0.2ms) ROLLBACK
156960
+  (0.1ms) BEGIN
156961
+  (0.1ms) SAVEPOINT active_record_1
156962
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.608168"]]
156963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156964
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
156965
+ Started PUT "/gatherable/session_id123123/prices/23.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156966
+ Processing by Gatherable::PricesController#update as JSON
156967
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"23"}
156968
+ Filter chain halted as :authenticate rendered or redirected
156969
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156970
+  (0.1ms) ROLLBACK
156971
+  (0.1ms) BEGIN
156972
+  (0.1ms) SAVEPOINT active_record_1
156973
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.620058"]]
156974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156975
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
156976
+ Started PUT "/gatherable/session_id123123/prices/24.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156977
+ Processing by Gatherable::PricesController#update as JSON
156978
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"24"}
156979
+ Filter chain halted as :authenticate rendered or redirected
156980
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
156981
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
156982
+  (0.1ms) ROLLBACK
156983
+  (0.0ms) BEGIN
156984
+  (0.1ms) SAVEPOINT active_record_1
156985
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.631222"]]
156986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156987
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 25]]
156988
+ Started DELETE "/gatherable/session_id123/prices/25.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
156989
+ Processing by Gatherable::PricesController#destroy as JSON
156990
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"25"}
156991
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 25]]
156992
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 25]]
156993
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
156994
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 25]]
156995
+  (0.1ms) ROLLBACK
156996
+  (0.0ms) BEGIN
156997
+  (0.1ms) SAVEPOINT active_record_1
156998
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.644344"]]
156999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157000
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 26]]
157001
+ Started DELETE "/gatherable/session_id123/prices/26.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157002
+ Processing by Gatherable::PricesController#destroy as JSON
157003
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"26"}
157004
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 26]]
157005
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 26]]
157006
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
157007
+  (0.1ms) ROLLBACK
157008
+  (0.1ms) BEGIN
157009
+  (0.1ms) SAVEPOINT active_record_1
157010
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.654033"]]
157011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157012
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 27]]
157013
+ Started DELETE "/gatherable/session_id123/prices/27.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157014
+ Processing by Gatherable::PricesController#destroy as JSON
157015
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"27"}
157016
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 27]]
157017
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 27]]
157018
+ Completed 204 No Content in 1ms (ActiveRecord: 0.2ms)
157019
+  (0.1ms) ROLLBACK
157020
+  (0.0ms) BEGIN
157021
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157022
+ Processing by Gatherable::PricesController#destroy as JSON
157023
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157024
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157025
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
157026
+  (0.1ms) ROLLBACK
157027
+  (0.1ms) BEGIN
157028
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157029
+ Processing by Gatherable::PricesController#destroy as JSON
157030
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157031
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157032
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157033
+  (0.1ms) ROLLBACK
157034
+  (0.0ms) BEGIN
157035
+  (0.1ms) SAVEPOINT active_record_1
157036
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.682354"]]
157037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157038
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 28]]
157039
+ Started DELETE "/gatherable/session_id123123/prices/28.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157040
+ Processing by Gatherable::PricesController#destroy as JSON
157041
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"28"}
157042
+ Filter chain halted as :authenticate rendered or redirected
157043
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157044
+  (0.1ms) ROLLBACK
157045
+  (0.0ms) BEGIN
157046
+  (0.1ms) SAVEPOINT active_record_1
157047
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.695419"]]
157048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157049
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 29]]
157050
+ Started DELETE "/gatherable/session_id123123/prices/29.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157051
+ Processing by Gatherable::PricesController#destroy as JSON
157052
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"29"}
157053
+ Filter chain halted as :authenticate rendered or redirected
157054
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157055
+  (0.1ms) ROLLBACK
157056
+  (0.1ms) BEGIN
157057
+  (0.1ms) SAVEPOINT active_record_1
157058
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.707643"]]
157059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157060
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 30]]
157061
+ Started DELETE "/gatherable/session_id123123/prices/30.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157062
+ Processing by Gatherable::PricesController#destroy as JSON
157063
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"30"}
157064
+ Filter chain halted as :authenticate rendered or redirected
157065
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157066
+  (0.1ms) ROLLBACK
157067
+  (0.1ms) BEGIN
157068
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157069
+ Processing by Gatherable::PricesController#index as JSON
157070
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
157071
+  (0.1ms) ROLLBACK
157072
+  (0.0ms) BEGIN
157073
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157074
+ Processing by Gatherable::PricesController#index as JSON
157075
+ Completed 302 Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157076
+  (0.1ms) ROLLBACK
157077
+  (0.1ms) BEGIN
157078
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157079
+ Processing by Gatherable::PricesController#index as JSON
157080
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
157081
+ Completed 302 Found in 1ms (Views: 0.5ms | ActiveRecord: 0.2ms)
157082
+  (0.1ms) ROLLBACK
157083
+  (0.0ms) BEGIN
157084
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157085
+ Processing by Gatherable::PricesController#show as JSON
157086
+ Parameters: {"price_id"=>"1"}
157087
+ Completed 302 Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
157088
+  (0.1ms) ROLLBACK
157089
+  (0.1ms) BEGIN
157090
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157091
+ Processing by Gatherable::PricesController#show as JSON
157092
+ Parameters: {"price_id"=>"1"}
157093
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
157094
+  (0.1ms) ROLLBACK
157095
+  (0.0ms) BEGIN
157096
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157097
+ Processing by Gatherable::PricesController#show as JSON
157098
+ Parameters: {"price_id"=>"0"}
157099
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157100
+  (0.1ms) ROLLBACK
157101
+  (0.1ms) BEGIN
157102
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157103
+ Processing by Gatherable::PricesController#show as JSON
157104
+ Parameters: {"price_id"=>"0"}
157105
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157106
+  (0.1ms) ROLLBACK
157107
+  (0.0ms) BEGIN
157108
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157109
+ Processing by Gatherable::PricesController#create as JSON
157110
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157111
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
157112
+  (0.1ms) ROLLBACK
157113
+  (0.0ms) BEGIN
157114
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157115
+ Processing by Gatherable::PricesController#create as JSON
157116
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157117
+  (0.1ms) SAVEPOINT active_record_1
157118
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.787705"]]
157119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157120
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157121
+  (0.1ms) ROLLBACK
157122
+  (0.1ms) BEGIN
157123
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157124
+ Processing by Gatherable::PricesController#create as JSON
157125
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157126
+  (0.1ms) SAVEPOINT active_record_1
157127
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.797221"]]
157128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157129
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157130
+  (0.1ms) ROLLBACK
157131
+  (0.1ms) BEGIN
157132
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157133
+ Processing by Gatherable::PricesController#create as JSON
157134
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157135
+  (0.1ms) SAVEPOINT active_record_1
157136
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.806906"]]
157137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157138
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157139
+  (0.1ms) ROLLBACK
157140
+  (0.1ms) BEGIN
157141
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157142
+ Processing by Gatherable::PricesController#create as JSON
157143
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157144
+  (0.1ms) SAVEPOINT active_record_1
157145
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.814714"]]
157146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157147
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157148
+  (0.1ms) ROLLBACK
157149
+  (0.1ms) BEGIN
157150
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157151
+ Processing by Gatherable::PricesController#create as JSON
157152
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157153
+  (0.1ms) SAVEPOINT active_record_1
157154
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.824881"]]
157155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157156
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157157
+  (0.1ms) ROLLBACK
157158
+  (0.0ms) BEGIN
157159
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157160
+ Processing by Gatherable::PricesController#create as JSON
157161
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157162
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157163
+  (0.1ms) SAVEPOINT active_record_1
157164
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.834033"]]
157165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157166
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157167
+  (0.1ms) ROLLBACK
157168
+  (0.1ms) BEGIN
157169
+  (0.1ms) SAVEPOINT active_record_1
157170
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.839248"]]
157171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157172
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157173
+ Processing by Gatherable::PricesController#create as JSON
157174
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157175
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157176
+  (0.1ms) SAVEPOINT active_record_1
157177
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 37]]
157178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157179
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157180
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 37]]
157181
+  (0.1ms) ROLLBACK
157182
+  (0.0ms) BEGIN
157183
+  (0.1ms) SAVEPOINT active_record_1
157184
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.850107"]]
157185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157186
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157187
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157188
+ Processing by Gatherable::PricesController#create as JSON
157189
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157190
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157191
+  (0.1ms) SAVEPOINT active_record_1
157192
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 38]]
157193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157194
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157195
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
157196
+  (0.1ms) ROLLBACK
157197
+  (0.0ms) BEGIN
157198
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
157199
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157200
+ Processing by Gatherable::PricesController#create as JSON
157201
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157202
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157203
+  (0.1ms) SAVEPOINT active_record_1
157204
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.865802"]]
157205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157206
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157207
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157208
+  (0.1ms) ROLLBACK
157209
+  (0.1ms) BEGIN
157210
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157211
+ Processing by Gatherable::PricesController#create as JSON
157212
+ Parameters: {"yolo"=>"swag"}
157213
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157214
+  (0.1ms) ROLLBACK
157215
+  (0.0ms) BEGIN
157216
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157217
+ Processing by Gatherable::PricesController#create as JSON
157218
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157219
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
157220
+  (0.1ms) ROLLBACK
157221
+  (0.0ms) BEGIN
157222
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157223
+ Processing by Gatherable::PricesController#create as JSON
157224
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157225
+  (0.1ms) SAVEPOINT active_record_1
157226
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.888824"]]
157227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157228
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157229
+  (0.1ms) ROLLBACK
157230
+  (0.1ms) BEGIN
157231
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157232
+ Processing by Gatherable::PricesController#create as JSON
157233
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157234
+  (0.1ms) SAVEPOINT active_record_1
157235
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.897457"]]
157236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157237
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
157238
+  (0.1ms) ROLLBACK
157239
+  (0.1ms) BEGIN
157240
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157241
+ Processing by Gatherable::PricesController#create as JSON
157242
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157243
+  (0.1ms) SAVEPOINT active_record_1
157244
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.914655"]]
157245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157246
+ Completed 201 Created in 9ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157247
+  (0.1ms) ROLLBACK
157248
+  (0.1ms) BEGIN
157249
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157250
+ Processing by Gatherable::PricesController#create as JSON
157251
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157252
+  (0.1ms) SAVEPOINT active_record_1
157253
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.925678"]]
157254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157255
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
157256
+  (0.1ms) ROLLBACK
157257
+  (0.1ms) BEGIN
157258
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157259
+ Processing by Gatherable::PricesController#create as JSON
157260
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157261
+  (0.1ms) SAVEPOINT active_record_1
157262
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.936076"]]
157263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157264
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157265
+  (0.1ms) ROLLBACK
157266
+  (0.0ms) BEGIN
157267
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157268
+ Processing by Gatherable::PricesController#create as JSON
157269
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157270
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157271
+  (0.1ms) SAVEPOINT active_record_1
157272
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.947266"]]
157273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157274
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157275
+  (0.1ms) ROLLBACK
157276
+  (0.1ms) BEGIN
157277
+  (0.1ms) SAVEPOINT active_record_1
157278
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.953440"]]
157279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157280
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157281
+ Processing by Gatherable::PricesController#create as JSON
157282
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157283
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157284
+  (0.1ms) SAVEPOINT active_record_1
157285
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 46]]
157286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157287
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
157288
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
157289
+  (0.1ms) ROLLBACK
157290
+  (0.1ms) BEGIN
157291
+  (0.1ms) SAVEPOINT active_record_1
157292
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:15.965814"]]
157293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157294
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157295
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157296
+ Processing by Gatherable::PricesController#create as JSON
157297
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157298
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157299
+  (0.1ms) SAVEPOINT active_record_1
157300
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 47]]
157301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157302
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.6ms)
157303
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157304
+  (0.1ms) ROLLBACK
157305
+  (0.1ms) BEGIN
157306
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
157307
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:15 -0600
157308
+ Processing by Gatherable::PricesController#create as JSON
157309
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
157310
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157311
+  (0.1ms) SAVEPOINT active_record_1
157312
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:02:15.992061"]]
157313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157314
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157315
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157316
+  (0.1ms) ROLLBACK
157317
+  (0.0ms) BEGIN
157318
+  (0.1ms) SAVEPOINT active_record_1
157319
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:02:15.998709"]]
157320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157321
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157322
+ Processing by Gatherable::PricesController#update as JSON
157323
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
157324
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157325
+  (0.1ms) SAVEPOINT active_record_1
157326
+ SQL (0.3ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
157327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157328
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157329
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
157330
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157331
+  (0.1ms) ROLLBACK
157332
+  (0.0ms) BEGIN
157333
+  (0.1ms) SAVEPOINT active_record_1
157334
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:02:16.011698"]]
157335
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157336
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157337
+ Processing by Gatherable::PricesController#update as JSON
157338
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
157339
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157340
+  (0.1ms) SAVEPOINT active_record_1
157341
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
157342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157343
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157344
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms)
157345
+  (0.1ms) ROLLBACK
157346
+  (0.0ms) BEGIN
157347
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157348
+ Processing by Gatherable::PricesController#update as JSON
157349
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
157350
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157351
+  (0.1ms) ROLLBACK
157352
+  (0.1ms) BEGIN
157353
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157354
+ Processing by Gatherable::PricesController#update as JSON
157355
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
157356
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157357
+  (0.1ms) ROLLBACK
157358
+  (0.0ms) BEGIN
157359
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157360
+ Processing by Gatherable::PricesController#update as JSON
157361
+ Parameters: {"price_id"=>"0"}
157362
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157363
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157364
+  (0.1ms) ROLLBACK
157365
+  (0.1ms) BEGIN
157366
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157367
+ Processing by Gatherable::PricesController#update as JSON
157368
+ Parameters: {"price_id"=>"0"}
157369
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157370
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157371
+  (0.1ms) ROLLBACK
157372
+  (0.1ms) BEGIN
157373
+  (0.1ms) SAVEPOINT active_record_1
157374
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:16.061167"]]
157375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157376
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 49]]
157377
+ Started DELETE "/gatherable/prices/49.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157378
+ Processing by Gatherable::PricesController#destroy as JSON
157379
+ Parameters: {"price_id"=>"49"}
157380
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 49]]
157381
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 49]]
157382
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
157383
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 49]]
157384
+  (0.1ms) ROLLBACK
157385
+  (0.1ms) BEGIN
157386
+  (0.1ms) SAVEPOINT active_record_1
157387
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:16.073194"]]
157388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157389
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 50]]
157390
+ Started DELETE "/gatherable/prices/50.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157391
+ Processing by Gatherable::PricesController#destroy as JSON
157392
+ Parameters: {"price_id"=>"50"}
157393
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 50]]
157394
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 50]]
157395
+ Completed 204 No Content in 1ms (ActiveRecord: 0.2ms)
157396
+  (0.1ms) ROLLBACK
157397
+  (0.1ms) BEGIN
157398
+  (0.1ms) SAVEPOINT active_record_1
157399
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:02:16.084174"]]
157400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157401
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 51]]
157402
+ Started DELETE "/gatherable/prices/51.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157403
+ Processing by Gatherable::PricesController#destroy as JSON
157404
+ Parameters: {"price_id"=>"51"}
157405
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 51]]
157406
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 51]]
157407
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
157408
+  (0.1ms) ROLLBACK
157409
+  (0.0ms) BEGIN
157410
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157411
+ Processing by Gatherable::PricesController#destroy as JSON
157412
+ Parameters: {"price_id"=>"0"}
157413
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157414
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157415
+  (0.2ms) ROLLBACK
157416
+  (0.0ms) BEGIN
157417
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157418
+ Processing by Gatherable::PricesController#destroy as JSON
157419
+ Parameters: {"price_id"=>"0"}
157420
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157421
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157422
+  (0.1ms) ROLLBACK
157423
+  (0.0ms) BEGIN
157424
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157425
+  (0.1ms) ROLLBACK
157426
+  (0.1ms) BEGIN
157427
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157428
+  (0.1ms) ROLLBACK
157429
+  (0.0ms) BEGIN
157430
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157431
+  (0.2ms) ROLLBACK
157432
+  (0.0ms) BEGIN
157433
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157434
+  (0.1ms) ROLLBACK
157435
+  (0.0ms) BEGIN
157436
+ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:02:16 -0600
157437
+  (0.1ms) ROLLBACK
157438
+  (0.1ms) BEGIN
157439
+  (0.1ms) ROLLBACK
157440
+  (0.1ms) BEGIN
157441
+  (0.1ms) ROLLBACK
157442
+  (0.0ms) BEGIN
157443
+  (0.0ms) ROLLBACK
157444
+  (0.0ms) BEGIN
157445
+  (0.1ms) ROLLBACK
157446
+  (0.1ms) BEGIN
157447
+  (0.1ms) ROLLBACK
157448
+  (0.1ms) BEGIN
157449
+  (0.1ms) ROLLBACK
157450
+  (0.1ms) BEGIN
157451
+  (0.1ms) ROLLBACK
157452
+  (0.1ms) BEGIN
157453
+  (0.1ms) ROLLBACK
157454
+  (0.0ms) BEGIN
157455
+  (0.0ms) ROLLBACK
157456
+  (0.1ms) BEGIN
157457
+  (0.0ms) ROLLBACK
157458
+  (0.0ms) BEGIN
157459
+  (0.0ms) ROLLBACK
157460
+  (0.0ms) BEGIN
157461
+  (0.1ms) ROLLBACK
157462
+  (0.0ms) BEGIN
157463
+  (0.0ms) ROLLBACK
157464
+  (0.0ms) BEGIN
157465
+  (0.0ms) ROLLBACK
157466
+  (0.0ms) BEGIN
157467
+  (0.1ms) ROLLBACK
157468
+  (0.0ms) BEGIN
157469
+  (0.1ms) ROLLBACK
157470
+  (0.0ms) BEGIN
157471
+  (0.0ms) ROLLBACK
157472
+  (0.0ms) BEGIN
157473
+  (0.1ms) ROLLBACK
157474
+  (0.0ms) BEGIN
157475
+  (0.0ms) ROLLBACK
157476
+  (0.0ms) BEGIN
157477
+  (0.1ms) ROLLBACK
157478
+  (0.1ms) BEGIN
157479
+  (0.1ms) ROLLBACK
157480
+  (0.1ms) BEGIN
157481
+  (0.1ms) ROLLBACK
157482
+  (0.0ms) BEGIN
157483
+  (0.1ms) ROLLBACK
157484
+  (0.0ms) BEGIN
157485
+  (0.1ms) ROLLBACK
157486
+  (0.1ms) BEGIN
157487
+  (0.1ms) ROLLBACK
157488
+  (0.1ms) BEGIN
157489
+  (0.1ms) ROLLBACK
157490
+  (0.1ms) BEGIN
157491
+  (0.1ms) ROLLBACK
157492
+  (0.1ms) BEGIN
157493
+  (0.1ms) ROLLBACK
157494
+  (0.0ms) BEGIN
157495
+  (0.1ms) ROLLBACK
157496
+  (0.0ms) BEGIN
157497
+  (0.1ms) ROLLBACK
157498
+  (0.0ms) BEGIN
157499
+  (0.1ms) ROLLBACK
157500
+  (0.0ms) BEGIN
157501
+  (0.1ms) ROLLBACK
157502
+  (0.1ms) BEGIN
157503
+  (0.1ms) ROLLBACK
157504
+  (0.0ms) BEGIN
157505
+  (0.1ms) ROLLBACK
157506
+  (0.0ms) BEGIN
157507
+  (0.1ms) ROLLBACK
157508
+  (0.0ms) BEGIN
157509
+  (0.1ms) ROLLBACK
157510
+  (0.1ms) BEGIN
157511
+  (0.1ms) ROLLBACK
157512
+  (0.1ms) BEGIN
157513
+  (0.1ms) ROLLBACK
157514
+  (0.1ms) BEGIN
157515
+  (0.1ms) SAVEPOINT active_record_1
157516
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("session_id", "created_at") VALUES ($1, $2) RETURNING "price_id" [["session_id", "1"], ["created_at", "2016-03-08 03:02:16.242687"]]
157517
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
157518
+  (0.1ms) ROLLBACK
157519
+  (0.1ms) BEGIN
157520
+  (0.0ms) SAVEPOINT active_record_1
157521
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "1"], ["price", "30.0"], ["created_at", "2016-03-08 03:02:16.244684"]]
157522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157523
+  (0.1ms) ROLLBACK
157524
+  (0.1ms) BEGIN
157525
+  (0.1ms) ROLLBACK
157526
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
157527
+  (321.1ms) DROP DATABASE IF EXISTS "gatherable_test"
157528
+  (789.1ms) CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
157529
+  (17.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
157530
+  (8.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
157531
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
157532
+ Migrating to CreateGatherableSchema (20160307210314)
157533
+  (0.1ms) BEGIN
157534
+  (0.2ms) CREATE SCHEMA gatherable
157535
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307210314"]]
157536
+  (0.2ms) COMMIT
157537
+ Migrating to CreateGatherablePrice (20160307210315)
157538
+  (0.1ms) BEGIN
157539
+  (10.7ms) CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
157540
+  (3.2ms) CREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")
157541
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307210315"]]
157542
+  (0.4ms) COMMIT
157543
+  (1.7ms) BEGIN
157544
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157545
+ Processing by Gatherable::PricesController#index as JSON
157546
+ Parameters: {"session_id"=>"session_id123"}
157547
+ Completed 302 Found in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)
157548
+  (0.1ms) ROLLBACK
157549
+  (0.1ms) BEGIN
157550
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157551
+ Processing by Gatherable::PricesController#index as JSON
157552
+ Parameters: {"session_id"=>"session_id123"}
157553
+ Completed 302 Found in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
157554
+  (0.1ms) ROLLBACK
157555
+  (0.1ms) BEGIN
157556
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157557
+ Processing by Gatherable::PricesController#index as JSON
157558
+ Parameters: {"session_id"=>"session_id123"}
157559
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
157560
+ Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)
157561
+  (0.1ms) ROLLBACK
157562
+  (0.0ms) BEGIN
157563
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157564
+ Processing by Gatherable::PricesController#index as JSON
157565
+ Parameters: {"session_id"=>"session_id123123"}
157566
+ Filter chain halted as :authenticate rendered or redirected
157567
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157568
+  (0.1ms) ROLLBACK
157569
+  (0.1ms) BEGIN
157570
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157571
+ Processing by Gatherable::PricesController#index as JSON
157572
+ Parameters: {"session_id"=>"session_id123123"}
157573
+ Filter chain halted as :authenticate rendered or redirected
157574
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157575
+  (0.1ms) ROLLBACK
157576
+  (0.1ms) BEGIN
157577
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157578
+ Processing by Gatherable::PricesController#show as JSON
157579
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
157580
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
157581
+  (0.1ms) ROLLBACK
157582
+  (0.0ms) BEGIN
157583
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157584
+ Processing by Gatherable::PricesController#show as JSON
157585
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
157586
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
157587
+  (0.1ms) ROLLBACK
157588
+  (0.1ms) BEGIN
157589
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157590
+ Processing by Gatherable::PricesController#show as JSON
157591
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157592
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157593
+  (0.1ms) ROLLBACK
157594
+  (0.1ms) BEGIN
157595
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157596
+ Processing by Gatherable::PricesController#show as JSON
157597
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157598
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157599
+  (0.1ms) ROLLBACK
157600
+  (0.0ms) BEGIN
157601
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157602
+ Processing by Gatherable::PricesController#index as JSON
157603
+ Parameters: {"session_id"=>"session_id123123"}
157604
+ Filter chain halted as :authenticate rendered or redirected
157605
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157606
+  (0.1ms) ROLLBACK
157607
+  (0.0ms) BEGIN
157608
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157609
+ Processing by Gatherable::PricesController#index as JSON
157610
+ Parameters: {"session_id"=>"session_id123123"}
157611
+ Filter chain halted as :authenticate rendered or redirected
157612
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157613
+  (0.1ms) ROLLBACK
157614
+  (0.1ms) BEGIN
157615
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157616
+ Processing by Gatherable::PricesController#create as JSON
157617
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157618
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157619
+  (0.1ms) ROLLBACK
157620
+  (0.0ms) BEGIN
157621
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157622
+ Processing by Gatherable::PricesController#create as JSON
157623
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157624
+  (0.1ms) SAVEPOINT active_record_1
157625
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.724215"]]
157626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157627
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157628
+  (0.1ms) ROLLBACK
157629
+  (0.1ms) BEGIN
157630
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157631
+ Processing by Gatherable::PricesController#create as JSON
157632
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157633
+  (0.1ms) SAVEPOINT active_record_1
157634
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.734182"]]
157635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157636
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157637
+  (0.1ms) ROLLBACK
157638
+  (0.0ms) BEGIN
157639
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157640
+ Processing by Gatherable::PricesController#create as JSON
157641
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157642
+  (0.1ms) SAVEPOINT active_record_1
157643
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.742984"]]
157644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157645
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
157646
+  (0.1ms) ROLLBACK
157647
+  (0.1ms) BEGIN
157648
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157649
+ Processing by Gatherable::PricesController#create as JSON
157650
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157651
+  (0.1ms) SAVEPOINT active_record_1
157652
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.753035"]]
157653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157654
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
157655
+  (0.1ms) ROLLBACK
157656
+  (0.1ms) BEGIN
157657
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157658
+ Processing by Gatherable::PricesController#create as JSON
157659
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157660
+  (0.1ms) SAVEPOINT active_record_1
157661
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.762803"]]
157662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157663
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157664
+  (0.1ms) ROLLBACK
157665
+  (0.0ms) BEGIN
157666
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157667
+ Processing by Gatherable::PricesController#create as JSON
157668
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157669
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157670
+  (0.1ms) SAVEPOINT active_record_1
157671
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:14.776366"]]
157672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157673
+ Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157674
+  (0.1ms) ROLLBACK
157675
+  (0.0ms) BEGIN
157676
+  (0.1ms) SAVEPOINT active_record_1
157677
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.782322"]]
157678
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157679
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157680
+ Processing by Gatherable::PricesController#create as JSON
157681
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157682
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157683
+  (0.1ms) SAVEPOINT active_record_1
157684
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 7]]
157685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157686
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157687
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 7]]
157688
+  (0.2ms) ROLLBACK
157689
+  (0.1ms) BEGIN
157690
+  (0.1ms) SAVEPOINT active_record_1
157691
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.796007"]]
157692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157693
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157694
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157695
+ Processing by Gatherable::PricesController#create as JSON
157696
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157697
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157698
+  (0.1ms) SAVEPOINT active_record_1
157699
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 8]]
157700
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157701
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
157702
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
157703
+  (0.1ms) ROLLBACK
157704
+  (0.1ms) BEGIN
157705
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157706
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157707
+ Processing by Gatherable::PricesController#create as JSON
157708
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157709
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157710
+  (0.1ms) SAVEPOINT active_record_1
157711
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:14.816371"]]
157712
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157713
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157714
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
157715
+  (0.1ms) ROLLBACK
157716
+  (0.0ms) BEGIN
157717
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157718
+ Processing by Gatherable::PricesController#create as JSON
157719
+ Parameters: {"yolo"=>"swag", "session_id"=>"session_id123"}
157720
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157721
+  (0.1ms) ROLLBACK
157722
+  (0.0ms) BEGIN
157723
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157724
+ Processing by Gatherable::PricesController#create as JSON
157725
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157726
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157727
+  (0.1ms) ROLLBACK
157728
+  (0.0ms) BEGIN
157729
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157730
+ Processing by Gatherable::PricesController#create as JSON
157731
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157732
+  (0.1ms) SAVEPOINT active_record_1
157733
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.842417"]]
157734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157735
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157736
+  (0.1ms) ROLLBACK
157737
+  (0.1ms) BEGIN
157738
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157739
+ Processing by Gatherable::PricesController#create as JSON
157740
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157741
+  (0.1ms) SAVEPOINT active_record_1
157742
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.852209"]]
157743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157744
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157745
+  (0.1ms) ROLLBACK
157746
+  (0.1ms) BEGIN
157747
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157748
+ Processing by Gatherable::PricesController#create as JSON
157749
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157750
+  (0.1ms) SAVEPOINT active_record_1
157751
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.863851"]]
157752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157753
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157754
+  (0.1ms) ROLLBACK
157755
+  (0.0ms) BEGIN
157756
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157757
+ Processing by Gatherable::PricesController#create as JSON
157758
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157759
+  (0.1ms) SAVEPOINT active_record_1
157760
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.873236"]]
157761
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157762
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157763
+  (0.1ms) ROLLBACK
157764
+  (0.1ms) BEGIN
157765
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157766
+ Processing by Gatherable::PricesController#create as JSON
157767
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157768
+  (0.1ms) SAVEPOINT active_record_1
157769
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.883420"]]
157770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157771
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
157772
+  (0.1ms) ROLLBACK
157773
+  (0.0ms) BEGIN
157774
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157775
+ Processing by Gatherable::PricesController#create as JSON
157776
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157777
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157778
+  (0.1ms) SAVEPOINT active_record_1
157779
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:14.895830"]]
157780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157781
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157782
+  (0.1ms) ROLLBACK
157783
+  (0.0ms) BEGIN
157784
+  (0.1ms) SAVEPOINT active_record_1
157785
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.901030"]]
157786
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157787
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157788
+ Processing by Gatherable::PricesController#create as JSON
157789
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157790
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157791
+  (0.1ms) SAVEPOINT active_record_1
157792
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 16]]
157793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157794
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
157795
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 16]]
157796
+  (0.1ms) ROLLBACK
157797
+  (0.1ms) BEGIN
157798
+  (0.1ms) SAVEPOINT active_record_1
157799
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:14.921572"]]
157800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157801
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157802
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157803
+ Processing by Gatherable::PricesController#create as JSON
157804
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157805
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157806
+  (0.1ms) SAVEPOINT active_record_1
157807
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 17]]
157808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157809
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
157810
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157811
+  (0.1ms) ROLLBACK
157812
+  (0.0ms) BEGIN
157813
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157814
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157815
+ Processing by Gatherable::PricesController#create as JSON
157816
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
157817
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
157818
+  (0.1ms) SAVEPOINT active_record_1
157819
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:14.945262"]]
157820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157821
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
157822
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157823
+  (0.1ms) ROLLBACK
157824
+  (0.0ms) BEGIN
157825
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157826
+ Processing by Gatherable::PricesController#create as JSON
157827
+ Parameters: {"session_id"=>"session_id123123"}
157828
+ Filter chain halted as :authenticate rendered or redirected
157829
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157830
+  (0.1ms) ROLLBACK
157831
+  (0.1ms) BEGIN
157832
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157833
+ Processing by Gatherable::PricesController#create as JSON
157834
+ Parameters: {"session_id"=>"session_id123123"}
157835
+ Filter chain halted as :authenticate rendered or redirected
157836
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157837
+  (0.1ms) ROLLBACK
157838
+  (0.0ms) BEGIN
157839
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157840
+ Processing by Gatherable::PricesController#create as JSON
157841
+ Parameters: {"session_id"=>"session_id123123"}
157842
+ Filter chain halted as :authenticate rendered or redirected
157843
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157844
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
157845
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
157846
+  (0.1ms) ROLLBACK
157847
+  (0.0ms) BEGIN
157848
+  (0.1ms) SAVEPOINT active_record_1
157849
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:03:14.986479"]]
157850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157851
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:14 -0600
157852
+ Processing by Gatherable::PricesController#update as JSON
157853
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
157854
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157855
+  (0.1ms) SAVEPOINT active_record_1
157856
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
157857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157858
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157859
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)
157860
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157861
+  (0.1ms) ROLLBACK
157862
+  (0.0ms) BEGIN
157863
+  (0.1ms) SAVEPOINT active_record_1
157864
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:03:15.003736"]]
157865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157866
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157867
+ Processing by Gatherable::PricesController#update as JSON
157868
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
157869
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157870
+  (0.1ms) SAVEPOINT active_record_1
157871
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
157872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157873
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
157874
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)
157875
+  (0.1ms) ROLLBACK
157876
+  (0.0ms) BEGIN
157877
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157878
+ Processing by Gatherable::PricesController#update as JSON
157879
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
157880
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157881
+  (0.1ms) ROLLBACK
157882
+  (0.1ms) BEGIN
157883
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157884
+ Processing by Gatherable::PricesController#update as JSON
157885
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
157886
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
157887
+  (0.1ms) ROLLBACK
157888
+  (0.0ms) BEGIN
157889
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157890
+ Processing by Gatherable::PricesController#update as JSON
157891
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157892
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157893
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157894
+  (0.1ms) ROLLBACK
157895
+  (0.2ms) BEGIN
157896
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157897
+ Processing by Gatherable::PricesController#update as JSON
157898
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157899
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157900
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157901
+  (0.1ms) ROLLBACK
157902
+  (0.0ms) BEGIN
157903
+  (0.1ms) SAVEPOINT active_record_1
157904
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.053518"]]
157905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157906
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 19]]
157907
+ Started PUT "/gatherable/session_id123123/prices/19.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157908
+ Processing by Gatherable::PricesController#update as JSON
157909
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"19"}
157910
+ Filter chain halted as :authenticate rendered or redirected
157911
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157912
+  (0.1ms) ROLLBACK
157913
+  (0.0ms) BEGIN
157914
+  (0.1ms) SAVEPOINT active_record_1
157915
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.066250"]]
157916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157917
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 20]]
157918
+ Started PUT "/gatherable/session_id123123/prices/20.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157919
+ Processing by Gatherable::PricesController#update as JSON
157920
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"20"}
157921
+ Filter chain halted as :authenticate rendered or redirected
157922
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157923
+  (0.1ms) ROLLBACK
157924
+  (0.1ms) BEGIN
157925
+  (0.1ms) SAVEPOINT active_record_1
157926
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.078557"]]
157927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157928
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
157929
+ Started PUT "/gatherable/session_id123123/prices/21.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157930
+ Processing by Gatherable::PricesController#update as JSON
157931
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"21"}
157932
+ Filter chain halted as :authenticate rendered or redirected
157933
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157934
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
157935
+  (0.1ms) ROLLBACK
157936
+  (0.0ms) BEGIN
157937
+  (0.1ms) SAVEPOINT active_record_1
157938
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.089228"]]
157939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157940
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
157941
+ Started DELETE "/gatherable/session_id123/prices/22.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157942
+ Processing by Gatherable::PricesController#destroy as JSON
157943
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"22"}
157944
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
157945
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
157946
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
157947
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
157948
+  (0.1ms) ROLLBACK
157949
+  (0.0ms) BEGIN
157950
+  (0.1ms) SAVEPOINT active_record_1
157951
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.102368"]]
157952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157953
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
157954
+ Started DELETE "/gatherable/session_id123/prices/23.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157955
+ Processing by Gatherable::PricesController#destroy as JSON
157956
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"23"}
157957
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
157958
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 23]]
157959
+ Completed 204 No Content in 2ms (ActiveRecord: 0.4ms)
157960
+  (0.1ms) ROLLBACK
157961
+  (0.1ms) BEGIN
157962
+  (0.1ms) SAVEPOINT active_record_1
157963
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.112676"]]
157964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157965
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
157966
+ Started DELETE "/gatherable/session_id123/prices/24.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157967
+ Processing by Gatherable::PricesController#destroy as JSON
157968
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"24"}
157969
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
157970
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 24]]
157971
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
157972
+  (0.1ms) ROLLBACK
157973
+  (0.0ms) BEGIN
157974
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157975
+ Processing by Gatherable::PricesController#destroy as JSON
157976
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157977
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157978
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157979
+  (0.1ms) ROLLBACK
157980
+  (0.0ms) BEGIN
157981
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157982
+ Processing by Gatherable::PricesController#destroy as JSON
157983
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
157984
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
157985
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
157986
+  (0.1ms) ROLLBACK
157987
+  (0.0ms) BEGIN
157988
+  (0.1ms) SAVEPOINT active_record_1
157989
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.140703"]]
157990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157991
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 25]]
157992
+ Started DELETE "/gatherable/session_id123123/prices/25.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
157993
+ Processing by Gatherable::PricesController#destroy as JSON
157994
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"25"}
157995
+ Filter chain halted as :authenticate rendered or redirected
157996
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
157997
+  (0.1ms) ROLLBACK
157998
+  (0.0ms) BEGIN
157999
+  (0.1ms) SAVEPOINT active_record_1
158000
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.153439"]]
158001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158002
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 26]]
158003
+ Started DELETE "/gatherable/session_id123123/prices/26.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158004
+ Processing by Gatherable::PricesController#destroy as JSON
158005
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"26"}
158006
+ Filter chain halted as :authenticate rendered or redirected
158007
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158008
+  (0.1ms) ROLLBACK
158009
+  (0.0ms) BEGIN
158010
+  (0.1ms) SAVEPOINT active_record_1
158011
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.165132"]]
158012
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158013
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 27]]
158014
+ Started DELETE "/gatherable/session_id123123/prices/27.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158015
+ Processing by Gatherable::PricesController#destroy as JSON
158016
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"27"}
158017
+ Filter chain halted as :authenticate rendered or redirected
158018
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158019
+  (0.2ms) ROLLBACK
158020
+  (0.1ms) BEGIN
158021
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158022
+ Processing by Gatherable::PricesController#index as JSON
158023
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158024
+  (0.1ms) ROLLBACK
158025
+  (0.0ms) BEGIN
158026
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158027
+ Processing by Gatherable::PricesController#index as JSON
158028
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158029
+  (0.1ms) ROLLBACK
158030
+  (0.1ms) BEGIN
158031
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158032
+ Processing by Gatherable::PricesController#index as JSON
158033
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
158034
+ Completed 302 Found in 1ms (Views: 0.5ms | ActiveRecord: 0.2ms)
158035
+  (0.1ms) ROLLBACK
158036
+  (0.0ms) BEGIN
158037
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158038
+ Processing by Gatherable::PricesController#show as JSON
158039
+ Parameters: {"price_id"=>"1"}
158040
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158041
+  (0.1ms) ROLLBACK
158042
+  (0.1ms) BEGIN
158043
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158044
+ Processing by Gatherable::PricesController#show as JSON
158045
+ Parameters: {"price_id"=>"1"}
158046
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158047
+  (0.1ms) ROLLBACK
158048
+  (0.1ms) BEGIN
158049
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158050
+ Processing by Gatherable::PricesController#show as JSON
158051
+ Parameters: {"price_id"=>"0"}
158052
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158053
+  (0.1ms) ROLLBACK
158054
+  (0.0ms) BEGIN
158055
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158056
+ Processing by Gatherable::PricesController#show as JSON
158057
+ Parameters: {"price_id"=>"0"}
158058
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158059
+  (0.1ms) ROLLBACK
158060
+  (0.0ms) BEGIN
158061
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158062
+ Processing by Gatherable::PricesController#create as JSON
158063
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158064
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158065
+  (0.1ms) ROLLBACK
158066
+  (0.1ms) BEGIN
158067
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158068
+ Processing by Gatherable::PricesController#create as JSON
158069
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158070
+  (0.1ms) SAVEPOINT active_record_1
158071
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.250608"]]
158072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158073
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158074
+  (0.1ms) ROLLBACK
158075
+  (0.0ms) BEGIN
158076
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158077
+ Processing by Gatherable::PricesController#create as JSON
158078
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158079
+  (0.1ms) SAVEPOINT active_record_1
158080
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.260254"]]
158081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158082
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158083
+  (0.1ms) ROLLBACK
158084
+  (0.0ms) BEGIN
158085
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158086
+ Processing by Gatherable::PricesController#create as JSON
158087
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158088
+  (0.1ms) SAVEPOINT active_record_1
158089
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.269987"]]
158090
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158091
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158092
+  (0.1ms) ROLLBACK
158093
+  (0.1ms) BEGIN
158094
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158095
+ Processing by Gatherable::PricesController#create as JSON
158096
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158097
+  (0.1ms) SAVEPOINT active_record_1
158098
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.280075"]]
158099
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158100
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158101
+  (0.1ms) ROLLBACK
158102
+  (0.0ms) BEGIN
158103
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158104
+ Processing by Gatherable::PricesController#create as JSON
158105
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158106
+  (0.1ms) SAVEPOINT active_record_1
158107
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.287900"]]
158108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158109
+ Completed 201 Created in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
158110
+  (0.1ms) ROLLBACK
158111
+  (0.1ms) BEGIN
158112
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158113
+ Processing by Gatherable::PricesController#create as JSON
158114
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158115
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158116
+  (0.1ms) SAVEPOINT active_record_1
158117
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:15.299911"]]
158118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158119
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
158120
+  (0.1ms) ROLLBACK
158121
+  (0.1ms) BEGIN
158122
+  (0.1ms) SAVEPOINT active_record_1
158123
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.306058"]]
158124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158125
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158126
+ Processing by Gatherable::PricesController#create as JSON
158127
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158128
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158129
+  (0.1ms) SAVEPOINT active_record_1
158130
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 34]]
158131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158132
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158133
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 34]]
158134
+  (0.1ms) ROLLBACK
158135
+  (0.0ms) BEGIN
158136
+  (0.1ms) SAVEPOINT active_record_1
158137
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.317642"]]
158138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158139
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
158140
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158141
+ Processing by Gatherable::PricesController#create as JSON
158142
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158143
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158144
+  (0.1ms) SAVEPOINT active_record_1
158145
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 35]]
158146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158147
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
158148
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158149
+  (0.1ms) ROLLBACK
158150
+  (0.1ms) BEGIN
158151
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
158152
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158153
+ Processing by Gatherable::PricesController#create as JSON
158154
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158155
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158156
+  (0.1ms) SAVEPOINT active_record_1
158157
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:15.335517"]]
158158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158159
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158160
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
158161
+  (0.1ms) ROLLBACK
158162
+  (0.0ms) BEGIN
158163
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158164
+ Processing by Gatherable::PricesController#create as JSON
158165
+ Parameters: {"yolo"=>"swag"}
158166
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158167
+  (0.1ms) ROLLBACK
158168
+  (0.1ms) BEGIN
158169
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158170
+ Processing by Gatherable::PricesController#create as JSON
158171
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158172
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158173
+  (0.1ms) ROLLBACK
158174
+  (0.1ms) BEGIN
158175
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158176
+ Processing by Gatherable::PricesController#create as JSON
158177
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158178
+  (0.1ms) SAVEPOINT active_record_1
158179
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.360135"]]
158180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158181
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158182
+  (0.1ms) ROLLBACK
158183
+  (0.0ms) BEGIN
158184
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158185
+ Processing by Gatherable::PricesController#create as JSON
158186
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158187
+  (0.1ms) SAVEPOINT active_record_1
158188
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.369028"]]
158189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158190
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158191
+  (0.1ms) ROLLBACK
158192
+  (0.0ms) BEGIN
158193
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158194
+ Processing by Gatherable::PricesController#create as JSON
158195
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158196
+  (0.1ms) SAVEPOINT active_record_1
158197
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.378480"]]
158198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158199
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158200
+  (0.1ms) ROLLBACK
158201
+  (0.0ms) BEGIN
158202
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158203
+ Processing by Gatherable::PricesController#create as JSON
158204
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158205
+  (0.1ms) SAVEPOINT active_record_1
158206
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.386533"]]
158207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158208
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
158209
+  (0.1ms) ROLLBACK
158210
+  (0.0ms) BEGIN
158211
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158212
+ Processing by Gatherable::PricesController#create as JSON
158213
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158214
+  (0.1ms) SAVEPOINT active_record_1
158215
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.401668"]]
158216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158217
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158218
+  (0.1ms) ROLLBACK
158219
+  (0.0ms) BEGIN
158220
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158221
+ Processing by Gatherable::PricesController#create as JSON
158222
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158223
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158224
+  (0.1ms) SAVEPOINT active_record_1
158225
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:15.413019"]]
158226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158227
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158228
+  (0.1ms) ROLLBACK
158229
+  (0.0ms) BEGIN
158230
+  (0.1ms) SAVEPOINT active_record_1
158231
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.419019"]]
158232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158233
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158234
+ Processing by Gatherable::PricesController#create as JSON
158235
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158236
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158237
+  (0.1ms) SAVEPOINT active_record_1
158238
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 43]]
158239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158240
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
158241
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 43]]
158242
+  (0.1ms) ROLLBACK
158243
+  (0.0ms) BEGIN
158244
+  (0.1ms) SAVEPOINT active_record_1
158245
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.434122"]]
158246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158247
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
158248
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158249
+ Processing by Gatherable::PricesController#create as JSON
158250
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158251
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158252
+  (0.1ms) SAVEPOINT active_record_1
158253
+ SQL (0.3ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 44]]
158254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158255
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)
158256
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158257
+  (0.1ms) ROLLBACK
158258
+  (0.1ms) BEGIN
158259
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
158260
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158261
+ Processing by Gatherable::PricesController#create as JSON
158262
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
158263
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158264
+  (0.1ms) SAVEPOINT active_record_1
158265
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:03:15.457951"]]
158266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158267
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158268
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
158269
+  (0.1ms) ROLLBACK
158270
+  (0.1ms) BEGIN
158271
+  (0.1ms) SAVEPOINT active_record_1
158272
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:03:15.463293"]]
158273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158274
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158275
+ Processing by Gatherable::PricesController#update as JSON
158276
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
158277
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158278
+  (0.1ms) SAVEPOINT active_record_1
158279
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
158280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158281
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158282
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
158283
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158284
+  (0.1ms) ROLLBACK
158285
+  (0.1ms) BEGIN
158286
+  (0.1ms) SAVEPOINT active_record_1
158287
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:03:15.477524"]]
158288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158289
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158290
+ Processing by Gatherable::PricesController#update as JSON
158291
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
158292
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158293
+  (0.1ms) SAVEPOINT active_record_1
158294
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
158295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158296
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158297
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158298
+  (0.1ms) ROLLBACK
158299
+  (0.0ms) BEGIN
158300
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158301
+ Processing by Gatherable::PricesController#update as JSON
158302
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
158303
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158304
+  (0.2ms) ROLLBACK
158305
+  (0.1ms) BEGIN
158306
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158307
+ Processing by Gatherable::PricesController#update as JSON
158308
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
158309
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158310
+  (0.1ms) ROLLBACK
158311
+  (0.1ms) BEGIN
158312
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158313
+ Processing by Gatherable::PricesController#update as JSON
158314
+ Parameters: {"price_id"=>"0"}
158315
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
158316
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
158317
+  (0.1ms) ROLLBACK
158318
+  (0.0ms) BEGIN
158319
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158320
+ Processing by Gatherable::PricesController#update as JSON
158321
+ Parameters: {"price_id"=>"0"}
158322
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
158323
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
158324
+  (0.1ms) ROLLBACK
158325
+  (0.0ms) BEGIN
158326
+  (0.1ms) SAVEPOINT active_record_1
158327
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.525277"]]
158328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158329
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
158330
+ Started DELETE "/gatherable/prices/46.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158331
+ Processing by Gatherable::PricesController#destroy as JSON
158332
+ Parameters: {"price_id"=>"46"}
158333
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
158334
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
158335
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
158336
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
158337
+  (0.1ms) ROLLBACK
158338
+  (0.0ms) BEGIN
158339
+  (0.1ms) SAVEPOINT active_record_1
158340
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.536710"]]
158341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158342
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
158343
+ Started DELETE "/gatherable/prices/47.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158344
+ Processing by Gatherable::PricesController#destroy as JSON
158345
+ Parameters: {"price_id"=>"47"}
158346
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
158347
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 47]]
158348
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
158349
+  (0.1ms) ROLLBACK
158350
+  (0.0ms) BEGIN
158351
+  (0.1ms) SAVEPOINT active_record_1
158352
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:03:15.546437"]]
158353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158354
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
158355
+ Started DELETE "/gatherable/prices/48.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158356
+ Processing by Gatherable::PricesController#destroy as JSON
158357
+ Parameters: {"price_id"=>"48"}
158358
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
158359
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 48]]
158360
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
158361
+  (0.1ms) ROLLBACK
158362
+  (0.1ms) BEGIN
158363
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158364
+ Processing by Gatherable::PricesController#destroy as JSON
158365
+ Parameters: {"price_id"=>"0"}
158366
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
158367
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
158368
+  (0.1ms) ROLLBACK
158369
+  (0.0ms) BEGIN
158370
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158371
+ Processing by Gatherable::PricesController#destroy as JSON
158372
+ Parameters: {"price_id"=>"0"}
158373
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
158374
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
158375
+  (0.1ms) ROLLBACK
158376
+  (0.0ms) BEGIN
158377
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158378
+  (0.1ms) ROLLBACK
158379
+  (0.0ms) BEGIN
158380
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158381
+  (0.1ms) ROLLBACK
158382
+  (0.0ms) BEGIN
158383
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158384
+  (0.1ms) ROLLBACK
158385
+  (0.1ms) BEGIN
158386
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158387
+  (0.1ms) ROLLBACK
158388
+  (0.0ms) BEGIN
158389
+ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:03:15 -0600
158390
+  (0.1ms) ROLLBACK
158391
+  (0.1ms) BEGIN
158392
+  (0.1ms) ROLLBACK
158393
+  (0.0ms) BEGIN
158394
+  (0.0ms) ROLLBACK
158395
+  (0.0ms) BEGIN
158396
+  (0.0ms) ROLLBACK
158397
+  (0.0ms) BEGIN
158398
+  (0.0ms) ROLLBACK
158399
+  (0.0ms) BEGIN
158400
+  (0.1ms) ROLLBACK
158401
+  (0.0ms) BEGIN
158402
+  (0.1ms) ROLLBACK
158403
+  (0.0ms) BEGIN
158404
+  (0.1ms) ROLLBACK
158405
+  (0.0ms) BEGIN
158406
+  (0.1ms) ROLLBACK
158407
+  (0.1ms) BEGIN
158408
+  (0.1ms) ROLLBACK
158409
+  (0.0ms) BEGIN
158410
+  (0.1ms) ROLLBACK
158411
+  (0.0ms) BEGIN
158412
+  (0.0ms) ROLLBACK
158413
+  (0.0ms) BEGIN
158414
+  (0.1ms) ROLLBACK
158415
+  (0.0ms) BEGIN
158416
+  (0.0ms) ROLLBACK
158417
+  (0.0ms) BEGIN
158418
+  (0.0ms) ROLLBACK
158419
+  (0.0ms) BEGIN
158420
+  (0.0ms) ROLLBACK
158421
+  (0.0ms) BEGIN
158422
+  (0.1ms) ROLLBACK
158423
+  (0.0ms) BEGIN
158424
+  (0.0ms) ROLLBACK
158425
+  (0.0ms) BEGIN
158426
+  (0.0ms) ROLLBACK
158427
+  (0.0ms) BEGIN
158428
+  (0.0ms) ROLLBACK
158429
+  (0.0ms) BEGIN
158430
+  (0.1ms) ROLLBACK
158431
+  (0.0ms) BEGIN
158432
+  (0.1ms) ROLLBACK
158433
+  (0.0ms) BEGIN
158434
+  (0.1ms) ROLLBACK
158435
+  (0.0ms) BEGIN
158436
+  (0.1ms) ROLLBACK
158437
+  (0.0ms) BEGIN
158438
+  (0.1ms) ROLLBACK
158439
+  (0.1ms) BEGIN
158440
+  (0.1ms) ROLLBACK
158441
+  (0.1ms) BEGIN
158442
+  (0.1ms) ROLLBACK
158443
+  (0.1ms) BEGIN
158444
+  (0.1ms) ROLLBACK
158445
+  (0.0ms) BEGIN
158446
+  (0.1ms) ROLLBACK
158447
+  (0.1ms) BEGIN
158448
+  (0.1ms) ROLLBACK
158449
+  (0.0ms) BEGIN
158450
+  (0.1ms) ROLLBACK
158451
+  (0.0ms) BEGIN
158452
+  (0.1ms) ROLLBACK
158453
+  (0.0ms) BEGIN
158454
+  (0.1ms) ROLLBACK
158455
+  (0.1ms) BEGIN
158456
+  (0.1ms) ROLLBACK
158457
+  (0.0ms) BEGIN
158458
+  (0.1ms) ROLLBACK
158459
+  (0.1ms) BEGIN
158460
+  (0.1ms) ROLLBACK
158461
+  (0.1ms) BEGIN
158462
+  (0.1ms) ROLLBACK
158463
+  (0.1ms) BEGIN
158464
+  (0.1ms) ROLLBACK
158465
+  (0.1ms) BEGIN
158466
+  (0.1ms) ROLLBACK
158467
+  (0.0ms) BEGIN
158468
+  (0.0ms) SAVEPOINT active_record_1
158469
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("session_id", "created_at") VALUES ($1, $2) RETURNING "price_id" [["session_id", "1"], ["created_at", "2016-03-08 03:03:15.704813"]]
158470
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
158471
+  (0.1ms) ROLLBACK
158472
+  (0.1ms) BEGIN
158473
+  (0.1ms) SAVEPOINT active_record_1
158474
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "1"], ["price", "30.0"], ["created_at", "2016-03-08 03:03:15.706917"]]
158475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158476
+  (0.1ms) ROLLBACK
158477
+  (0.1ms) BEGIN
158478
+  (0.1ms) ROLLBACK
158479
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
158480
+  (322.1ms) DROP DATABASE IF EXISTS "gatherable_test"
158481
+  (813.4ms) CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
158482
+  (19.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
158483
+  (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
158484
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
158485
+ Migrating to CreateGatherableSchema (20160307210649)
158486
+  (0.1ms) BEGIN
158487
+  (0.3ms) CREATE SCHEMA gatherable
158488
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307210649"]]
158489
+  (0.3ms) COMMIT
158490
+ Migrating to CreateGatherablePrice (20160307210650)
158491
+  (0.1ms) BEGIN
158492
+  (10.0ms) CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
158493
+  (2.8ms) CREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")
158494
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307210650"]]
158495
+  (0.4ms) COMMIT
158496
+  (1.7ms) BEGIN
158497
+  (0.1ms) ROLLBACK
158498
+  (0.1ms) BEGIN
158499
+  (0.1ms) ROLLBACK
158500
+  (0.0ms) BEGIN
158501
+  (0.1ms) ROLLBACK
158502
+  (0.0ms) BEGIN
158503
+  (0.1ms) ROLLBACK
158504
+  (0.1ms) BEGIN
158505
+  (0.1ms) ROLLBACK
158506
+  (0.0ms) BEGIN
158507
+  (0.1ms) ROLLBACK
158508
+  (0.0ms) BEGIN
158509
+  (0.1ms) ROLLBACK
158510
+  (0.0ms) BEGIN
158511
+  (0.2ms) ROLLBACK
158512
+  (0.1ms) BEGIN
158513
+  (0.1ms) ROLLBACK
158514
+  (0.0ms) BEGIN
158515
+  (0.1ms) ROLLBACK
158516
+  (0.1ms) BEGIN
158517
+  (0.1ms) ROLLBACK
158518
+  (0.1ms) BEGIN
158519
+  (0.1ms) ROLLBACK
158520
+  (0.1ms) BEGIN
158521
+  (0.1ms) ROLLBACK
158522
+  (0.1ms) BEGIN
158523
+  (0.1ms) ROLLBACK
158524
+  (0.1ms) BEGIN
158525
+  (0.1ms) ROLLBACK
158526
+  (0.0ms) BEGIN
158527
+  (0.1ms) ROLLBACK
158528
+  (0.1ms) BEGIN
158529
+  (0.1ms) ROLLBACK
158530
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
158531
+  (322.1ms) DROP DATABASE IF EXISTS "gatherable_test"
158532
+  (788.9ms) CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
158533
+  (19.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
158534
+  (5.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
158535
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
158536
+ Migrating to CreateGatherableSchema (20160307210944)
158537
+  (0.1ms) BEGIN
158538
+  (0.2ms) CREATE SCHEMA gatherable
158539
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307210944"]]
158540
+  (0.2ms) COMMIT
158541
+ Migrating to CreateGatherablePrice (20160307210945)
158542
+  (0.1ms) BEGIN
158543
+  (9.5ms) CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
158544
+  (2.7ms) CREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")
158545
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307210945"]]
158546
+  (0.3ms) COMMIT
158547
+  (1.6ms) BEGIN
158548
+  (0.3ms) ROLLBACK
158549
+  (0.1ms) BEGIN
158550
+  (0.1ms) ROLLBACK
158551
+  (0.0ms) BEGIN
158552
+  (0.1ms) ROLLBACK
158553
+  (0.0ms) BEGIN
158554
+  (0.1ms) ROLLBACK
158555
+  (0.0ms) BEGIN
158556
+  (0.1ms) ROLLBACK
158557
+  (0.0ms) BEGIN
158558
+  (0.1ms) ROLLBACK
158559
+  (0.1ms) BEGIN
158560
+  (0.1ms) ROLLBACK
158561
+  (0.1ms) BEGIN
158562
+  (0.1ms) ROLLBACK
158563
+  (0.0ms) BEGIN
158564
+  (0.1ms) ROLLBACK
158565
+  (0.1ms) BEGIN
158566
+  (0.1ms) ROLLBACK
158567
+  (0.1ms) BEGIN
158568
+  (0.1ms) ROLLBACK
158569
+  (0.1ms) BEGIN
158570
+  (0.1ms) ROLLBACK
158571
+  (0.0ms) BEGIN
158572
+  (0.1ms) ROLLBACK
158573
+  (0.1ms) BEGIN
158574
+  (0.1ms) ROLLBACK
158575
+  (0.0ms) BEGIN
158576
+  (0.1ms) ROLLBACK
158577
+  (0.1ms) BEGIN
158578
+  (0.1ms) ROLLBACK
158579
+  (0.1ms) BEGIN
158580
+  (0.1ms) ROLLBACK
158581
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
158582
+  (116.1ms) DROP DATABASE IF EXISTS "gatherable_test"
158583
+  (812.7ms) CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
158584
+  (21.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
158585
+  (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
158586
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
158587
+ Migrating to CreateGatherableSchema (20160307215932)
158588
+  (0.1ms) BEGIN
158589
+  (0.2ms) CREATE SCHEMA gatherable
158590
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307215932"]]
158591
+  (6.0ms) COMMIT
158592
+ Migrating to CreateGatherablePrice (20160307215933)
158593
+  (0.1ms) BEGIN
158594
+  (20.7ms) CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
158595
+  (2.9ms) CREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")
158596
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160307215933"]]
158597
+  (0.3ms) COMMIT
158598
+  (1.7ms) BEGIN
158599
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158600
+ Processing by Gatherable::PricesController#index as JSON
158601
+ Parameters: {"session_id"=>"session_id123"}
158602
+ Completed 302 Found in 10ms (Views: 0.9ms | ActiveRecord: 0.0ms)
158603
+  (0.2ms) ROLLBACK
158604
+  (0.1ms) BEGIN
158605
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158606
+ Processing by Gatherable::PricesController#index as JSON
158607
+ Parameters: {"session_id"=>"session_id123"}
158608
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158609
+  (0.1ms) ROLLBACK
158610
+  (0.1ms) BEGIN
158611
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158612
+ Processing by Gatherable::PricesController#index as JSON
158613
+ Parameters: {"session_id"=>"session_id123"}
158614
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
158615
+ Completed 302 Found in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)
158616
+  (0.1ms) ROLLBACK
158617
+  (0.1ms) BEGIN
158618
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158619
+ Processing by Gatherable::PricesController#index as JSON
158620
+ Parameters: {"session_id"=>"session_id123123"}
158621
+ Filter chain halted as :authenticate rendered or redirected
158622
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158623
+  (0.1ms) ROLLBACK
158624
+  (0.0ms) BEGIN
158625
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158626
+ Processing by Gatherable::PricesController#index as JSON
158627
+ Parameters: {"session_id"=>"session_id123123"}
158628
+ Filter chain halted as :authenticate rendered or redirected
158629
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158630
+  (0.1ms) ROLLBACK
158631
+  (0.0ms) BEGIN
158632
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158633
+ Processing by Gatherable::PricesController#show as JSON
158634
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
158635
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
158636
+  (0.1ms) ROLLBACK
158637
+  (0.0ms) BEGIN
158638
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158639
+ Processing by Gatherable::PricesController#show as JSON
158640
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
158641
+ Completed 302 Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
158642
+  (0.1ms) ROLLBACK
158643
+  (0.1ms) BEGIN
158644
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158645
+ Processing by Gatherable::PricesController#show as JSON
158646
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
158647
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158648
+  (0.1ms) ROLLBACK
158649
+  (0.1ms) BEGIN
158650
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158651
+ Processing by Gatherable::PricesController#show as JSON
158652
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
158653
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158654
+  (0.1ms) ROLLBACK
158655
+  (0.1ms) BEGIN
158656
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158657
+ Processing by Gatherable::PricesController#index as JSON
158658
+ Parameters: {"session_id"=>"session_id123123"}
158659
+ Filter chain halted as :authenticate rendered or redirected
158660
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158661
+  (0.1ms) ROLLBACK
158662
+  (0.1ms) BEGIN
158663
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158664
+ Processing by Gatherable::PricesController#index as JSON
158665
+ Parameters: {"session_id"=>"session_id123123"}
158666
+ Filter chain halted as :authenticate rendered or redirected
158667
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158668
+  (0.1ms) ROLLBACK
158669
+  (0.0ms) BEGIN
158670
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158671
+ Processing by Gatherable::PricesController#create as JSON
158672
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158673
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158674
+  (0.1ms) ROLLBACK
158675
+  (0.0ms) BEGIN
158676
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158677
+ Processing by Gatherable::PricesController#create as JSON
158678
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158679
+  (0.1ms) SAVEPOINT active_record_1
158680
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.435079"]]
158681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158682
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
158683
+  (0.1ms) ROLLBACK
158684
+  (0.0ms) BEGIN
158685
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158686
+ Processing by Gatherable::PricesController#create as JSON
158687
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158688
+  (0.1ms) SAVEPOINT active_record_1
158689
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.445490"]]
158690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158691
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158692
+  (0.1ms) ROLLBACK
158693
+  (0.1ms) BEGIN
158694
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158695
+ Processing by Gatherable::PricesController#create as JSON
158696
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158697
+  (0.1ms) SAVEPOINT active_record_1
158698
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.455587"]]
158699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158700
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158701
+  (0.1ms) ROLLBACK
158702
+  (0.0ms) BEGIN
158703
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158704
+ Processing by Gatherable::PricesController#create as JSON
158705
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158706
+  (0.1ms) SAVEPOINT active_record_1
158707
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.465708"]]
158708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158709
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158710
+  (0.1ms) ROLLBACK
158711
+  (0.1ms) BEGIN
158712
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158713
+ Processing by Gatherable::PricesController#create as JSON
158714
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158715
+  (0.1ms) SAVEPOINT active_record_1
158716
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.476532"]]
158717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158718
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158719
+  (0.1ms) ROLLBACK
158720
+  (0.0ms) BEGIN
158721
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158722
+ Processing by Gatherable::PricesController#create as JSON
158723
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158724
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158725
+  (0.1ms) SAVEPOINT active_record_1
158726
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:32.490294"]]
158727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158728
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158729
+  (0.1ms) ROLLBACK
158730
+  (0.0ms) BEGIN
158731
+  (0.1ms) SAVEPOINT active_record_1
158732
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.506823"]]
158733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158734
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158735
+ Processing by Gatherable::PricesController#create as JSON
158736
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158737
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158738
+  (0.1ms) SAVEPOINT active_record_1
158739
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 7]]
158740
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158741
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
158742
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 7]]
158743
+  (0.1ms) ROLLBACK
158744
+  (0.0ms) BEGIN
158745
+  (0.1ms) SAVEPOINT active_record_1
158746
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.522072"]]
158747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158748
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158749
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158750
+ Processing by Gatherable::PricesController#create as JSON
158751
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158752
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158753
+  (0.1ms) SAVEPOINT active_record_1
158754
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 8]]
158755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158756
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
158757
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158758
+  (0.1ms) ROLLBACK
158759
+  (0.0ms) BEGIN
158760
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
158761
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158762
+ Processing by Gatherable::PricesController#create as JSON
158763
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158764
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158765
+  (0.1ms) SAVEPOINT active_record_1
158766
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:32.545443"]]
158767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158768
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
158769
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
158770
+  (0.1ms) ROLLBACK
158771
+  (0.1ms) BEGIN
158772
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158773
+ Processing by Gatherable::PricesController#create as JSON
158774
+ Parameters: {"yolo"=>"swag", "session_id"=>"session_id123"}
158775
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158776
+  (0.2ms) ROLLBACK
158777
+  (0.0ms) BEGIN
158778
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158779
+ Processing by Gatherable::PricesController#create as JSON
158780
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158781
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158782
+  (0.1ms) ROLLBACK
158783
+  (0.1ms) BEGIN
158784
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158785
+ Processing by Gatherable::PricesController#create as JSON
158786
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158787
+  (0.1ms) SAVEPOINT active_record_1
158788
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.575909"]]
158789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158790
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158791
+  (0.1ms) ROLLBACK
158792
+  (0.1ms) BEGIN
158793
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158794
+ Processing by Gatherable::PricesController#create as JSON
158795
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158796
+  (0.1ms) SAVEPOINT active_record_1
158797
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.588757"]]
158798
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158799
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158800
+  (0.1ms) ROLLBACK
158801
+  (0.1ms) BEGIN
158802
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158803
+ Processing by Gatherable::PricesController#create as JSON
158804
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158805
+  (0.1ms) SAVEPOINT active_record_1
158806
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.598199"]]
158807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158808
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
158809
+  (0.1ms) ROLLBACK
158810
+  (0.0ms) BEGIN
158811
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158812
+ Processing by Gatherable::PricesController#create as JSON
158813
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158814
+  (0.1ms) SAVEPOINT active_record_1
158815
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.607837"]]
158816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158817
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158818
+  (0.1ms) ROLLBACK
158819
+  (0.1ms) BEGIN
158820
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158821
+ Processing by Gatherable::PricesController#create as JSON
158822
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158823
+  (0.1ms) SAVEPOINT active_record_1
158824
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.617564"]]
158825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158826
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
158827
+  (0.1ms) ROLLBACK
158828
+  (0.1ms) BEGIN
158829
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158830
+ Processing by Gatherable::PricesController#create as JSON
158831
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158832
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158833
+  (0.1ms) SAVEPOINT active_record_1
158834
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:32.628600"]]
158835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158836
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
158837
+  (0.1ms) ROLLBACK
158838
+  (0.1ms) BEGIN
158839
+  (0.1ms) SAVEPOINT active_record_1
158840
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.634946"]]
158841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158842
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158843
+ Processing by Gatherable::PricesController#create as JSON
158844
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158845
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158846
+  (0.1ms) SAVEPOINT active_record_1
158847
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 16]]
158848
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158849
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158850
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 16]]
158851
+  (0.1ms) ROLLBACK
158852
+  (0.0ms) BEGIN
158853
+  (0.1ms) SAVEPOINT active_record_1
158854
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.647013"]]
158855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158856
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158857
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158858
+ Processing by Gatherable::PricesController#create as JSON
158859
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158860
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158861
+  (0.1ms) SAVEPOINT active_record_1
158862
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 17]]
158863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158864
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
158865
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158866
+  (0.1ms) ROLLBACK
158867
+  (0.0ms) BEGIN
158868
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158869
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158870
+ Processing by Gatherable::PricesController#create as JSON
158871
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
158872
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
158873
+  (0.1ms) SAVEPOINT active_record_1
158874
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:32.665693"]]
158875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158876
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
158877
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158878
+  (0.1ms) ROLLBACK
158879
+  (0.0ms) BEGIN
158880
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158881
+ Processing by Gatherable::PricesController#create as JSON
158882
+ Parameters: {"session_id"=>"session_id123123"}
158883
+ Filter chain halted as :authenticate rendered or redirected
158884
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158885
+  (0.1ms) ROLLBACK
158886
+  (0.0ms) BEGIN
158887
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158888
+ Processing by Gatherable::PricesController#create as JSON
158889
+ Parameters: {"session_id"=>"session_id123123"}
158890
+ Filter chain halted as :authenticate rendered or redirected
158891
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158892
+  (0.1ms) ROLLBACK
158893
+  (0.1ms) BEGIN
158894
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158895
+ Processing by Gatherable::PricesController#create as JSON
158896
+ Parameters: {"session_id"=>"session_id123123"}
158897
+ Filter chain halted as :authenticate rendered or redirected
158898
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158899
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
158900
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
158901
+  (0.1ms) ROLLBACK
158902
+  (0.1ms) BEGIN
158903
+  (0.1ms) SAVEPOINT active_record_1
158904
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:59:32.706622"]]
158905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158906
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158907
+ Processing by Gatherable::PricesController#update as JSON
158908
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
158909
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158910
+  (0.1ms) SAVEPOINT active_record_1
158911
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
158912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158913
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158914
+ Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.9ms)
158915
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158916
+  (0.1ms) ROLLBACK
158917
+  (0.1ms) BEGIN
158918
+  (0.1ms) SAVEPOINT active_record_1
158919
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:59:32.724931"]]
158920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158921
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158922
+ Processing by Gatherable::PricesController#update as JSON
158923
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
158924
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158925
+  (0.1ms) SAVEPOINT active_record_1
158926
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
158927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158928
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
158929
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms)
158930
+  (0.1ms) ROLLBACK
158931
+  (0.1ms) BEGIN
158932
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158933
+ Processing by Gatherable::PricesController#update as JSON
158934
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
158935
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158936
+  (0.1ms) ROLLBACK
158937
+  (0.1ms) BEGIN
158938
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158939
+ Processing by Gatherable::PricesController#update as JSON
158940
+ Parameters: {"price"=>"2016-03-07", "session_id"=>"session_id123", "price_id"=>"1"}
158941
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158942
+  (0.2ms) ROLLBACK
158943
+  (0.1ms) BEGIN
158944
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158945
+ Processing by Gatherable::PricesController#update as JSON
158946
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
158947
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
158948
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
158949
+  (0.1ms) ROLLBACK
158950
+  (0.0ms) BEGIN
158951
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158952
+ Processing by Gatherable::PricesController#update as JSON
158953
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
158954
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
158955
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
158956
+  (0.1ms) ROLLBACK
158957
+  (0.0ms) BEGIN
158958
+  (0.1ms) SAVEPOINT active_record_1
158959
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.779568"]]
158960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158961
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 19]]
158962
+ Started PUT "/gatherable/session_id123123/prices/19.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158963
+ Processing by Gatherable::PricesController#update as JSON
158964
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"19"}
158965
+ Filter chain halted as :authenticate rendered or redirected
158966
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158967
+  (0.1ms) ROLLBACK
158968
+  (0.1ms) BEGIN
158969
+  (0.1ms) SAVEPOINT active_record_1
158970
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.792699"]]
158971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158972
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 20]]
158973
+ Started PUT "/gatherable/session_id123123/prices/20.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158974
+ Processing by Gatherable::PricesController#update as JSON
158975
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"20"}
158976
+ Filter chain halted as :authenticate rendered or redirected
158977
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158978
+  (0.1ms) ROLLBACK
158979
+  (0.0ms) BEGIN
158980
+  (0.1ms) SAVEPOINT active_record_1
158981
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.803265"]]
158982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158983
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
158984
+ Started PUT "/gatherable/session_id123123/prices/21.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158985
+ Processing by Gatherable::PricesController#update as JSON
158986
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"21"}
158987
+ Filter chain halted as :authenticate rendered or redirected
158988
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
158989
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
158990
+  (0.1ms) ROLLBACK
158991
+  (0.0ms) BEGIN
158992
+  (0.1ms) SAVEPOINT active_record_1
158993
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.814520"]]
158994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
158995
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
158996
+ Started DELETE "/gatherable/session_id123/prices/22.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
158997
+ Processing by Gatherable::PricesController#destroy as JSON
158998
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"22"}
158999
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
159000
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
159001
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
159002
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
159003
+  (0.1ms) ROLLBACK
159004
+  (0.0ms) BEGIN
159005
+  (0.1ms) SAVEPOINT active_record_1
159006
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.827368"]]
159007
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159008
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
159009
+ Started DELETE "/gatherable/session_id123/prices/23.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159010
+ Processing by Gatherable::PricesController#destroy as JSON
159011
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"23"}
159012
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
159013
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 23]]
159014
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
159015
+  (0.1ms) ROLLBACK
159016
+  (0.1ms) BEGIN
159017
+  (0.1ms) SAVEPOINT active_record_1
159018
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.839440"]]
159019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159020
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
159021
+ Started DELETE "/gatherable/session_id123/prices/24.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159022
+ Processing by Gatherable::PricesController#destroy as JSON
159023
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"24"}
159024
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
159025
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 24]]
159026
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
159027
+  (0.1ms) ROLLBACK
159028
+  (0.1ms) BEGIN
159029
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159030
+ Processing by Gatherable::PricesController#destroy as JSON
159031
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159032
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159033
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
159034
+  (0.1ms) ROLLBACK
159035
+  (0.0ms) BEGIN
159036
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159037
+ Processing by Gatherable::PricesController#destroy as JSON
159038
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159039
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159040
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
159041
+  (0.1ms) ROLLBACK
159042
+  (0.1ms) BEGIN
159043
+  (0.1ms) SAVEPOINT active_record_1
159044
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.868202"]]
159045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159046
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 25]]
159047
+ Started DELETE "/gatherable/session_id123123/prices/25.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159048
+ Processing by Gatherable::PricesController#destroy as JSON
159049
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"25"}
159050
+ Filter chain halted as :authenticate rendered or redirected
159051
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159052
+  (0.1ms) ROLLBACK
159053
+  (0.0ms) BEGIN
159054
+  (0.1ms) SAVEPOINT active_record_1
159055
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.879844"]]
159056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159057
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 26]]
159058
+ Started DELETE "/gatherable/session_id123123/prices/26.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159059
+ Processing by Gatherable::PricesController#destroy as JSON
159060
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"26"}
159061
+ Filter chain halted as :authenticate rendered or redirected
159062
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159063
+  (0.1ms) ROLLBACK
159064
+  (0.1ms) BEGIN
159065
+  (0.1ms) SAVEPOINT active_record_1
159066
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.891431"]]
159067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159068
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 27]]
159069
+ Started DELETE "/gatherable/session_id123123/prices/27.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159070
+ Processing by Gatherable::PricesController#destroy as JSON
159071
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"27"}
159072
+ Filter chain halted as :authenticate rendered or redirected
159073
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159074
+  (0.1ms) ROLLBACK
159075
+  (0.0ms) BEGIN
159076
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159077
+ Processing by Gatherable::PricesController#index as JSON
159078
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
159079
+  (0.1ms) ROLLBACK
159080
+  (0.1ms) BEGIN
159081
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159082
+ Processing by Gatherable::PricesController#index as JSON
159083
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
159084
+  (0.1ms) ROLLBACK
159085
+  (0.0ms) BEGIN
159086
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159087
+ Processing by Gatherable::PricesController#index as JSON
159088
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
159089
+ Completed 302 Found in 1ms (Views: 0.5ms | ActiveRecord: 0.2ms)
159090
+  (0.1ms) ROLLBACK
159091
+  (0.1ms) BEGIN
159092
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159093
+ Processing by Gatherable::PricesController#show as JSON
159094
+ Parameters: {"price_id"=>"1"}
159095
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
159096
+  (0.1ms) ROLLBACK
159097
+  (0.1ms) BEGIN
159098
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159099
+ Processing by Gatherable::PricesController#show as JSON
159100
+ Parameters: {"price_id"=>"1"}
159101
+ Completed 302 Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
159102
+  (0.1ms) ROLLBACK
159103
+  (0.0ms) BEGIN
159104
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159105
+ Processing by Gatherable::PricesController#show as JSON
159106
+ Parameters: {"price_id"=>"0"}
159107
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159108
+  (0.1ms) ROLLBACK
159109
+  (0.1ms) BEGIN
159110
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159111
+ Processing by Gatherable::PricesController#show as JSON
159112
+ Parameters: {"price_id"=>"0"}
159113
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159114
+  (0.1ms) ROLLBACK
159115
+  (0.0ms) BEGIN
159116
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159117
+ Processing by Gatherable::PricesController#create as JSON
159118
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159119
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159120
+  (0.1ms) ROLLBACK
159121
+  (0.1ms) BEGIN
159122
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159123
+ Processing by Gatherable::PricesController#create as JSON
159124
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159125
+  (0.1ms) SAVEPOINT active_record_1
159126
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.963792"]]
159127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159128
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159129
+  (0.1ms) ROLLBACK
159130
+  (0.1ms) BEGIN
159131
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159132
+ Processing by Gatherable::PricesController#create as JSON
159133
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159134
+  (0.1ms) SAVEPOINT active_record_1
159135
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.978751"]]
159136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159137
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159138
+  (0.1ms) ROLLBACK
159139
+  (0.0ms) BEGIN
159140
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159141
+ Processing by Gatherable::PricesController#create as JSON
159142
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159143
+  (0.1ms) SAVEPOINT active_record_1
159144
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:32.991086"]]
159145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159146
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
159147
+  (0.1ms) ROLLBACK
159148
+  (0.1ms) BEGIN
159149
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:32 -0600
159150
+ Processing by Gatherable::PricesController#create as JSON
159151
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159152
+  (0.1ms) SAVEPOINT active_record_1
159153
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.000987"]]
159154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159155
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159156
+  (0.1ms) ROLLBACK
159157
+  (0.1ms) BEGIN
159158
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159159
+ Processing by Gatherable::PricesController#create as JSON
159160
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159161
+  (0.1ms) SAVEPOINT active_record_1
159162
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.011976"]]
159163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159164
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159165
+  (0.1ms) ROLLBACK
159166
+  (0.1ms) BEGIN
159167
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159168
+ Processing by Gatherable::PricesController#create as JSON
159169
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159170
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159171
+  (0.1ms) SAVEPOINT active_record_1
159172
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:33.024525"]]
159173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159174
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
159175
+  (0.1ms) ROLLBACK
159176
+  (0.1ms) BEGIN
159177
+  (0.1ms) SAVEPOINT active_record_1
159178
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.030182"]]
159179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159180
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159181
+ Processing by Gatherable::PricesController#create as JSON
159182
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159183
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159184
+  (0.1ms) SAVEPOINT active_record_1
159185
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 34]]
159186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159187
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
159188
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 34]]
159189
+  (0.1ms) ROLLBACK
159190
+  (0.1ms) BEGIN
159191
+  (0.1ms) SAVEPOINT active_record_1
159192
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.044465"]]
159193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159194
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
159195
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159196
+ Processing by Gatherable::PricesController#create as JSON
159197
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159198
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159199
+  (0.1ms) SAVEPOINT active_record_1
159200
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 35]]
159201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159202
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159203
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159204
+  (0.1ms) ROLLBACK
159205
+  (0.0ms) BEGIN
159206
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159207
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159208
+ Processing by Gatherable::PricesController#create as JSON
159209
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159210
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159211
+  (0.1ms) SAVEPOINT active_record_1
159212
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:33.062108"]]
159213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159214
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
159215
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159216
+  (0.1ms) ROLLBACK
159217
+  (0.1ms) BEGIN
159218
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159219
+ Processing by Gatherable::PricesController#create as JSON
159220
+ Parameters: {"yolo"=>"swag"}
159221
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159222
+  (0.1ms) ROLLBACK
159223
+  (0.0ms) BEGIN
159224
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159225
+ Processing by Gatherable::PricesController#create as JSON
159226
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159227
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159228
+  (0.4ms) ROLLBACK
159229
+  (0.1ms) BEGIN
159230
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159231
+ Processing by Gatherable::PricesController#create as JSON
159232
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159233
+  (0.1ms) SAVEPOINT active_record_1
159234
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.093953"]]
159235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159236
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
159237
+  (0.1ms) ROLLBACK
159238
+  (0.0ms) BEGIN
159239
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159240
+ Processing by Gatherable::PricesController#create as JSON
159241
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159242
+  (0.1ms) SAVEPOINT active_record_1
159243
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.103878"]]
159244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159245
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159246
+  (0.1ms) ROLLBACK
159247
+  (0.1ms) BEGIN
159248
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159249
+ Processing by Gatherable::PricesController#create as JSON
159250
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159251
+  (0.1ms) SAVEPOINT active_record_1
159252
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.113686"]]
159253
+  (0.3ms) RELEASE SAVEPOINT active_record_1
159254
+ Completed 201 Created in 3ms (Views: 0.4ms | ActiveRecord: 0.5ms)
159255
+  (0.2ms) ROLLBACK
159256
+  (0.1ms) BEGIN
159257
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159258
+ Processing by Gatherable::PricesController#create as JSON
159259
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159260
+  (0.1ms) SAVEPOINT active_record_1
159261
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.125886"]]
159262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159263
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159264
+  (0.1ms) ROLLBACK
159265
+  (0.0ms) BEGIN
159266
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159267
+ Processing by Gatherable::PricesController#create as JSON
159268
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159269
+  (0.1ms) SAVEPOINT active_record_1
159270
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.136400"]]
159271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159272
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159273
+  (0.1ms) ROLLBACK
159274
+  (0.1ms) BEGIN
159275
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159276
+ Processing by Gatherable::PricesController#create as JSON
159277
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159278
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159279
+  (0.1ms) SAVEPOINT active_record_1
159280
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:33.146623"]]
159281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159282
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159283
+  (0.1ms) ROLLBACK
159284
+  (0.1ms) BEGIN
159285
+  (0.1ms) SAVEPOINT active_record_1
159286
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.151598"]]
159287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159288
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159289
+ Processing by Gatherable::PricesController#create as JSON
159290
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159291
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159292
+  (0.1ms) SAVEPOINT active_record_1
159293
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 43]]
159294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159295
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159296
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 43]]
159297
+  (0.1ms) ROLLBACK
159298
+  (0.0ms) BEGIN
159299
+  (0.1ms) SAVEPOINT active_record_1
159300
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "76.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.163506"]]
159301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159302
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
159303
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159304
+ Processing by Gatherable::PricesController#create as JSON
159305
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159306
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159307
+  (0.1ms) SAVEPOINT active_record_1
159308
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 44]]
159309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159310
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159311
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
159312
+  (0.1ms) ROLLBACK
159313
+  (0.0ms) BEGIN
159314
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159315
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159316
+ Processing by Gatherable::PricesController#create as JSON
159317
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
159318
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159319
+  (0.1ms) SAVEPOINT active_record_1
159320
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-08 03:59:33.181968"]]
159321
+  (0.3ms) RELEASE SAVEPOINT active_record_1
159322
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms)
159323
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159324
+  (0.1ms) ROLLBACK
159325
+  (0.1ms) BEGIN
159326
+  (0.1ms) SAVEPOINT active_record_1
159327
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:59:33.189437"]]
159328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159329
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159330
+ Processing by Gatherable::PricesController#update as JSON
159331
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
159332
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159333
+  (0.1ms) SAVEPOINT active_record_1
159334
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
159335
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159336
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159337
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159338
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159339
+  (0.1ms) ROLLBACK
159340
+  (0.1ms) BEGIN
159341
+  (0.1ms) SAVEPOINT active_record_1
159342
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-08 03:59:33.201982"]]
159343
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159344
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159345
+ Processing by Gatherable::PricesController#update as JSON
159346
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
159347
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159348
+  (0.1ms) SAVEPOINT active_record_1
159349
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3 [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
159350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159351
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159352
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
159353
+  (0.1ms) ROLLBACK
159354
+  (0.0ms) BEGIN
159355
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159356
+ Processing by Gatherable::PricesController#update as JSON
159357
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
159358
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
159359
+  (0.1ms) ROLLBACK
159360
+  (0.1ms) BEGIN
159361
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159362
+ Processing by Gatherable::PricesController#update as JSON
159363
+ Parameters: {"price"=>"2016-03-07", "price_id"=>"1"}
159364
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
159365
+  (0.1ms) ROLLBACK
159366
+  (0.1ms) BEGIN
159367
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159368
+ Processing by Gatherable::PricesController#update as JSON
159369
+ Parameters: {"price_id"=>"0"}
159370
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159371
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
159372
+  (0.1ms) ROLLBACK
159373
+  (0.1ms) BEGIN
159374
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159375
+ Processing by Gatherable::PricesController#update as JSON
159376
+ Parameters: {"price_id"=>"0"}
159377
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159378
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
159379
+  (0.1ms) ROLLBACK
159380
+  (0.1ms) BEGIN
159381
+  (0.1ms) SAVEPOINT active_record_1
159382
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.246736"]]
159383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159384
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
159385
+ Started DELETE "/gatherable/prices/46.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159386
+ Processing by Gatherable::PricesController#destroy as JSON
159387
+ Parameters: {"price_id"=>"46"}
159388
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
159389
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
159390
+ Completed 204 No Content in 1ms (ActiveRecord: 0.2ms)
159391
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
159392
+  (0.1ms) ROLLBACK
159393
+  (0.0ms) BEGIN
159394
+  (0.1ms) SAVEPOINT active_record_1
159395
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.256995"]]
159396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159397
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
159398
+ Started DELETE "/gatherable/prices/47.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159399
+ Processing by Gatherable::PricesController#destroy as JSON
159400
+ Parameters: {"price_id"=>"47"}
159401
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
159402
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 47]]
159403
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
159404
+  (0.1ms) ROLLBACK
159405
+  (0.1ms) BEGIN
159406
+  (0.1ms) SAVEPOINT active_record_1
159407
+ SQL (0.2ms) INSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-08 03:59:33.267378"]]
159408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159409
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
159410
+ Started DELETE "/gatherable/prices/48.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159411
+ Processing by Gatherable::PricesController#destroy as JSON
159412
+ Parameters: {"price_id"=>"48"}
159413
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
159414
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 48]]
159415
+ Completed 204 No Content in 1ms (ActiveRecord: 0.2ms)
159416
+  (0.1ms) ROLLBACK
159417
+  (0.0ms) BEGIN
159418
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159419
+ Processing by Gatherable::PricesController#destroy as JSON
159420
+ Parameters: {"price_id"=>"0"}
159421
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159422
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
159423
+  (0.1ms) ROLLBACK
159424
+  (0.1ms) BEGIN
159425
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159426
+ Processing by Gatherable::PricesController#destroy as JSON
159427
+ Parameters: {"price_id"=>"0"}
159428
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159429
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
159430
+  (0.1ms) ROLLBACK
159431
+  (0.1ms) BEGIN
159432
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159433
+  (0.1ms) ROLLBACK
159434
+  (0.1ms) BEGIN
159435
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159436
+  (0.1ms) ROLLBACK
159437
+  (0.0ms) BEGIN
159438
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159439
+  (0.2ms) ROLLBACK
159440
+  (0.1ms) BEGIN
159441
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159442
+  (0.1ms) ROLLBACK
159443
+  (0.1ms) BEGIN
159444
+ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33 -0600
159445
+  (0.1ms) ROLLBACK
159446
+  (0.1ms) BEGIN
159447
+  (0.1ms) ROLLBACK
159448
+  (0.1ms) BEGIN
159449
+  (0.1ms) ROLLBACK
159450
+  (0.1ms) BEGIN
159451
+  (0.1ms) ROLLBACK
159452
+  (0.1ms) BEGIN
159453
+  (0.1ms) ROLLBACK
159454
+  (0.1ms) BEGIN
159455
+  (0.1ms) ROLLBACK
159456
+  (0.0ms) BEGIN
159457
+  (0.1ms) ROLLBACK
159458
+  (0.1ms) BEGIN
159459
+  (0.1ms) ROLLBACK
159460
+  (0.0ms) BEGIN
159461
+  (0.1ms) ROLLBACK
159462
+  (0.0ms) BEGIN
159463
+  (0.0ms) ROLLBACK
159464
+  (0.1ms) BEGIN
159465
+  (0.1ms) ROLLBACK
159466
+  (0.0ms) BEGIN
159467
+  (0.1ms) ROLLBACK
159468
+  (0.1ms) BEGIN
159469
+  (0.1ms) ROLLBACK
159470
+  (0.0ms) BEGIN
159471
+  (0.0ms) ROLLBACK
159472
+  (0.0ms) BEGIN
159473
+  (0.0ms) ROLLBACK
159474
+  (0.0ms) BEGIN
159475
+  (0.0ms) ROLLBACK
159476
+  (0.0ms) BEGIN
159477
+  (0.0ms) ROLLBACK
159478
+  (0.0ms) BEGIN
159479
+  (0.0ms) ROLLBACK
159480
+  (0.0ms) BEGIN
159481
+  (0.0ms) ROLLBACK
159482
+  (0.0ms) BEGIN
159483
+  (0.0ms) ROLLBACK
159484
+  (0.0ms) BEGIN
159485
+  (0.0ms) ROLLBACK
159486
+  (0.0ms) BEGIN
159487
+  (0.1ms) ROLLBACK
159488
+  (0.0ms) BEGIN
159489
+  (0.1ms) ROLLBACK
159490
+  (0.0ms) BEGIN
159491
+  (0.1ms) ROLLBACK
159492
+  (0.1ms) BEGIN
159493
+  (0.1ms) ROLLBACK
159494
+  (0.1ms) BEGIN
159495
+  (0.1ms) ROLLBACK
159496
+  (0.1ms) BEGIN
159497
+  (0.1ms) ROLLBACK
159498
+  (0.1ms) BEGIN
159499
+  (0.2ms) ROLLBACK
159500
+  (0.1ms) BEGIN
159501
+  (0.1ms) ROLLBACK
159502
+  (0.0ms) BEGIN
159503
+  (0.1ms) ROLLBACK
159504
+  (0.0ms) BEGIN
159505
+  (0.1ms) ROLLBACK
159506
+  (0.1ms) BEGIN
159507
+  (0.1ms) ROLLBACK
159508
+  (0.1ms) BEGIN
159509
+  (0.1ms) ROLLBACK
159510
+  (0.1ms) BEGIN
159511
+  (0.1ms) ROLLBACK
159512
+  (0.0ms) BEGIN
159513
+  (0.1ms) ROLLBACK
159514
+  (0.1ms) BEGIN
159515
+  (0.1ms) ROLLBACK
159516
+  (0.0ms) BEGIN
159517
+  (0.1ms) ROLLBACK
159518
+  (0.1ms) BEGIN
159519
+  (0.1ms) ROLLBACK
159520
+  (0.1ms) BEGIN
159521
+  (0.1ms) ROLLBACK
159522
+  (0.1ms) BEGIN
159523
+  (0.1ms) SAVEPOINT active_record_1
159524
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("session_id", "created_at") VALUES ($1, $2) RETURNING "price_id" [["session_id", "1"], ["created_at", "2016-03-08 03:59:33.425040"]]
159525
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
159526
+  (0.1ms) ROLLBACK
159527
+  (0.0ms) BEGIN
159528
+  (0.1ms) SAVEPOINT active_record_1
159529
+ SQL (0.1ms) INSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id" [["session_id", "1"], ["price", "30.0"], ["created_at", "2016-03-08 03:59:33.427145"]]
159530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159531
+  (0.1ms) ROLLBACK
159532
+  (0.1ms) BEGIN
159533
+  (0.1ms) ROLLBACK