starburst 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8848f7b863b49d0bdb45318521ad8826d17bf95
|
4
|
+
data.tar.gz: 5a1f1012f03baa30dbe294016569ddbec351c327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57dee08436c7dcbc767f8bc251453d8aadf3878aeace436ef2a4140e365562fdd883354850b2438aff022af3dcf5156ed787d74d7389095e576a8ceb6583b41c
|
7
|
+
data.tar.gz: ebecb38b3b916972f1aed116ec1f261d48859105eac170bb5dff1c71037973f7a35e37f04509f8afa9562ee7a4eafabc11a1b94884c04989c7e3dfd191d227c7
|
@@ -3,7 +3,7 @@ module Starburst
|
|
3
3
|
def mark_as_read
|
4
4
|
announcement = Announcement.find(params[:id].to_i)
|
5
5
|
if respond_to?(Starburst.current_user_method) && send(Starburst.current_user_method) && announcement
|
6
|
-
if AnnouncementView.
|
6
|
+
if AnnouncementView.where(user: send(Starburst.current_user_method), announcement: announcement).first_or_create(user: send(Starburst.current_user_method), announcement: announcement)
|
7
7
|
render :json => :ok
|
8
8
|
else
|
9
9
|
render json: nil, :status => :unprocessable_entity
|
data/lib/starburst/version.rb
CHANGED
@@ -6,14 +6,19 @@ module Starburst
|
|
6
6
|
|
7
7
|
routes { Starburst::Engine.routes } # http://pivotallabs.com/writing-rails-engine-rspec-controller-tests/
|
8
8
|
|
9
|
-
it "marks an announcement as read" do
|
9
|
+
it "marks an announcement as read (twice)" do
|
10
10
|
@current_user = mock_model(User, :id => 10)
|
11
11
|
controller.stub(:current_user).and_return(@current_user)
|
12
12
|
announcement = FactoryGirl.create(:announcement)
|
13
|
+
announcement2 = FactoryGirl.create(:announcement)
|
13
14
|
post :mark_as_read, :id => announcement.id
|
14
15
|
expect(response.status).to eq 200
|
15
16
|
expect(AnnouncementView.last.user_id).to eq 10
|
16
17
|
expect(AnnouncementView.all.length).to eq 1
|
18
|
+
post :mark_as_read, :id => announcement2.id
|
19
|
+
expect(response.status).to eq 200
|
20
|
+
expect(AnnouncementView.last.user_id).to eq 10
|
21
|
+
expect(AnnouncementView.all.length).to eq 2
|
17
22
|
end
|
18
23
|
|
19
24
|
it "does not mark an announcement as read if no one is logged in" do
|
data/spec/dummy/log/test.log
CHANGED
@@ -38461,3 +38461,895 @@ Processing by PagesController#home as HTML
|
|
38461
38461
|
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (0.3ms)
|
38462
38462
|
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
38463
38463
|
[1m[35m (0.4ms)[0m rollback transaction
|
38464
|
+
[1m[36m (4.7ms)[0m [1mbegin transaction[0m
|
38465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38466
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:41:18.637127"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.637127"]]
|
38467
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
38468
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38469
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:41:18.648726"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.648726"]]
|
38470
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38471
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38472
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38473
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:41:18.722758"], ["updated_at", "2014-12-21 22:41:18.722758"], ["user_id", 1]]
|
38474
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38475
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38476
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38477
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
38478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38479
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38480
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:41:18.736750"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.736750"]]
|
38481
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38482
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38483
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:41:18.738678"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.738678"]]
|
38484
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38485
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38486
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:41:18.740121"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.740121"]]
|
38487
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38488
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38489
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38490
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:41:18.743463"], ["updated_at", "2014-12-21 22:41:18.743463"], ["user_id", 1]]
|
38491
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38493
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1
|
38494
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 2], ["created_at", "2014-12-21 22:41:18.746141"], ["updated_at", "2014-12-21 22:41:18.746141"], ["user_id", 1]]
|
38495
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38496
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38497
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 2 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1
|
38498
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
38499
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38500
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38501
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:41:18.749987"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.749987"]]
|
38502
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38503
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38504
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:41:18.751281"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.751281"]]
|
38505
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38507
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:41:18.752459"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.752459"]]
|
38508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38509
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38510
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38511
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:41:18.754631"], ["updated_at", "2014-12-21 22:41:18.754631"], ["user_id", 1]]
|
38512
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38513
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38514
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 2 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38515
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:41:18.756811"], ["updated_at", "2014-12-21 22:41:18.756811"], ["user_id", 2]]
|
38516
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38517
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38518
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 2 AND "starburst_announcement_views"."id" != 2 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38519
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38520
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
38521
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38522
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:41:18.765363"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.765363"]]
|
38523
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38524
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38525
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:41:18.767080"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.767080"]]
|
38526
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38527
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
38528
|
+
Parameters: {"id"=>"1"}
|
38529
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1 [["id", 1]]
|
38530
|
+
[1m[36mStarburst::AnnouncementView Load (0.4ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" ASC LIMIT 1[0m
|
38531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38532
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 10 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38533
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:41:18.778716"], ["updated_at", "2014-12-21 22:41:18.778716"], ["user_id", 10]]
|
38534
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38535
|
+
Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.9ms)
|
38536
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" DESC LIMIT 1
|
38537
|
+
[1m[36mStarburst::AnnouncementView Load (0.1ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views"[0m
|
38538
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
38539
|
+
Parameters: {"id"=>"2"}
|
38540
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1 [["id", 2]]
|
38541
|
+
[1m[36mStarburst::AnnouncementView Load (0.1ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" ASC LIMIT 1[0m
|
38542
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 1.1ms)
|
38543
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" DESC LIMIT 1
|
38544
|
+
[1m[36mStarburst::AnnouncementView Load (0.1ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views"[0m
|
38545
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38548
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:41:18.791015"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.791015"]]
|
38549
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38550
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
38551
|
+
Parameters: {"id"=>"1"}
|
38552
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1[0m [["id", 1]]
|
38553
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
38554
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views"
|
38555
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38556
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38558
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38559
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38561
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38562
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:41:18.801137"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.801137"]]
|
38563
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38564
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38565
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:41:18.803037"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.803037"]]
|
38566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38567
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:41:18 -0500
|
38568
|
+
Processing by PagesController#home as HTML
|
38569
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38570
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38571
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:41:18.835043' OR start_delivering_at IS NULL)
|
38572
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.835045' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC[0m
|
38573
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (4.2ms)
|
38574
|
+
Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.2ms)
|
38575
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38577
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38578
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:41:18.852790"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.852790"]]
|
38579
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38580
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:41:18 -0500
|
38581
|
+
Processing by PagesController#home as HTML
|
38582
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (0.3ms)
|
38583
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
38584
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38586
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38587
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:41:18.860523"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.860523"]]
|
38588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38589
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38590
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:41:18.862910"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.862910"]]
|
38591
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38592
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:41:18 -0500
|
38593
|
+
Processing by PagesController#home as HTML
|
38594
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38595
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38596
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:41:18.866831' OR start_delivering_at IS NULL)
|
38597
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.866833' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC[0m
|
38598
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (2.2ms)
|
38599
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
|
38600
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38601
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38602
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:41:18.920404"], ["updated_at", "2014-12-21 22:41:18.920404"], ["user_id", 1]]
|
38603
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38604
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:41:18 -0500
|
38605
|
+
Processing by PagesController#home as HTML
|
38606
|
+
[1m[35mStarburst::Announcement Load (0.2ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38607
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38608
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:41:18.923885' OR start_delivering_at IS NULL)
|
38609
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.923887' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC
|
38610
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (1.7ms)
|
38611
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
|
38612
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38614
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38615
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:41:18.929216"], ["limit_to_users", "---\n- :field: subscription\n :value: ''\n :operator: =\n"], ["updated_at", "2014-12-21 22:41:18.929216"]]
|
38616
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38617
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
38618
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38620
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.933078"], ["limit_to_users", "---\n- :field: subscription\n :value: ''\n"], ["updated_at", "2014-12-21 22:41:18.933078"]]
|
38621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38622
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38623
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:41:18.935344"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.935344"]]
|
38624
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38625
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38626
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:41:18.936876"], ["subscription", "monthly"], ["updated_at", "2014-12-21 22:41:18.936876"]]
|
38627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38628
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements"[0m
|
38629
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements"
|
38630
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38631
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38632
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38633
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:41:18.941144"], ["limit_to_users", "---\n- :field: free?\n :value: true\n"], ["updated_at", "2014-12-21 22:41:18.941144"]]
|
38634
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38635
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38636
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:41:18.944437"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.944437"]]
|
38637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38639
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:41:18.946373"], ["subscription", "monthly"], ["updated_at", "2014-12-21 22:41:18.946373"]]
|
38640
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38641
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements"
|
38642
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements"[0m
|
38643
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38646
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
38647
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38648
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38649
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38650
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "This is an announcement."], ["created_at", "2014-12-21 22:41:18.954073"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:41:18.954073"]]
|
38651
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38652
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38653
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38655
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "This is an announcement."], ["created_at", "2014-12-21 22:41:18.957011"], ["limit_to_users", nil], ["title", "Test title"], ["updated_at", "2014-12-21 22:41:18.957011"]]
|
38656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38657
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
38658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38660
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.960292"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:41:18.959676"], ["stop_delivering_at", "2014-12-21 22:41:18.959677"], ["updated_at", "2014-12-21 22:41:18.960292"]]
|
38661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38662
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:41:18.961481' OR start_delivering_at IS NULL)
|
38663
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.961483' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1[0m
|
38664
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
38665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38666
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38667
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.964631"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:41:18.963267"], ["stop_delivering_at", "2014-12-22 22:41:18.963268"], ["updated_at", "2014-12-21 22:41:18.964631"]]
|
38668
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38669
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:41:18.966012' OR start_delivering_at IS NULL)
|
38670
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.966017' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1[0m
|
38671
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
38672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38673
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38674
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.969033"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:41:18.968212"], ["updated_at", "2014-12-21 22:41:18.969033"]]
|
38675
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38676
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:41:18.970493' OR start_delivering_at IS NULL)
|
38677
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.970495' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1[0m
|
38678
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
38679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38680
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38681
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.973274"], ["limit_to_users", nil], ["stop_delivering_at", "2014-12-22 22:41:18.972545"], ["updated_at", "2014-12-21 22:41:18.973274"]]
|
38682
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38683
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:41:18.974545' OR start_delivering_at IS NULL)
|
38684
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.974547' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1[0m
|
38685
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
38686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38687
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38688
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.978106"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-22 22:41:18.977306"], ["updated_at", "2014-12-21 22:41:18.978106"]]
|
38689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38690
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:41:18.979754' OR start_delivering_at IS NULL)
|
38691
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.979756' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1[0m
|
38692
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
38693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38694
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38695
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.982505"], ["limit_to_users", nil], ["stop_delivering_at", "2014-12-20 22:41:18.981688"], ["updated_at", "2014-12-21 22:41:18.982505"]]
|
38696
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38697
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:41:18.984165' OR start_delivering_at IS NULL)
|
38698
|
+
AND (stop_delivering_at > '2014-12-21 22:41:18.984167' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1[0m
|
38699
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
38700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38701
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38702
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.987131"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:41:18.986312"], ["updated_at", "2014-12-21 22:41:18.987131"]]
|
38703
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38704
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38705
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:41:18.988565"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:41:18.988272"], ["updated_at", "2014-12-21 22:41:18.988565"]]
|
38706
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38707
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38708
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:41:18.990018"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:18.990018"]]
|
38709
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38710
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38711
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38712
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:41:18.993389"], ["updated_at", "2014-12-21 22:41:18.993389"], ["user_id", 1]]
|
38713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38714
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38715
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38716
|
+
starburst_announcement_views.user_id = 1 WHERE (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL)[0m
|
38717
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38719
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38720
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:18.997279"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:41:18.996530"], ["updated_at", "2014-12-21 22:41:18.997279"]]
|
38721
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38723
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:41:18.998618"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:41:18.998353"], ["updated_at", "2014-12-21 22:41:18.998618"]]
|
38724
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38725
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38726
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:41:19.000016"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:19.000016"]]
|
38727
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38729
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:41:19.000947"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:19.000947"]]
|
38730
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38731
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38732
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38733
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:41:19.002613"], ["updated_at", "2014-12-21 22:41:19.002613"], ["user_id", 1]]
|
38734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38735
|
+
[1m[35mStarburst::Announcement Load (0.3ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38736
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38737
|
+
starburst_announcement_views.user_id = 2 WHERE (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL)
|
38738
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38740
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38741
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:41:19.008908"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:41:19.008011"], ["updated_at", "2014-12-21 22:41:19.008908"]]
|
38742
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38743
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38744
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:41:19.010980"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:41:19.010409"], ["updated_at", "2014-12-21 22:41:19.010980"]]
|
38745
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38746
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38747
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:41:19.013184"], ["subscription", ""], ["updated_at", "2014-12-21 22:41:19.013184"]]
|
38748
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38749
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38750
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38751
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:41:19.016439"], ["updated_at", "2014-12-21 22:41:19.016439"], ["user_id", 1]]
|
38752
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38753
|
+
[1m[35mStarburst::Announcement Load (0.2ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38754
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38755
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:41:19.017627' OR start_delivering_at IS NULL)
|
38756
|
+
AND (stop_delivering_at > '2014-12-21 22:41:19.017630' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC
|
38757
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38758
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
38759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38760
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:42:10.898033"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:10.898033"]]
|
38761
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38762
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38763
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:42:10.901986"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:10.901986"]]
|
38764
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38765
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
38766
|
+
Parameters: {"id"=>"1"}
|
38767
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1 [["id", 1]]
|
38768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38769
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 10 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38770
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:42:10.922646"], ["updated_at", "2014-12-21 22:42:10.922646"], ["user_id", 10]]
|
38771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38772
|
+
Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
38773
|
+
[1m[36mStarburst::AnnouncementView Load (0.2ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" DESC LIMIT 1[0m
|
38774
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views"
|
38775
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
38776
|
+
Parameters: {"id"=>"2"}
|
38777
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1[0m [["id", 2]]
|
38778
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38779
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 10 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1[0m
|
38780
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["created_at", "2014-12-21 22:42:10.929893"], ["updated_at", "2014-12-21 22:42:10.929893"], ["user_id", 10]]
|
38781
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38782
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 1.1ms)
|
38783
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" DESC LIMIT 1
|
38784
|
+
[1m[36mStarburst::AnnouncementView Load (0.1ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views"[0m
|
38785
|
+
[1m[35m (1.4ms)[0m rollback transaction
|
38786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38787
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38788
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:42:10.936377"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:10.936377"]]
|
38789
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38790
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
38791
|
+
Parameters: {"id"=>"1"}
|
38792
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1[0m [["id", 1]]
|
38793
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
38794
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views"
|
38795
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
38796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38797
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38798
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38799
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38800
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:10.949208"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:10.949208"]]
|
38801
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38802
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38803
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:42:10.951164"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:10.951164"]]
|
38804
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38805
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:42:10 -0500
|
38806
|
+
Processing by PagesController#home as HTML
|
38807
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38808
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38809
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:42:10.972341' OR start_delivering_at IS NULL)
|
38810
|
+
AND (stop_delivering_at > '2014-12-21 22:42:10.972343' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC[0m
|
38811
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (4.1ms)
|
38812
|
+
Completed 200 OK in 19ms (Views: 18.5ms | ActiveRecord: 0.2ms)
|
38813
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38814
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38815
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38816
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:42:10.985167"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:10.985167"]]
|
38817
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38818
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:42:10 -0500
|
38819
|
+
Processing by PagesController#home as HTML
|
38820
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (0.3ms)
|
38821
|
+
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
38822
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
38823
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38824
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38825
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38826
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38827
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:10.995245"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:10.995245"]]
|
38828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38830
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:42:10.997151"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:10.997151"]]
|
38831
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38832
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:42:10 -0500
|
38833
|
+
Processing by PagesController#home as HTML
|
38834
|
+
[1m[36mStarburst::Announcement Load (0.3ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38835
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38836
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:42:11.001248' OR start_delivering_at IS NULL)
|
38837
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.001253' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC[0m
|
38838
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (3.5ms)
|
38839
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms)
|
38840
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38841
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38842
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.007982"], ["updated_at", "2014-12-21 22:42:11.007982"], ["user_id", 1]]
|
38843
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38844
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:42:11 -0500
|
38845
|
+
Processing by PagesController#home as HTML
|
38846
|
+
[1m[35mStarburst::Announcement Load (0.2ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
38847
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
38848
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:42:11.011644' OR start_delivering_at IS NULL)
|
38849
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.011647' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC
|
38850
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (1.5ms)
|
38851
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
38852
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38854
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38855
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:11.017409"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.017409"]]
|
38856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38858
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:42:11.019496"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:11.019496"]]
|
38859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38860
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38861
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38862
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.022351"], ["updated_at", "2014-12-21 22:42:11.022351"], ["user_id", 1]]
|
38863
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38864
|
+
[1m[36mStarburst::AnnouncementView Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38865
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38866
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38867
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38868
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38869
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:11.079188"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.079188"]]
|
38870
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38872
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:42:11.080758"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:11.080758"]]
|
38873
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38874
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38875
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:42:11.082001"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:11.082001"]]
|
38876
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38877
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
38878
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38879
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.086750"], ["updated_at", "2014-12-21 22:42:11.086750"], ["user_id", 1]]
|
38880
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38881
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38882
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1[0m
|
38883
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["created_at", "2014-12-21 22:42:11.090894"], ["updated_at", "2014-12-21 22:42:11.090894"], ["user_id", 1]]
|
38884
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38885
|
+
[1m[35mStarburst::AnnouncementView Exists (0.2ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38886
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 2 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1[0m
|
38887
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38888
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38889
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38890
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:42:11.097488"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.097488"]]
|
38891
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38892
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38893
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:11.100061"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.100061"]]
|
38894
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38895
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38896
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:42:11.102436"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:11.102436"]]
|
38897
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38898
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38899
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38900
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.107008"], ["updated_at", "2014-12-21 22:42:11.107008"], ["user_id", 1]]
|
38901
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38902
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38903
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 2 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38904
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.111324"], ["updated_at", "2014-12-21 22:42:11.111324"], ["user_id", 2]]
|
38905
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38906
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
38907
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 2 AND "starburst_announcement_views"."id" != 2 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
38908
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38909
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38910
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38911
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
38912
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38914
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38915
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "This is an announcement."], ["created_at", "2014-12-21 22:42:11.124521"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:42:11.124521"]]
|
38916
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38917
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
38918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38919
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38920
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "This is an announcement."], ["created_at", "2014-12-21 22:42:11.130827"], ["limit_to_users", nil], ["title", "Test title"], ["updated_at", "2014-12-21 22:42:11.130827"]]
|
38921
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38922
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38924
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38925
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.135299"], ["limit_to_users", nil], ["stop_delivering_at", "2014-12-20 22:42:11.134342"], ["updated_at", "2014-12-21 22:42:11.135299"]]
|
38926
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38927
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:42:11.136657' OR start_delivering_at IS NULL)
|
38928
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.136659' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
38929
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38931
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38932
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.139849"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:42:11.139060"], ["updated_at", "2014-12-21 22:42:11.139849"]]
|
38933
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38934
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:42:11.141377' OR start_delivering_at IS NULL)
|
38935
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.141380' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
38936
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38937
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38938
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38939
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.144820"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:42:11.143900"], ["stop_delivering_at", "2014-12-21 22:42:11.143901"], ["updated_at", "2014-12-21 22:42:11.144820"]]
|
38940
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38941
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:42:11.146251' OR start_delivering_at IS NULL)
|
38942
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.146253' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
38943
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38945
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38946
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.149741"], ["limit_to_users", nil], ["stop_delivering_at", "2014-12-22 22:42:11.148653"], ["updated_at", "2014-12-21 22:42:11.149741"]]
|
38947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38948
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:42:11.151106' OR start_delivering_at IS NULL)
|
38949
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.151108' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
38950
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38952
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38953
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.154248"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:42:11.153450"], ["stop_delivering_at", "2014-12-22 22:42:11.153451"], ["updated_at", "2014-12-21 22:42:11.154248"]]
|
38954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38955
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:42:11.155475' OR start_delivering_at IS NULL)
|
38956
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.155477' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
38957
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
38958
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38959
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38960
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.158913"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-22 22:42:11.158043"], ["updated_at", "2014-12-21 22:42:11.158913"]]
|
38961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38962
|
+
[1m[35mStarburst::Announcement Load (0.2ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:42:11.160140' OR start_delivering_at IS NULL)
|
38963
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.160142' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
38964
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
38965
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38966
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38967
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.163764"], ["limit_to_users", "---\n- :field: subscription\n :value: ''\n :operator: =\n"], ["updated_at", "2014-12-21 22:42:11.163764"]]
|
38968
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38969
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
38970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38971
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38972
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:42:11.167765"], ["limit_to_users", "---\n- :field: subscription\n :value: ''\n"], ["updated_at", "2014-12-21 22:42:11.167765"]]
|
38973
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38974
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38975
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:11.170082"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.170082"]]
|
38976
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38977
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38978
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:42:11.172071"], ["subscription", "monthly"], ["updated_at", "2014-12-21 22:42:11.172071"]]
|
38979
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38980
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements"[0m
|
38981
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements"
|
38982
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
38983
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38984
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38985
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.178349"], ["limit_to_users", "---\n- :field: free?\n :value: true\n"], ["updated_at", "2014-12-21 22:42:11.178349"]]
|
38986
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38987
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38988
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:42:11.181510"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.181510"]]
|
38989
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38990
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38991
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:11.183784"], ["subscription", "monthly"], ["updated_at", "2014-12-21 22:42:11.183784"]]
|
38992
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38993
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements"
|
38994
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements"[0m
|
38995
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38996
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
38997
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38998
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:42:11.189051"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:42:11.188126"], ["updated_at", "2014-12-21 22:42:11.189051"]]
|
38999
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39000
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39001
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.190915"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:42:11.190373"], ["updated_at", "2014-12-21 22:42:11.190915"]]
|
39002
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39003
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39004
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:42:11.193080"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.193080"]]
|
39005
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39006
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39007
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39008
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.195079"], ["updated_at", "2014-12-21 22:42:11.195079"], ["user_id", 1]]
|
39009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39010
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39011
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39012
|
+
starburst_announcement_views.user_id = 1 WHERE (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL)[0m
|
39013
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39014
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39015
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39016
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:42:11.199271"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:42:11.198407"], ["updated_at", "2014-12-21 22:42:11.199271"]]
|
39017
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39018
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39019
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.201224"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:42:11.200673"], ["updated_at", "2014-12-21 22:42:11.201224"]]
|
39020
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39021
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39022
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:42:11.203196"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.203196"]]
|
39023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39025
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:11.204635"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.204635"]]
|
39026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39027
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39028
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39029
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.206910"], ["updated_at", "2014-12-21 22:42:11.206910"], ["user_id", 1]]
|
39030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39031
|
+
[1m[35mStarburst::Announcement Load (0.4ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39032
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39033
|
+
starburst_announcement_views.user_id = 2 WHERE (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL)
|
39034
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39036
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39037
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:42:11.212566"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:42:11.211653"], ["updated_at", "2014-12-21 22:42:11.212566"]]
|
39038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39040
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:42:11.214170"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:42:11.213829"], ["updated_at", "2014-12-21 22:42:11.214170"]]
|
39041
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39042
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39043
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:42:11.216071"], ["subscription", ""], ["updated_at", "2014-12-21 22:42:11.216071"]]
|
39044
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39045
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39046
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39047
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:42:11.218424"], ["updated_at", "2014-12-21 22:42:11.218424"], ["user_id", 1]]
|
39048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39049
|
+
[1m[35mStarburst::Announcement Load (0.2ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39050
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39051
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:42:11.219477' OR start_delivering_at IS NULL)
|
39052
|
+
AND (stop_delivering_at > '2014-12-21 22:42:11.219480' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC
|
39053
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39054
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
39055
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39056
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:44:26.109235"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.109235"]]
|
39057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39058
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39059
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.114454"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.114454"]]
|
39060
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39061
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:44:26.182919"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.182919"]]
|
39063
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39064
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39065
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39066
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.203042"], ["updated_at", "2014-12-21 22:44:26.203042"], ["user_id", 1]]
|
39067
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39068
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39069
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 2 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.205955"], ["updated_at", "2014-12-21 22:44:26.205955"], ["user_id", 2]]
|
39071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39072
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39073
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 2 AND "starburst_announcement_views"."id" != 2 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39074
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
39075
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39076
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39077
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.212765"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.212765"]]
|
39078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39079
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39080
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:44:26.214517"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.214517"]]
|
39081
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39082
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39083
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:44:26.216226"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.216226"]]
|
39084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39086
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39087
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.218822"], ["updated_at", "2014-12-21 22:44:26.218822"], ["user_id", 1]]
|
39088
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39089
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39090
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1[0m
|
39091
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["created_at", "2014-12-21 22:44:26.222447"], ["updated_at", "2014-12-21 22:44:26.222447"], ["user_id", 1]]
|
39092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39093
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39094
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 2 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1[0m
|
39095
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39097
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39098
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:44:26.226979"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.226979"]]
|
39099
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39101
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:44:26.228784"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.228784"]]
|
39102
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39103
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39104
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39105
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.232900"], ["updated_at", "2014-12-21 22:44:26.232900"], ["user_id", 1]]
|
39106
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39107
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."id" != 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39108
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39109
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39111
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39112
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
39113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39114
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:44:26.247667"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.247667"]]
|
39115
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39116
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:44:26 -0500
|
39117
|
+
Processing by PagesController#home as HTML
|
39118
|
+
Rendered pages/home.html.erb within layouts/application (1.6ms)
|
39119
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (1.6ms)
|
39120
|
+
Completed 200 OK in 35ms (Views: 34.2ms | ActiveRecord: 0.0ms)
|
39121
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39123
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39124
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.299830"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.299830"]]
|
39125
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39127
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:44:26.302493"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.302493"]]
|
39128
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39129
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:44:26 -0500
|
39130
|
+
Processing by PagesController#home as HTML
|
39131
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39132
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39133
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39134
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:44:26.306538' OR start_delivering_at IS NULL)
|
39135
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.306540' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC[0m
|
39136
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (4.6ms)
|
39137
|
+
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.2ms)
|
39138
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39139
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39140
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.314653"], ["updated_at", "2014-12-21 22:44:26.314653"], ["user_id", 1]]
|
39141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39142
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:44:26 -0500
|
39143
|
+
Processing by PagesController#home as HTML
|
39144
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39145
|
+
[1m[35mStarburst::Announcement Load (0.2ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39146
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39147
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:44:26.319015' OR start_delivering_at IS NULL)
|
39148
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.319019' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC
|
39149
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (1.9ms)
|
39150
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)
|
39151
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39152
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39154
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.325221"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.325221"]]
|
39155
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39156
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39157
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "My announcement"], ["created_at", "2014-12-21 22:44:26.327491"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.327491"]]
|
39158
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39159
|
+
Started GET "/" for 127.0.0.1 at 2014-12-21 17:44:26 -0500
|
39160
|
+
Processing by PagesController#home as HTML
|
39161
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39162
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39163
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39164
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:44:26.331512' OR start_delivering_at IS NULL)
|
39165
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.331515' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC[0m
|
39166
|
+
Rendered /Users/coreym/Documents/starburst/app/views/announcements/starburst/_announcement_bootstrap.html.erb (2.8ms)
|
39167
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
39168
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
39169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39170
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39171
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:44:26.339541"], ["limit_to_users", "---\n- :field: free?\n :value: true\n"], ["updated_at", "2014-12-21 22:44:26.339541"]]
|
39172
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39173
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39174
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.342149"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.342149"]]
|
39175
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39177
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:44:26.343815"], ["subscription", "monthly"], ["updated_at", "2014-12-21 22:44:26.343815"]]
|
39178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39179
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements"[0m
|
39180
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements"
|
39181
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39182
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39184
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.349522"], ["limit_to_users", "---\n- :field: subscription\n :value: ''\n"], ["updated_at", "2014-12-21 22:44:26.349522"]]
|
39185
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39186
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39187
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:44:26.352099"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.352099"]]
|
39188
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39189
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39190
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.408414"], ["subscription", "monthly"], ["updated_at", "2014-12-21 22:44:26.408414"]]
|
39191
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39192
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements"
|
39193
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements"[0m
|
39194
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39196
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39197
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:44:26.413272"], ["limit_to_users", "---\n- :field: subscription\n :value: ''\n :operator: =\n"], ["updated_at", "2014-12-21 22:44:26.413272"]]
|
39198
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39199
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
39200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39201
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39202
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.417059"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:44:26.416357"], ["stop_delivering_at", "2014-12-21 22:44:26.416358"], ["updated_at", "2014-12-21 22:44:26.417059"]]
|
39203
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39204
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:44:26.418656' OR start_delivering_at IS NULL)
|
39205
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.418658' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
39206
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
39207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39208
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39209
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.421503"], ["limit_to_users", nil], ["stop_delivering_at", "2014-12-22 22:44:26.420684"], ["updated_at", "2014-12-21 22:44:26.421503"]]
|
39210
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39211
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:44:26.422938' OR start_delivering_at IS NULL)
|
39212
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.422940' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
39213
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
39214
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39215
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39216
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.425874"], ["limit_to_users", nil], ["stop_delivering_at", "2014-12-20 22:44:26.425098"], ["updated_at", "2014-12-21 22:44:26.425874"]]
|
39217
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39218
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:44:26.427019' OR start_delivering_at IS NULL)
|
39219
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.427020' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
39220
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
39221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39222
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39223
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.430340"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:44:26.429201"], ["updated_at", "2014-12-21 22:44:26.430340"]]
|
39224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39225
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:44:26.431739' OR start_delivering_at IS NULL)
|
39226
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.431741' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
39227
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
39228
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39229
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39230
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "stop_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.434885"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:44:26.433997"], ["stop_delivering_at", "2014-12-22 22:44:26.433998"], ["updated_at", "2014-12-21 22:44:26.434885"]]
|
39231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39232
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:44:26.436171' OR start_delivering_at IS NULL)
|
39233
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.436173' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
39234
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
39235
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39237
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.438753"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-22 22:44:26.438024"], ["updated_at", "2014-12-21 22:44:26.438753"]]
|
39238
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39239
|
+
[1m[35mStarburst::Announcement Load (0.1ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" WHERE ((start_delivering_at < '2014-12-21 22:44:26.439913' OR start_delivering_at IS NULL)
|
39240
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.439915' OR stop_delivering_at IS NULL)) ORDER BY start_delivering_at ASC LIMIT 1
|
39241
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
39242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39243
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39244
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.442629"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:44:26.441920"], ["updated_at", "2014-12-21 22:44:26.442629"]]
|
39245
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39247
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:44:26.443971"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:44:26.443664"], ["updated_at", "2014-12-21 22:44:26.443971"]]
|
39248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39249
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39250
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.445485"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.445485"]]
|
39251
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39252
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39253
|
+
[1m[36mStarburst::AnnouncementView Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1[0m
|
39254
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.447587"], ["updated_at", "2014-12-21 22:44:26.447587"], ["user_id", 1]]
|
39255
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39256
|
+
[1m[35mStarburst::Announcement Load (0.2ms)[0m SELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39257
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39258
|
+
starburst_announcement_views.user_id = 1 WHERE ((start_delivering_at < '2014-12-21 22:44:26.448559' OR start_delivering_at IS NULL)
|
39259
|
+
AND (stop_delivering_at > '2014-12-21 22:44:26.448561' OR stop_delivering_at IS NULL)) AND (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL) ORDER BY start_delivering_at ASC
|
39260
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39262
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39263
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.451739"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:44:26.450937"], ["updated_at", "2014-12-21 22:44:26.451739"]]
|
39264
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39265
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39266
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:44:26.453549"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:44:26.453092"], ["updated_at", "2014-12-21 22:44:26.453549"]]
|
39267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39269
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-21 22:44:26.455651"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.455651"]]
|
39270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39272
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:44:26.456896"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.456896"]]
|
39273
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39275
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39276
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.459121"], ["updated_at", "2014-12-21 22:44:26.459121"], ["user_id", 1]]
|
39277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39278
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39279
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39280
|
+
starburst_announcement_views.user_id = 2 WHERE (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL)[0m
|
39281
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39283
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39284
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", "2014-12-21 22:44:26.463879"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-20 22:44:26.463129"], ["updated_at", "2014-12-21 22:44:26.463879"]]
|
39285
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39286
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39287
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "start_delivering_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "test"], ["created_at", "2014-12-21 22:44:26.466524"], ["limit_to_users", nil], ["start_delivering_at", "2014-12-21 22:44:26.466174"], ["updated_at", "2014-12-21 22:44:26.466524"]]
|
39288
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39289
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39290
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "subscription", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-21 22:44:26.467944"], ["subscription", ""], ["updated_at", "2014-12-21 22:44:26.467944"]]
|
39291
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39293
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 1 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39294
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.470287"], ["updated_at", "2014-12-21 22:44:26.470287"], ["user_id", 1]]
|
39295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39296
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" LEFT JOIN starburst_announcement_views ON
|
39297
|
+
starburst_announcement_views.announcement_id = starburst_announcements.id AND
|
39298
|
+
starburst_announcement_views.user_id = 1 WHERE (starburst_announcement_views.announcement_id IS NULL AND starburst_announcement_views.user_id IS NULL)[0m
|
39299
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39300
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39302
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "This is an announcement."], ["created_at", "2014-12-21 22:44:26.474152"], ["limit_to_users", nil], ["title", "Test title"], ["updated_at", "2014-12-21 22:44:26.474152"]]
|
39303
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39304
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
39305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39307
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "This is an announcement."], ["created_at", "2014-12-21 22:44:26.477095"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.477095"]]
|
39308
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39309
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
39310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39312
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
39313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39314
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39317
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39318
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:44:26.486379"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.486379"]]
|
39319
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39320
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
39321
|
+
Parameters: {"id"=>"1"}
|
39322
|
+
[1m[36mStarburst::Announcement Load (0.2ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1[0m [["id", 1]]
|
39323
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
39324
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views"
|
39325
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
39326
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39327
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39328
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?) [["body", "Announcement text"], ["created_at", "2014-12-21 22:44:26.501687"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.501687"]]
|
39329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39330
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39331
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "starburst_announcements" ("body", "created_at", "limit_to_users", "updated_at") VALUES (?, ?, ?, ?)[0m [["body", "Announcement text"], ["created_at", "2014-12-21 22:44:26.507904"], ["limit_to_users", nil], ["updated_at", "2014-12-21 22:44:26.507904"]]
|
39332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39333
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
39334
|
+
Parameters: {"id"=>"1"}
|
39335
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1[0m [["id", 1]]
|
39336
|
+
[1m[35mStarburst::AnnouncementView Load (0.2ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views" WHERE "starburst_announcement_views"."user_id" = 10 AND "starburst_announcement_views"."announcement_id" = 1 ORDER BY "starburst_announcement_views"."id" ASC LIMIT 1
|
39337
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39338
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 10 AND "starburst_announcement_views"."announcement_id" = 1) LIMIT 1
|
39339
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 1], ["created_at", "2014-12-21 22:44:26.522423"], ["updated_at", "2014-12-21 22:44:26.522423"], ["user_id", 10]]
|
39340
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39341
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
39342
|
+
[1m[36mStarburst::AnnouncementView Load (0.1ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" DESC LIMIT 1[0m
|
39343
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views"
|
39344
|
+
Processing by Starburst::AnnouncementsController#mark_as_read as HTML
|
39345
|
+
Parameters: {"id"=>"2"}
|
39346
|
+
[1m[36mStarburst::Announcement Load (0.1ms)[0m [1mSELECT "starburst_announcements".* FROM "starburst_announcements" WHERE "starburst_announcements"."id" = ? LIMIT 1[0m [["id", 2]]
|
39347
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views" WHERE "starburst_announcement_views"."user_id" = 10 AND "starburst_announcement_views"."announcement_id" = 2 ORDER BY "starburst_announcement_views"."id" ASC LIMIT 1
|
39348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39349
|
+
[1m[35mStarburst::AnnouncementView Exists (0.1ms)[0m SELECT 1 AS one FROM "starburst_announcement_views" WHERE ("starburst_announcement_views"."user_id" = 10 AND "starburst_announcement_views"."announcement_id" = 2) LIMIT 1
|
39350
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "starburst_announcement_views" ("announcement_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["announcement_id", 2], ["created_at", "2014-12-21 22:44:26.528721"], ["updated_at", "2014-12-21 22:44:26.528721"], ["user_id", 10]]
|
39351
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39352
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 1.0ms)
|
39353
|
+
[1m[36mStarburst::AnnouncementView Load (0.1ms)[0m [1mSELECT "starburst_announcement_views".* FROM "starburst_announcement_views" ORDER BY "starburst_announcement_views"."id" DESC LIMIT 1[0m
|
39354
|
+
[1m[35mStarburst::AnnouncementView Load (0.1ms)[0m SELECT "starburst_announcement_views".* FROM "starburst_announcement_views"
|
39355
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: starburst
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|