gatherable 2.0.1 → 2.0.2

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: 6c9a82043d385955e2fcbb9802e1df99e895965a
4
- data.tar.gz: fbf14584d8b89aaa20abf60f036ec8374436cf9f
3
+ metadata.gz: 3fd7f285eac4e695590233b5a2272f524ac15418
4
+ data.tar.gz: 86cc8dd813d18f3e810f786d06d5e23a82c3b139
5
5
  SHA512:
6
- metadata.gz: 0fbe39938c38139753fe3a700cb1e63ec179002a3d4c3c3f6ac0d1b31ef208b387ac7a3fcb1b923c5db5b1ab864099d8b3d45c1d5be586cc9793785a18312da0
7
- data.tar.gz: 06df1bcdf3ae23c49e1397e1e45e349c7009c2117263aacc95785ce3f53eaada877de24e45ed6db702f9924d61683169f04d8695f9783f20db8460b54178b015
6
+ metadata.gz: baf85f65ac81cee7ed049b510265ee514d8ec0536b17b56b69492f92ba59e7c7e8baa3346da08b6e9f8cc2d16a09d3134bb1fbc2690f422051d3c2599baf7786
7
+ data.tar.gz: 5d7786c3c42f453df971bb4cddd4fc3feb440cf46406d7ffb5ee7c74764ab136f7755db3bbd2f3d08987ca0caea1feb6c2717e22df8fd72971e21e91f491bd83
@@ -8,11 +8,13 @@ class DataTable
8
8
  end
9
9
 
10
10
  attr_reader :name, :columns, :new_record_strategy, :allowed_controller_actions
11
+ alias controller_actions allowed_controller_actions
11
12
 
12
13
  def initialize(name, columns, options = {})
13
14
  @name = name
14
15
  @columns = columns
15
16
  @new_record_strategy = options[:new_record_strategy] || :insert
17
+ options[:allowed_controller_actions] ||= options[:controller_actions]
16
18
  if options[:allowed_controller_actions].present?
17
19
  @allowed_controller_actions = Array(options[:allowed_controller_actions]).map(&:to_sym)
18
20
  else
@@ -5,13 +5,13 @@ class Gatherable::RouteDrawer
5
5
  if Gatherable.config.prefixed_resources.include? data_table.name
6
6
  scope :path => "/:#{Gatherable.config.global_identifier}" do
7
7
  resources(data_table.name.to_s.pluralize.to_sym,
8
- :only => data_table.allowed_controller_actions.map(&:to_sym),
8
+ :only => data_table.controller_actions.map(&:to_sym),
9
9
  :param => "#{data_table.name}_id"
10
10
  )
11
11
  end
12
12
  else
13
13
  resources(data_table.name.to_s.pluralize.to_sym,
14
- :only => data_table.allowed_controller_actions.map(&:to_sym),
14
+ :only => data_table.controller_actions.map(&:to_sym),
15
15
  :param => "#{data_table.name}_id"
16
16
  )
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Gatherable
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
@@ -33,7 +33,7 @@ describe 'Gatherable::PricesController', :type => :request do
33
33
 
34
34
  before do
35
35
  allow(SecureRandom).to receive(:urlsafe_base64) { global_id }
36
- allow(data_table).to receive(:allowed_controller_actions) { [:show, :index, :create, :update, :destroy] }
36
+ allow(data_table).to receive(:controller_actions) { [:show, :index, :create, :update, :destroy] }
37
37
  @controller = controller_class.new
38
38
  end
39
39
 
@@ -412,7 +412,7 @@ describe 'Gatherable::PricesController', :type => :request do
412
412
  let(:params) { {} }
413
413
 
414
414
  before do
415
- allow(data_table).to receive(:allowed_controller_actions).and_return(all_actions - [disallowed_action])
415
+ allow(data_table).to receive(:controller_actions).and_return(all_actions - [disallowed_action])
416
416
  Gatherable::RouteDrawer.draw
417
417
  end
418
418
 
@@ -421,7 +421,7 @@ describe 'Gatherable::PricesController', :type => :request do
421
421
  end
422
422
 
423
423
  after do
424
- allow(data_table).to receive(:allowed_controller_actions) { all_actions }
424
+ allow(data_table).to receive(:controller_actions) { all_actions }
425
425
  Gatherable::RouteDrawer.draw
426
426
  end
427
427
  end
@@ -1,4 +1,4 @@
1
1
  Gatherable.configure do |c|
2
2
  c.global_identifier = :session_id
3
- c.data_point :price, :decimal, allowed_controller_actions: %w[index show create update destroy]
3
+ c.data_point :price, :decimal, controller_actions: %w[index show create update destroy]
4
4
  end
@@ -159531,3 +159531,956 @@ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33
159531
159531
   (0.1ms) ROLLBACK
159532
159532
   (0.1ms) BEGIN
159533
159533
   (0.1ms) ROLLBACK
