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 +4 -4
- data/app/models/data_table.rb +2 -0
- data/config/routes.rb +2 -2
- data/lib/gatherable/version.rb +1 -1
- data/spec/controllers/gatherable/application_controller_spec.rb +3 -3
- data/spec/dummy/config/initializers/gatherable.rb +1 -1
- data/spec/dummy/log/test.log +953 -0
- data/spec/support/test_config.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fd7f285eac4e695590233b5a2272f524ac15418
|
4
|
+
data.tar.gz: 86cc8dd813d18f3e810f786d06d5e23a82c3b139
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baf85f65ac81cee7ed049b510265ee514d8ec0536b17b56b69492f92ba59e7c7e8baa3346da08b6e9f8cc2d16a09d3134bb1fbc2690f422051d3c2599baf7786
|
7
|
+
data.tar.gz: 5d7786c3c42f453df971bb4cddd4fc3feb440cf46406d7ffb5ee7c74764ab136f7755db3bbd2f3d08987ca0caea1feb6c2717e22df8fd72971e21e91f491bd83
|
data/app/models/data_table.rb
CHANGED
@@ -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
|
data/config/routes.rb
CHANGED
@@ -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.
|
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.
|
14
|
+
:only => data_table.controller_actions.map(&:to_sym),
|
15
15
|
:param => "#{data_table.name}_id"
|
16
16
|
)
|
17
17
|
end
|
data/lib/gatherable/version.rb
CHANGED
@@ -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(:
|
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(:
|
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(:
|
424
|
+
allow(data_table).to receive(:controller_actions) { all_actions }
|
425
425
|
Gatherable::RouteDrawer.draw
|
426
426
|
end
|
427
427
|
end
|
data/spec/dummy/log/test.log
CHANGED
@@ -159531,3 +159531,956 @@ Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-07 21:59:33
|
|
159531
159531
|
[1m[35m (0.1ms)[0m ROLLBACK
|
159532
159532
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
159533
159533
|
[1m[35m (0.1ms)[0m ROLLBACK
|
159534
|
+
[1m[36mActiveRecord::SchemaMigration Load (4.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
159535
|
+
[1m[36m (116.6ms)[0m [1mDROP DATABASE IF EXISTS "gatherable_test"[0m
|
159536
|
+
[1m[35m (1324.4ms)[0m CREATE DATABASE "gatherable_test" ENCODING = 'unicode'
|
159537
|
+
[1m[35m (18.2ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
159538
|
+
[1m[36m (7.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
159539
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
159540
|
+
Migrating to CreateGatherableSchema (20160309161745)
|
159541
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
159542
|
+
[1m[35m (0.3ms)[0m CREATE SCHEMA gatherable
|
159543
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160309161745"]]
|
159544
|
+
[1m[35m (0.2ms)[0m COMMIT
|
159545
|
+
Migrating to CreateGatherablePrice (20160309161746)
|
159546
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
159547
|
+
[1m[35m (8.7ms)[0m CREATE TABLE "gatherable"."prices" ("price_id" serial primary key, "price" decimal NOT NULL, "session_id" character varying, "created_at" timestamp NOT NULL)
|
159548
|
+
[1m[36m (3.6ms)[0m [1mCREATE INDEX "index_gatherable.prices_on_session_id" ON "gatherable"."prices" ("session_id")[0m
|
159549
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160309161746"]]
|
159550
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
159551
|
+
[1m[35m (1.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
159557
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159563
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.3ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1[0m [["session_id", "session_id123"]]
|
159568
|
+
Completed 302 Found in 14ms (Views: 1.0ms | ActiveRecord: 0.3ms)
|
159569
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159570
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159577
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159584
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159590
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159596
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159602
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159608
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159615
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159622
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159628
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159633
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:45.994347"]]
|
159634
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159635
|
+
Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
159636
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159637
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159642
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159644
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
159645
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159646
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159651
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.016012"]]
|
159652
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159653
|
+
Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
159654
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
159655
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159660
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159662
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
159663
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159664
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159669
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.036898"]]
|
159670
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159671
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
159672
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159673
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
159678
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
159679
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.049955"]]
|
159680
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159681
|
+
Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
159682
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159683
|
+
[1m[35m (0.1ms)[0m BEGIN
|
159684
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159685
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.2ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
|
159691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159692
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 7]]
|
159693
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159694
|
+
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
159695
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 7]]
|
159696
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159697
|
+
[1m[35m (0.0ms)[0m BEGIN
|
159698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159699
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159701
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.2ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
159706
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159707
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2[0m [["price", "3.0"], ["price_id", 8]]
|
159708
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159709
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
159710
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
159711
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159712
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
159713
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.2ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
159718
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159719
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.114694"]]
|
159720
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159721
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
159722
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
159723
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159724
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159730
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159736
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159741
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.146064"]]
|
159742
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159743
|
+
Completed 201 Created in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
159744
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159745
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159750
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159752
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
159753
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159754
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159759
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.167155"]]
|
159760
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159761
|
+
Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
159762
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159763
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159768
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159770
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
159771
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159772
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159777
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.187606"]]
|
159778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159779
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
159780
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159781
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.3ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
159786
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159787
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.199919"]]
|
159788
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159789
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
159790
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159791
|
+
[1m[35m (0.1ms)[0m BEGIN
|
159792
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159793
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.2ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
|
159799
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159800
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 16]]
|
159801
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159802
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
159803
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 16]]
|
159804
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159805
|
+
[1m[35m (0.0ms)[0m BEGIN
|
159806
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159807
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159809
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
159814
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159815
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2[0m [["price", "3.0"], ["price_id", 17]]
|
159816
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159817
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
159818
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
159819
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159820
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
159821
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
159826
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159827
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.237680"]]
|
159828
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159829
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
159830
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
159831
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159832
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159839
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159846
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "gatherable"."prices"
|
159853
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
159854
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159855
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
159856
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159857
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-09 22:17:46.276596"]]
|
159858
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.2ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 1]]
|
159863
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159864
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3[0m [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
|
159865
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159866
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 1]]
|
159867
|
+
Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
159868
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
|
159869
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159870
|
+
[1m[35m (0.1ms)[0m BEGIN
|
159871
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159872
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
|
159878
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159879
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159881
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159884
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159890
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159896
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 0]]
|
159901
|
+
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
159902
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159903
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159910
|
+
[1m[35m (0.1ms)[0m BEGIN
|
159911
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159912
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159914
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159921
|
+
[1m[35m (0.0ms)[0m BEGIN
|
159922
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159923
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159925
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159932
|
+
[1m[35m (0.0ms)[0m BEGIN
|
159933
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159934
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159936
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 21]]
|
159943
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159944
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
159945
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
159946
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.392918"]]
|
159947
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159948
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 22]]
|
159953
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1[0m [["price_id", 22]]
|
159954
|
+
Completed 204 No Content in 1ms (ActiveRecord: 0.2ms)
|
159955
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 22]]
|
159956
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159957
|
+
[1m[35m (0.0ms)[0m BEGIN
|
159958
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159959
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159961
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 23]]
|
159966
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 23]]
|
159967
|
+
Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
|
159968
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159969
|
+
[1m[35m (0.0ms)[0m BEGIN
|
159970
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159971
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159973
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 24]]
|
159978
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 24]]
|
159979
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
|
159980
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159981
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 0]]
|
159986
|
+
Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
159987
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
159988
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159995
|
+
[1m[35m (0.1ms)[0m BEGIN
|
159996
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159997
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159999
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160006
|
+
[1m[35m (0.1ms)[0m BEGIN
|
160007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160008
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160010
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160017
|
+
[1m[35m (0.1ms)[0m BEGIN
|
160018
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160019
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160021
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160028
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160033
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160038
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.2ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1[0m [["session_id", "session_id123"]]
|
160042
|
+
Completed 302 Found in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
160043
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160044
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160050
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160056
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160062
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160068
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160074
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160079
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.553931"]]
|
160080
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160081
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160082
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160083
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160088
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160090
|
+
Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160091
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160092
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160097
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.580150"]]
|
160098
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160099
|
+
Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
160100
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160101
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160106
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160108
|
+
Completed 201 Created in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
160109
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160110
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160115
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.602028"]]
|
160116
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160117
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160118
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160119
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
160124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160125
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.613548"]]
|
160126
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160127
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
160128
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160129
|
+
[1m[35m (0.0ms)[0m BEGIN
|
160130
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160131
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
|
160137
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160138
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 34]]
|
160139
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160140
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
160141
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 34]]
|
160142
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160143
|
+
[1m[35m (0.1ms)[0m BEGIN
|
160144
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160145
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160147
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
160152
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160153
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2[0m [["price", "3.0"], ["price_id", 35]]
|
160154
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160155
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
160156
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
160157
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160158
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160159
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
160164
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160165
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.653731"]]
|
160166
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160167
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
160168
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
160169
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160170
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160176
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160182
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160187
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.681193"]]
|
160188
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160189
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160190
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160191
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160196
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160198
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160199
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160200
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160205
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.702168"]]
|
160206
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160207
|
+
Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160208
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160209
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160214
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160216
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160217
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160218
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160223
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.722915"]]
|
160224
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160225
|
+
Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160226
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160227
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
160232
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160233
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.732920"]]
|
160234
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160235
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
160236
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160237
|
+
[1m[35m (0.1ms)[0m BEGIN
|
160238
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160239
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1 [["session_id", "session_id123"]]
|
160245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160246
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2 [["price", "3.0"], ["price_id", 43]]
|
160247
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160248
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
160249
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 43]]
|
160250
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160251
|
+
[1m[35m (0.0ms)[0m BEGIN
|
160252
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160253
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160255
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
160260
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160261
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "gatherable"."prices" SET "price" = $1 WHERE "gatherable"."prices"."price_id" = $2[0m [["price", "3.0"], ["price_id", 44]]
|
160262
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160263
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
160264
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
160265
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160266
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160267
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."session_id" = $1 LIMIT 1[0m [["session_id", "session_id123"]]
|
160272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160273
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "price", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["session_id", "session_id123"], ["price", "3.0"], ["created_at", "2016-03-09 22:17:46.771600"]]
|
160274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160275
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
160276
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices"[0m
|
160277
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160278
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160279
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "price_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["price_id", 1], ["created_at", "2016-03-09 22:17:46.777670"]]
|
160281
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 1]]
|
160286
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160287
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "gatherable"."prices" SET "price" = $1, "session_id" = $2 WHERE "gatherable"."prices"."price_id" = $3[0m [["price", "4.0"], ["session_id", "session_id123"], ["price_id", 1]]
|
160288
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160289
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 1]]
|
160290
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
160291
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
|
160292
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160293
|
+
[1m[35m (0.0ms)[0m BEGIN
|
160294
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160295
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 1]]
|
160301
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160302
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160304
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160307
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160313
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160319
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 0]]
|
160324
|
+
Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
160325
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160326
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160333
|
+
[1m[35m (0.1ms)[0m BEGIN
|
160334
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
160335
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160337
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 46]]
|
160342
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 [["price_id", 46]]
|
160343
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.3ms)
|
160344
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1[0m [["price_id", 46]]
|
160345
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160346
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160347
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160348
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.847293"]]
|
160349
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160350
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 47]]
|
160355
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1[0m [["price_id", 47]]
|
160356
|
+
Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
|
160357
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160358
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160359
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160360
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gatherable"."prices" ("price", "session_id", "created_at") VALUES ($1, $2, $3) RETURNING "price_id"[0m [["price", "3.0"], ["session_id", "session_id123"], ["created_at", "2016-03-09 22:17:46.858025"]]
|
160361
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160362
|
+
[1m[36mGatherable::Price Load (0.1ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m SELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1 [["price_id", 48]]
|
160367
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1[0m [["price_id", 48]]
|
160368
|
+
Completed 204 No Content in 1ms (ActiveRecord: 0.3ms)
|
160369
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160370
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35mGatherable::Price Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160377
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mGatherable::Price Load (0.2ms)[0m [1mSELECT "gatherable"."prices".* FROM "gatherable"."prices" WHERE "gatherable"."prices"."price_id" = $1 LIMIT 1[0m [["price_id", 0]]
|
160382
|
+
Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
160383
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160384
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160385
|
+
Started GET "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
|
160386
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160387
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160388
|
+
Started GET "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
|
160389
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160390
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160391
|
+
Started POST "/gatherable/prices.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
|
160392
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160393
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160394
|
+
Started PUT "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
|
160395
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160396
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160397
|
+
Started DELETE "/gatherable/prices/1.json" for 127.0.0.1 at 2016-03-09 16:17:46 -0600
|
160398
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160399
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160400
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160401
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160402
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160403
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160404
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160405
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160406
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160407
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160408
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160409
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160410
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160411
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160412
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160413
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160414
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160415
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160416
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160417
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160418
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160419
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160420
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160421
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160422
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160423
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160424
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160425
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160426
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160427
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160428
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160429
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160430
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160431
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160432
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160433
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160434
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160435
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160436
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
160437
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160438
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160439
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160440
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160441
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160442
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160443
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160444
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160445
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160446
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160447
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160448
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160449
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160450
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160451
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160452
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160453
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160454
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160455
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160456
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160457
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160458
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160459
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160460
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160461
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160462
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160463
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160464
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160465
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160466
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160467
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160468
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160469
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160470
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160471
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160472
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160473
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
160474
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
160475
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160476
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160477
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gatherable"."prices" ("session_id", "created_at") VALUES ($1, $2) RETURNING "price_id"[0m [["session_id", "1"], ["created_at", "2016-03-09 22:17:47.028324"]]
|
160478
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
160479
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
160480
|
+
[1m[35m (0.0ms)[0m BEGIN
|
160481
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
160482
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160484
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160485
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
160486
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
data/spec/support/test_config.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|