159534
+ ActiveRecord::SchemaMigration Load (4.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
159535
+  (116.6ms) DROP DATABASE IF EXISTS "gatherable_test"
159536
+  (1324.4ms) CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
159537
+  (18.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
159538
+  (7.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
159539
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
159540
+ Migrating to CreateGatherableSchema (20160309161745)
159541
+  (0.1ms) BEGIN
159542
+  (0.3ms) CREATE SCHEMA gatherable
159543
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160309161745"]]
159544
+  (0.2ms) COMMIT
159545
+ Migrating to CreateGatherablePrice (20160309161746)
159546
+  (0.1ms) BEGIN
159547
+  (8.7ms) CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
159548
+  (3.6ms) CREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")
159549
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160309161746"]]
159550
+  (0.4ms) COMMIT
159551
+  (1.9ms) BEGIN
159552
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159553
+ Processing by Gatherable::PricesController#index as JSON
159554
+ Parameters: {"session_id"=>"session_id123"}
159555
+ Completed 302 Found in 15ms (Views: 0.4ms | ActiveRecord: 0.0ms)
159556
+  (0.3ms) ROLLBACK
159557
+  (0.1ms) BEGIN
159558
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159559
+ Processing by Gatherable::PricesController#index as JSON
159560
+ Parameters: {"session_id"=>"session_id123"}
159561
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
159562
+  (0.1ms) ROLLBACK
159563
+  (0.1ms) BEGIN
159564
+ Started GET "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159565
+ Processing by Gatherable::PricesController#index as JSON
159566
+ Parameters: {"session_id"=>"session_id123"}
159567
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
159568
+ Completed 302 Found in 14ms (Views: 1.0ms | ActiveRecord: 0.3ms)
159569
+  (0.1ms) ROLLBACK
159570
+  (0.1ms) BEGIN
159571
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159572
+ Processing by Gatherable::PricesController#index as JSON
159573
+ Parameters: {"session_id"=>"session_id123123"}
159574
+ Filter chain halted as :authenticate rendered or redirected
159575
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159576
+  (0.1ms) ROLLBACK
159577
+  (0.1ms) BEGIN
159578
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159579
+ Processing by Gatherable::PricesController#index as JSON
159580
+ Parameters: {"session_id"=>"session_id123123"}
159581
+ Filter chain halted as :authenticate rendered or redirected
159582
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159583
+  (0.1ms) ROLLBACK
159584
+  (0.0ms) BEGIN
159585
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159586
+ Processing by Gatherable::PricesController#show as JSON
159587
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
159588
+ Completed 302 Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
159589
+  (0.1ms) ROLLBACK
159590
+  (0.0ms) BEGIN
159591
+ Started GET "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159592
+ Processing by Gatherable::PricesController#show as JSON
159593
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"1"}
159594
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
159595
+  (0.1ms) ROLLBACK
159596
+  (0.1ms) BEGIN
159597
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159598
+ Processing by Gatherable::PricesController#show as JSON
159599
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159600
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159601
+  (0.1ms) ROLLBACK
159602
+  (0.0ms) BEGIN
159603
+ Started GET "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159604
+ Processing by Gatherable::PricesController#show as JSON
159605
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159606
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159607
+  (0.1ms) ROLLBACK
159608
+  (0.1ms) BEGIN
159609
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159610
+ Processing by Gatherable::PricesController#index as JSON
159611
+ Parameters: {"session_id"=>"session_id123123"}
159612
+ Filter chain halted as :authenticate rendered or redirected
159613
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159614
+  (0.1ms) ROLLBACK
159615
+  (0.2ms) BEGIN
159616
+ Started GET "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159617
+ Processing by Gatherable::PricesController#index as JSON
159618
+ Parameters: {"session_id"=>"session_id123123"}
159619
+ Filter chain halted as :authenticate rendered or redirected
159620
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159621
+  (0.1ms) ROLLBACK
159622
+  (0.0ms) BEGIN
159623
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159624
+ Processing by Gatherable::PricesController#create as JSON
159625
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159626
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159627
+  (0.1ms) ROLLBACK
159628
+  (0.1ms) BEGIN
159629
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:45 -0600
159630
+ Processing by Gatherable::PricesController#create as JSON
159631
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159632
+  (0.1ms) SAVEPOINT active_record_1
159633
+ 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-09 22:17:45.994347"]]
159634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159635
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
159636
+  (0.1ms) ROLLBACK
159637
+  (0.0ms) BEGIN
159638
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159639
+ Processing by Gatherable::PricesController#create as JSON
159640
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159641
+  (0.1ms) SAVEPOINT active_record_1
159642
+ 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-09 22:17:46.005264"]]
159643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159644
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159645
+  (0.1ms) ROLLBACK
159646
+  (0.0ms) BEGIN
159647
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159648
+ Processing by Gatherable::PricesController#create as JSON
159649
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159650
+  (0.1ms) SAVEPOINT active_record_1
159651
+ 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-09 22:17:46.016012"]]
159652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159653
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159654
+  (0.2ms) ROLLBACK
159655
+  (0.1ms) BEGIN
159656
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159657
+ Processing by Gatherable::PricesController#create as JSON
159658
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159659
+  (0.1ms) SAVEPOINT active_record_1
159660
+ 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-09 22:17:46.027085"]]
159661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159662
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159663
+  (0.1ms) ROLLBACK
159664
+  (0.0ms) BEGIN
159665
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159666
+ Processing by Gatherable::PricesController#create as JSON
159667
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159668
+  (0.1ms) SAVEPOINT active_record_1
159669
+ 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-09 22:17:46.036898"]]
159670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159671
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159672
+  (0.1ms) ROLLBACK
159673
+  (0.1ms) BEGIN
159674
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159675
+ Processing by Gatherable::PricesController#create as JSON
159676
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159677
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159678
+  (0.2ms) SAVEPOINT active_record_1
159679
+ 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-09 22:17:46.049955"]]
159680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159681
+ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.7ms)
159682
+  (0.1ms) ROLLBACK
159683
+  (0.1ms) BEGIN
159684
+  (0.1ms) SAVEPOINT active_record_1
159685
+ 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-09 22:17:46.069837"]]
159686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159687
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159688
+ Processing by Gatherable::PricesController#create as JSON
159689
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159690
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159691
+  (0.1ms) SAVEPOINT active_record_1
159692
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 7]]
159693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159694
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms)
159695
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 7]]
159696
+  (0.1ms) ROLLBACK
159697
+  (0.0ms) BEGIN
159698
+  (0.1ms) SAVEPOINT active_record_1
159699
+ 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-09 22:17:46.086592"]]
159700
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159701
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159702
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159703
+ Processing by Gatherable::PricesController#create as JSON
159704
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159705
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159706
+  (0.1ms) SAVEPOINT active_record_1
159707
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 8]]
159708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159709
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.5ms)
159710
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159711
+  (0.1ms) ROLLBACK
159712
+  (0.0ms) BEGIN
159713
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
159714
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159715
+ Processing by Gatherable::PricesController#create as JSON
159716
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159717
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159718
+  (0.1ms) SAVEPOINT active_record_1
159719
+ 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-09 22:17:46.114694"]]
159720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159721
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
159722
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
159723
+  (0.1ms) ROLLBACK
159724
+  (0.1ms) BEGIN
159725
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159726
+ Processing by Gatherable::PricesController#create as JSON
159727
+ Parameters: {"yolo"=>"swag", "session_id"=>"session_id123"}
159728
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159729
+  (0.1ms) ROLLBACK
159730
+  (0.0ms) BEGIN
159731
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159732
+ Processing by Gatherable::PricesController#create as JSON
159733
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159734
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159735
+  (0.1ms) ROLLBACK
159736
+  (0.1ms) BEGIN
159737
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159738
+ Processing by Gatherable::PricesController#create as JSON
159739
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159740
+  (0.1ms) SAVEPOINT active_record_1
159741
+ 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-09 22:17:46.146064"]]
159742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159743
+ Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
159744
+  (0.1ms) ROLLBACK
159745
+  (0.0ms) BEGIN
159746
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159747
+ Processing by Gatherable::PricesController#create as JSON
159748
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159749
+  (0.1ms) SAVEPOINT active_record_1
159750
+ 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-09 22:17:46.156017"]]
159751
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159752
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159753
+  (0.1ms) ROLLBACK
159754
+  (0.0ms) BEGIN
159755
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159756
+ Processing by Gatherable::PricesController#create as JSON
159757
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159758
+  (0.1ms) SAVEPOINT active_record_1
159759
+ 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-09 22:17:46.167155"]]
159760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159761
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159762
+  (0.1ms) ROLLBACK
159763
+  (0.0ms) BEGIN
159764
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159765
+ Processing by Gatherable::PricesController#create as JSON
159766
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159767
+  (0.1ms) SAVEPOINT active_record_1
159768
+ 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-09 22:17:46.177681"]]
159769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159770
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159771
+  (0.1ms) ROLLBACK
159772
+  (0.1ms) BEGIN
159773
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159774
+ Processing by Gatherable::PricesController#create as JSON
159775
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159776
+  (0.1ms) SAVEPOINT active_record_1
159777
+ 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-09 22:17:46.187606"]]
159778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159779
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159780
+  (0.1ms) ROLLBACK
159781
+  (0.1ms) BEGIN
159782
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159783
+ Processing by Gatherable::PricesController#create as JSON
159784
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159785
+ Gatherable::Price Load (0.3ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159786
+  (0.1ms) SAVEPOINT active_record_1
159787
+ 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-09 22:17:46.199919"]]
159788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159789
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
159790
+  (0.1ms) ROLLBACK
159791
+  (0.1ms) BEGIN
159792
+  (0.1ms) SAVEPOINT active_record_1
159793
+ 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-09 22:17:46.206630"]]
159794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159795
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159796
+ Processing by Gatherable::PricesController#create as JSON
159797
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159798
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159799
+  (0.1ms) SAVEPOINT active_record_1
159800
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 16]]
159801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159802
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159803
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 16]]
159804
+  (0.1ms) ROLLBACK
159805
+  (0.0ms) BEGIN
159806
+  (0.1ms) SAVEPOINT active_record_1
159807
+ 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-09 22:17:46.219401"]]
159808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159809
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159810
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159811
+ Processing by Gatherable::PricesController#create as JSON
159812
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159813
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159814
+  (0.1ms) SAVEPOINT active_record_1
159815
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 17]]
159816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159817
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
159818
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
159819
+  (0.1ms) ROLLBACK
159820
+  (0.0ms) BEGIN
159821
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159822
+ Started POST "/gatherable/session_id123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159823
+ Processing by Gatherable::PricesController#create as JSON
159824
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}, "session_id"=>"session_id123"}
159825
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
159826
+  (0.1ms) SAVEPOINT active_record_1
159827
+ 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-09 22:17:46.237680"]]
159828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159829
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
159830
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159831
+  (0.1ms) ROLLBACK
159832
+  (0.1ms) BEGIN
159833
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159834
+ Processing by Gatherable::PricesController#create as JSON
159835
+ Parameters: {"session_id"=>"session_id123123"}
159836
+ Filter chain halted as :authenticate rendered or redirected
159837
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159838
+  (0.1ms) ROLLBACK
159839
+  (0.0ms) BEGIN
159840
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159841
+ Processing by Gatherable::PricesController#create as JSON
159842
+ Parameters: {"session_id"=>"session_id123123"}
159843
+ Filter chain halted as :authenticate rendered or redirected
159844
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159845
+  (0.1ms) ROLLBACK
159846
+  (0.0ms) BEGIN
159847
+ Started POST "/gatherable/session_id123123/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159848
+ Processing by Gatherable::PricesController#create as JSON
159849
+ Parameters: {"session_id"=>"session_id123123"}
159850
+ Filter chain halted as :authenticate rendered or redirected
159851
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159852
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159853
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
159854
+  (0.1ms) ROLLBACK
159855
+  (0.1ms) BEGIN
159856
+  (0.1ms) SAVEPOINT active_record_1
159857
+ 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-09 22:17:46.276596"]]
159858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159859
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159860
+ Processing by Gatherable::PricesController#update as JSON
159861
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
159862
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159863
+  (0.1ms) SAVEPOINT active_record_1
159864
+ 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]]
159865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159866
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159867
+ Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.7ms)
159868
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159869
+  (0.1ms) ROLLBACK
159870
+  (0.1ms) BEGIN
159871
+  (0.1ms) SAVEPOINT active_record_1
159872
+ 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-09 22:17:46.297053"]]
159873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159874
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159875
+ Processing by Gatherable::PricesController#update as JSON
159876
+ Parameters: {"price"=>{"price"=>"4.0"}, "session_id"=>"session_id123", "price_id"=>"1"}
159877
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159878
+  (0.1ms) SAVEPOINT active_record_1
159879
+ 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]]
159880
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159881
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
159882
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
159883
+  (0.1ms) ROLLBACK
159884
+  (0.1ms) BEGIN
159885
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159886
+ Processing by Gatherable::PricesController#update as JSON
159887
+ Parameters: {"price"=>"2016-03-09", "session_id"=>"session_id123", "price_id"=>"1"}
159888
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159889
+  (0.1ms) ROLLBACK
159890
+  (0.1ms) BEGIN
159891
+ Started PUT "/gatherable/session_id123/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159892
+ Processing by Gatherable::PricesController#update as JSON
159893
+ Parameters: {"price"=>"2016-03-09", "session_id"=>"session_id123", "price_id"=>"1"}
159894
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
159895
+  (0.1ms) ROLLBACK
159896
+  (0.1ms) BEGIN
159897
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159898
+ Processing by Gatherable::PricesController#update as JSON
159899
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159900
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159901
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
159902
+  (0.1ms) ROLLBACK
159903
+  (0.0ms) BEGIN
159904
+ Started PUT "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159905
+ Processing by Gatherable::PricesController#update as JSON
159906
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159907
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159908
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
159909
+  (0.1ms) ROLLBACK
159910
+  (0.1ms) BEGIN
159911
+  (0.1ms) SAVEPOINT active_record_1
159912
+ 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-09 22:17:46.355166"]]
159913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159914
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 19]]
159915
+ Started PUT "/gatherable/session_id123123/prices/19.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159916
+ Processing by Gatherable::PricesController#update as JSON
159917
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"19"}
159918
+ Filter chain halted as :authenticate rendered or redirected
159919
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159920
+  (0.1ms) ROLLBACK
159921
+  (0.0ms) BEGIN
159922
+  (0.1ms) SAVEPOINT active_record_1
159923
+ 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-09 22:17:46.367914"]]
159924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159925
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 20]]
159926
+ Started PUT "/gatherable/session_id123123/prices/20.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159927
+ Processing by Gatherable::PricesController#update as JSON
159928
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"20"}
159929
+ Filter chain halted as :authenticate rendered or redirected
159930
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159931
+  (0.1ms) ROLLBACK
159932
+  (0.0ms) BEGIN
159933
+  (0.1ms) SAVEPOINT active_record_1
159934
+ 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-09 22:17:46.380437"]]
159935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159936
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
159937
+ Started PUT "/gatherable/session_id123123/prices/21.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159938
+ Processing by Gatherable::PricesController#update as JSON
159939
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"21"}
159940
+ Filter chain halted as :authenticate rendered or redirected
159941
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
159942
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 21]]
159943
+  (0.1ms) ROLLBACK
159944
+  (0.1ms) BEGIN
159945
+  (0.1ms) SAVEPOINT active_record_1
159946
+ 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-09 22:17:46.392918"]]
159947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159948
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
159949
+ Started DELETE "/gatherable/session_id123/prices/22.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159950
+ Processing by Gatherable::PricesController#destroy as JSON
159951
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"22"}
159952
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
159953
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
159954
+ Completed 204 No Content in 1ms (ActiveRecord: 0.2ms)
159955
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
159956
+  (0.1ms) ROLLBACK
159957
+  (0.0ms) BEGIN
159958
+  (0.1ms) SAVEPOINT active_record_1
159959
+ 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-09 22:17:46.405756"]]
159960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159961
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
159962
+ Started DELETE "/gatherable/session_id123/prices/23.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159963
+ Processing by Gatherable::PricesController#destroy as JSON
159964
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"23"}
159965
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 23]]
159966
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 23]]
159967
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
159968
+  (0.1ms) ROLLBACK
159969
+  (0.0ms) BEGIN
159970
+  (0.1ms) SAVEPOINT active_record_1
159971
+ 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-09 22:17:46.417151"]]
159972
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159973
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
159974
+ Started DELETE "/gatherable/session_id123/prices/24.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159975
+ Processing by Gatherable::PricesController#destroy as JSON
159976
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"24"}
159977
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 24]]
159978
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 24]]
159979
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
159980
+  (0.1ms) ROLLBACK
159981
+  (0.0ms) BEGIN
159982
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159983
+ Processing by Gatherable::PricesController#destroy as JSON
159984
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159985
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159986
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
159987
+  (0.1ms) ROLLBACK
159988
+  (0.0ms) BEGIN
159989
+ Started DELETE "/gatherable/session_id123/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
159990
+ Processing by Gatherable::PricesController#destroy as JSON
159991
+ Parameters: {"session_id"=>"session_id123", "price_id"=>"0"}
159992
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
159993
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
159994
+  (0.1ms) ROLLBACK
159995
+  (0.1ms) BEGIN
159996
+  (0.1ms) SAVEPOINT active_record_1
159997
+ 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-09 22:17:46.448511"]]
159998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159999
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 25]]
160000
+ Started DELETE "/gatherable/session_id123123/prices/25.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160001
+ Processing by Gatherable::PricesController#destroy as JSON
160002
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"25"}
160003
+ Filter chain halted as :authenticate rendered or redirected
160004
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
160005
+  (0.1ms) ROLLBACK
160006
+  (0.1ms) BEGIN
160007
+  (0.1ms) SAVEPOINT active_record_1
160008
+ 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-09 22:17:46.461774"]]
160009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160010
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 26]]
160011
+ Started DELETE "/gatherable/session_id123123/prices/26.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160012
+ Processing by Gatherable::PricesController#destroy as JSON
160013
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"26"}
160014
+ Filter chain halted as :authenticate rendered or redirected
160015
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
160016
+  (0.1ms) ROLLBACK
160017
+  (0.1ms) BEGIN
160018
+  (0.1ms) SAVEPOINT active_record_1
160019
+ 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-09 22:17:46.474030"]]
160020
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160021
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 27]]
160022
+ Started DELETE "/gatherable/session_id123123/prices/27.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160023
+ Processing by Gatherable::PricesController#destroy as JSON
160024
+ Parameters: {"session_id"=>"session_id123123", "price_id"=>"27"}
160025
+ Filter chain halted as :authenticate rendered or redirected
160026
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
160027
+  (0.1ms) ROLLBACK
160028
+  (0.0ms) BEGIN
160029
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160030
+ Processing by Gatherable::PricesController#index as JSON
160031
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
160032
+  (0.1ms) ROLLBACK
160033
+  (0.1ms) BEGIN
160034
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160035
+ Processing by Gatherable::PricesController#index as JSON
160036
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
160037
+  (0.1ms) ROLLBACK
160038
+  (0.1ms) BEGIN
160039
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160040
+ Processing by Gatherable::PricesController#index as JSON
160041
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 [["session_id", "session_id123"]]
160042
+ Completed 302 Found in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
160043
+  (0.1ms) ROLLBACK
160044
+  (0.1ms) BEGIN
160045
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160046
+ Processing by Gatherable::PricesController#show as JSON
160047
+ Parameters: {"price_id"=>"1"}
160048
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
160049
+  (0.1ms) ROLLBACK
160050
+  (0.1ms) BEGIN
160051
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160052
+ Processing by Gatherable::PricesController#show as JSON
160053
+ Parameters: {"price_id"=>"1"}
160054
+ Completed 302 Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
160055
+  (0.1ms) ROLLBACK
160056
+  (0.0ms) BEGIN
160057
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160058
+ Processing by Gatherable::PricesController#show as JSON
160059
+ Parameters: {"price_id"=>"0"}
160060
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
160061
+  (0.1ms) ROLLBACK
160062
+  (0.0ms) BEGIN
160063
+ Started GET "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160064
+ Processing by Gatherable::PricesController#show as JSON
160065
+ Parameters: {"price_id"=>"0"}
160066
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
160067
+  (0.1ms) ROLLBACK
160068
+  (0.1ms) BEGIN
160069
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160070
+ Processing by Gatherable::PricesController#create as JSON
160071
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160072
+ Completed 201 Created in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
160073
+  (0.1ms) ROLLBACK
160074
+  (0.1ms) BEGIN
160075
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160076
+ Processing by Gatherable::PricesController#create as JSON
160077
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160078
+  (0.1ms) SAVEPOINT active_record_1
160079
+ 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-09 22:17:46.553931"]]
160080
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160081
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160082
+  (0.1ms) ROLLBACK
160083
+  (0.1ms) BEGIN
160084
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160085
+ Processing by Gatherable::PricesController#create as JSON
160086
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160087
+  (0.1ms) SAVEPOINT active_record_1
160088
+ 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-09 22:17:46.569227"]]
160089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160090
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160091
+  (0.1ms) ROLLBACK
160092
+  (0.1ms) BEGIN
160093
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160094
+ Processing by Gatherable::PricesController#create as JSON
160095
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160096
+  (0.1ms) SAVEPOINT active_record_1
160097
+ 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-09 22:17:46.580150"]]
160098
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160099
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
160100
+  (0.1ms) ROLLBACK
160101
+  (0.0ms) BEGIN
160102
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160103
+ Processing by Gatherable::PricesController#create as JSON
160104
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160105
+  (0.1ms) SAVEPOINT active_record_1
160106
+ 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-09 22:17:46.591243"]]
160107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160108
+ Completed 201 Created in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
160109
+  (0.1ms) ROLLBACK
160110
+  (0.0ms) BEGIN
160111
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160112
+ Processing by Gatherable::PricesController#create as JSON
160113
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160114
+  (0.1ms) SAVEPOINT active_record_1
160115
+ 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-09 22:17:46.602028"]]
160116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160117
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160118
+  (0.1ms) ROLLBACK
160119
+  (0.0ms) BEGIN
160120
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160121
+ Processing by Gatherable::PricesController#create as JSON
160122
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160123
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160124
+  (0.1ms) SAVEPOINT active_record_1
160125
+ 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-09 22:17:46.613548"]]
160126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160127
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
160128
+  (0.1ms) ROLLBACK
160129
+  (0.0ms) BEGIN
160130
+  (0.1ms) SAVEPOINT active_record_1
160131
+ 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-09 22:17:46.618885"]]
160132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160133
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160134
+ Processing by Gatherable::PricesController#create as JSON
160135
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160136
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160137
+  (0.1ms) SAVEPOINT active_record_1
160138
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 34]]
160139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160140
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
160141
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 34]]
160142
+  (0.1ms) ROLLBACK
160143
+  (0.1ms) BEGIN
160144
+  (0.1ms) SAVEPOINT active_record_1
160145
+ 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-09 22:17:46.632346"]]
160146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160147
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
160148
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160149
+ Processing by Gatherable::PricesController#create as JSON
160150
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160151
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160152
+  (0.1ms) SAVEPOINT active_record_1
160153
+ SQL (0.2ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 35]]
160154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160155
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
160156
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
160157
+  (0.1ms) ROLLBACK
160158
+  (0.0ms) BEGIN
160159
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
160160
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160161
+ Processing by Gatherable::PricesController#create as JSON
160162
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160163
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160164
+  (0.1ms) SAVEPOINT active_record_1
160165
+ 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-09 22:17:46.653731"]]
160166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160167
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
160168
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices"
160169
+  (0.1ms) ROLLBACK
160170
+  (0.0ms) BEGIN
160171
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160172
+ Processing by Gatherable::PricesController#create as JSON
160173
+ Parameters: {"yolo"=>"swag"}
160174
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
160175
+  (0.1ms) ROLLBACK
160176
+  (0.0ms) BEGIN
160177
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160178
+ Processing by Gatherable::PricesController#create as JSON
160179
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160180
+ Completed 201 Created in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
160181
+  (0.1ms) ROLLBACK
160182
+  (0.0ms) BEGIN
160183
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160184
+ Processing by Gatherable::PricesController#create as JSON
160185
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160186
+  (0.1ms) SAVEPOINT active_record_1
160187
+ 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-09 22:17:46.681193"]]
160188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160189
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160190
+  (0.1ms) ROLLBACK
160191
+  (0.1ms) BEGIN
160192
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160193
+ Processing by Gatherable::PricesController#create as JSON
160194
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160195
+  (0.1ms) SAVEPOINT active_record_1
160196
+ 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-09 22:17:46.690459"]]
160197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160198
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160199
+  (0.1ms) ROLLBACK
160200
+  (0.1ms) BEGIN
160201
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160202
+ Processing by Gatherable::PricesController#create as JSON
160203
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160204
+  (0.1ms) SAVEPOINT active_record_1
160205
+ 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-09 22:17:46.702168"]]
160206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160207
+ Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160208
+  (0.1ms) ROLLBACK
160209
+  (0.0ms) BEGIN
160210
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160211
+ Processing by Gatherable::PricesController#create as JSON
160212
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160213
+  (0.1ms) SAVEPOINT active_record_1
160214
+ 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-09 22:17:46.712478"]]
160215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160216
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160217
+  (0.1ms) ROLLBACK
160218
+  (0.1ms) BEGIN
160219
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160220
+ Processing by Gatherable::PricesController#create as JSON
160221
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160222
+  (0.1ms) SAVEPOINT active_record_1
160223
+ 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-09 22:17:46.722915"]]
160224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160225
+ Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160226
+  (0.1ms) ROLLBACK
160227
+  (0.1ms) BEGIN
160228
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160229
+ Processing by Gatherable::PricesController#create as JSON
160230
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160231
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160232
+  (0.1ms) SAVEPOINT active_record_1
160233
+ 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-09 22:17:46.732920"]]
160234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160235
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
160236
+  (0.1ms) ROLLBACK
160237
+  (0.1ms) BEGIN
160238
+  (0.1ms) SAVEPOINT active_record_1
160239
+ 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-09 22:17:46.738010"]]
160240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160241
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160242
+ Processing by Gatherable::PricesController#create as JSON
160243
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160244
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160245
+  (0.1ms) SAVEPOINT active_record_1
160246
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 43]]
160247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160248
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
160249
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 43]]
160250
+  (0.1ms) ROLLBACK
160251
+  (0.0ms) BEGIN
160252
+  (0.1ms) SAVEPOINT active_record_1
160253
+ 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-09 22:17:46.750010"]]
160254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160255
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
160256
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160257
+ Processing by Gatherable::PricesController#create as JSON
160258
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160259
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160260
+  (0.1ms) SAVEPOINT active_record_1
160261
+ SQL (0.1ms) UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 44]]
160262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160263
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
160264
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
160265
+  (0.1ms) ROLLBACK
160266
+  (0.1ms) BEGIN
160267
+  (0.3ms) SELECT COUNT(*) FROM "gatherable"."prices"
160268
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160269
+ Processing by Gatherable::PricesController#create as JSON
160270
+ Parameters: {"price"=>{"price"=>"3.0", "session_id"=>"session_id123"}}
160271
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
160272
+  (0.1ms) SAVEPOINT active_record_1
160273
+ 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-09 22:17:46.771600"]]
160274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160275
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
160276
+  (0.2ms) SELECT COUNT(*) FROM "gatherable"."prices"
160277
+  (0.1ms) ROLLBACK
160278
+  (0.0ms) BEGIN
160279
+  (0.1ms) SAVEPOINT active_record_1
160280
+ 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-09 22:17:46.777670"]]
160281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160282
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160283
+ Processing by Gatherable::PricesController#update as JSON
160284
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
160285
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
160286
+  (0.1ms) SAVEPOINT active_record_1
160287
+ 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]]
160288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160289
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
160290
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
160291
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
160292
+  (0.1ms) ROLLBACK
160293
+  (0.0ms) BEGIN
160294
+  (0.1ms) SAVEPOINT active_record_1
160295
+ 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-09 22:17:46.789946"]]
160296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160297
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160298
+ Processing by Gatherable::PricesController#update as JSON
160299
+ Parameters: {"price"=>{"price"=>"4.0"}, "price_id"=>"1"}
160300
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
160301
+  (0.1ms) SAVEPOINT active_record_1
160302
+ 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]]
160303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160304
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
160305
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
160306
+  (0.1ms) ROLLBACK
160307
+  (0.0ms) BEGIN
160308
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160309
+ Processing by Gatherable::PricesController#update as JSON
160310
+ Parameters: {"price"=>"2016-03-09", "price_id"=>"1"}
160311
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
160312
+  (0.1ms) ROLLBACK
160313
+  (0.1ms) BEGIN
160314
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160315
+ Processing by Gatherable::PricesController#update as JSON
160316
+ Parameters: {"price"=>"2016-03-09", "price_id"=>"1"}
160317
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
160318
+  (0.1ms) ROLLBACK
160319
+  (0.0ms) BEGIN
160320
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160321
+ Processing by Gatherable::PricesController#update as JSON
160322
+ Parameters: {"price_id"=>"0"}
160323
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
160324
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
160325
+  (0.1ms) ROLLBACK
160326
+  (0.1ms) BEGIN
160327
+ Started PUT "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160328
+ Processing by Gatherable::PricesController#update as JSON
160329
+ Parameters: {"price_id"=>"0"}
160330
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
160331
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
160332
+  (0.1ms) ROLLBACK
160333
+  (0.1ms) BEGIN
160334
+  (0.1ms) SAVEPOINT active_record_1
160335
+ 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-09 22:17:46.835411"]]
160336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160337
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
160338
+ Started DELETE "/gatherable/prices/46.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160339
+ Processing by Gatherable::PricesController#destroy as JSON
160340
+ Parameters: {"price_id"=>"46"}
160341
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 46]]
160342
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
160343
+ Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
160344
+  (0.1ms) SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
160345
+  (0.1ms) ROLLBACK
160346
+  (0.0ms) BEGIN
160347
+  (0.1ms) SAVEPOINT active_record_1
160348
+ 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-09 22:17:46.847293"]]
160349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160350
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
160351
+ Started DELETE "/gatherable/prices/47.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160352
+ Processing by Gatherable::PricesController#destroy as JSON
160353
+ Parameters: {"price_id"=>"47"}
160354
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
160355
+ SQL (0.1ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 47]]
160356
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
160357
+  (0.1ms) ROLLBACK
160358
+  (0.1ms) BEGIN
160359
+  (0.1ms) SAVEPOINT active_record_1
160360
+ 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-09 22:17:46.858025"]]
160361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160362
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
160363
+ Started DELETE "/gatherable/prices/48.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160364
+ Processing by Gatherable::PricesController#destroy as JSON
160365
+ Parameters: {"price_id"=>"48"}
160366
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
160367
+ SQL (0.2ms) DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 48]]
160368
+ Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
160369
+  (0.1ms) ROLLBACK
160370
+  (0.1ms) BEGIN
160371
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160372
+ Processing by Gatherable::PricesController#destroy as JSON
160373
+ Parameters: {"price_id"=>"0"}
160374
+ Gatherable::Price Load (0.1ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
160375
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
160376
+  (0.1ms) ROLLBACK
160377
+  (0.0ms) BEGIN
160378
+ Started DELETE "/gatherable/prices/0.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160379
+ Processing by Gatherable::PricesController#destroy as JSON
160380
+ Parameters: {"price_id"=>"0"}
160381
+ Gatherable::Price Load (0.2ms) SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 0]]
160382
+ Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
160383
+  (0.1ms) ROLLBACK
160384
+  (0.1ms) BEGIN
160385
+ Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160386
+  (0.1ms) ROLLBACK
160387
+  (0.1ms) BEGIN
160388
+ Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160389
+  (0.1ms) ROLLBACK
160390
+  (0.0ms) BEGIN
160391
+ Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160392
+  (0.1ms) ROLLBACK
160393
+  (0.1ms) BEGIN
160394
+ Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160395
+  (0.1ms) ROLLBACK
160396
+  (0.1ms) BEGIN
160397
+ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
160398
+  (0.1ms) ROLLBACK
160399
+  (0.0ms) BEGIN
160400
+  (0.0ms) ROLLBACK
160401
+  (0.0ms) BEGIN
160402
+  (0.1ms) ROLLBACK
160403
+  (0.0ms) BEGIN
160404
+  (0.0ms) ROLLBACK
160405
+  (0.1ms) BEGIN
160406
+  (0.1ms) ROLLBACK
160407
+  (0.1ms) BEGIN
160408
+  (0.1ms) ROLLBACK
160409
+  (0.0ms) BEGIN
160410
+  (0.1ms) ROLLBACK
160411
+  (0.0ms) BEGIN
160412
+  (0.1ms) ROLLBACK
160413
+  (0.1ms) BEGIN
160414
+  (0.1ms) ROLLBACK
160415
+  (0.1ms) BEGIN
160416
+  (0.1ms) ROLLBACK
160417
+  (0.0ms) BEGIN
160418
+  (0.0ms) ROLLBACK
160419
+  (0.1ms) BEGIN
160420
+  (0.1ms) ROLLBACK
160421
+  (0.1ms) BEGIN
160422
+  (0.1ms) ROLLBACK
160423
+  (0.1ms) BEGIN
160424
+  (0.1ms) ROLLBACK
160425
+  (0.1ms) BEGIN
160426
+  (0.0ms) ROLLBACK
160427
+  (0.1ms) BEGIN
160428
+  (0.1ms) ROLLBACK
160429
+  (0.0ms) BEGIN
160430
+  (0.0ms) ROLLBACK
160431
+  (0.0ms) BEGIN
160432
+  (0.0ms) ROLLBACK
160433
+  (0.0ms) BEGIN
160434
+  (0.0ms) ROLLBACK
160435
+  (0.0ms) BEGIN
160436
+  (0.0ms) ROLLBACK
160437
+  (0.0ms) BEGIN
160438
+  (0.1ms) ROLLBACK
160439
+  (0.0ms) BEGIN
160440
+  (0.1ms) ROLLBACK
160441
+  (0.0ms) BEGIN
160442
+  (0.1ms) ROLLBACK
160443
+  (0.0ms) BEGIN
160444
+  (0.1ms) ROLLBACK
160445
+  (0.0ms) BEGIN
160446
+  (0.1ms) ROLLBACK
160447
+  (0.1ms) BEGIN
160448
+  (0.1ms) ROLLBACK
160449
+  (0.1ms) BEGIN
160450
+  (0.1ms) ROLLBACK
160451
+  (0.0ms) BEGIN
160452
+  (0.1ms) ROLLBACK
160453
+  (0.0ms) BEGIN
160454
+  (0.1ms) ROLLBACK
160455
+  (0.1ms) BEGIN
160456
+  (0.1ms) ROLLBACK
160457
+  (0.1ms) BEGIN
160458
+  (0.1ms) ROLLBACK
160459
+  (0.1ms) BEGIN
160460
+  (0.1ms) ROLLBACK
160461
+  (0.0ms) BEGIN
160462
+  (0.1ms) ROLLBACK
160463
+  (0.0ms) BEGIN
160464
+  (0.1ms) ROLLBACK
160465
+  (0.0ms) BEGIN
160466
+  (0.1ms) ROLLBACK
160467
+  (0.0ms) BEGIN
160468
+  (0.1ms) ROLLBACK
160469
+  (0.1ms) BEGIN
160470
+  (0.1ms) ROLLBACK
160471
+  (0.0ms) BEGIN
160472
+  (0.1ms) ROLLBACK
160473
+  (0.1ms) BEGIN
160474
+  (0.2ms) ROLLBACK
160475
+  (0.0ms) BEGIN
160476
+  (0.1ms) SAVEPOINT active_record_1
160477
+ SQL (0.3ms) INSERT INTO "gatherable"."prices" ("session_id", "created_at") VALUES ($1, $2) RETURNING "price_id" [["session_id", "1"], ["created_at", "2016-03-09 22:17:47.028324"]]
160478
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
160479
+  (0.1ms) ROLLBACK
160480
+  (0.0ms) BEGIN
160481
+  (0.0ms) SAVEPOINT active_record_1
160482
+ 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-09 22:17:47.030208"]]
160483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160484
+  (0.1ms) ROLLBACK
160485
+  (0.0ms) BEGIN
160486
+  (0.0ms) ROLLBACK
@@ -1,4 +1,4 @@
1
1
  Gatherable.configure do |c|
2
2
  c.global_identifier = :session_id
3
- c.data_point :price, :decimal, allowed_controller_actions: %w[index show create update destroy]
3
+ c.data_point :price, :decimal, controller_actions: %w[index show create update destroy]
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gatherable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schepers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails