gamification 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gamification/concerns/rewardable.rb +1 -1
- data/lib/gamification/version.rb +1 -1
- data/spec/dummy/log/test.log +2559 -0
- data/spec/lib/gamification/concerns/rewardable_spec.rb +20 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a826fb286ef9f41ef06bcdc8af4f874e8d287397
|
4
|
+
data.tar.gz: 73ccaf960bfa3a11bb6364048902c34d154d3bfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ca4f608d7fe608b757fd31d8e7aafd5442571387e80e02890d32e181a85882e9cd30773101dd9eac7b3a194d97b5edce561bef4181da21e31626b693cf90ba3
|
7
|
+
data.tar.gz: ce362b54b51a6dbb331eb5fbb3ee8d4785acf67fe3798309b9abf99571f54680889490341571be56d3b7188b63cd38e65d9b11fd1e09b5a242187b2e0c5f197e
|
@@ -6,7 +6,7 @@ module Gamification::Concerns::Rewardable
|
|
6
6
|
has_many :goals, through: :rewards, class_name: '::Gamification::Goal'
|
7
7
|
|
8
8
|
def medals
|
9
|
-
rewards.includes(goal: :medal).collect(&:medal).compact
|
9
|
+
rewards.includes(goal: :medal).collect(&:medal).compact || []
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
data/lib/gamification/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -3311,3 +3311,2562 @@ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
|
3311
3311
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3312
3312
|
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3313
3313
|
[1m[35m (0.4ms)[0m rollback transaction
|
3314
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3316
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3317
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3319
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3320
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.475432"], ["updated_at", "2016-02-25 09:08:25.475432"]]
|
3321
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3323
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.483939"], ["updated_at", "2016-02-25 09:08:25.483939"]]
|
3324
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3325
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
3326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3327
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3328
|
+
[1m[36mGamification::Reward Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
3329
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.530118"], ["seen_at", "2016-02-23 09:08:25.506221"], ["updated_at", "2016-02-25 09:08:25.530118"]]
|
3330
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3331
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE ("gamification_rewards"."seen_at" IS NOT NULL)
|
3332
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3334
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3335
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
3336
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.538368"], ["updated_at", "2016-02-25 09:08:25.538368"]]
|
3337
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3338
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3341
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
3342
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.541305"], ["seen_at", "2016-02-23 09:08:25.540453"], ["updated_at", "2016-02-25 09:08:25.541305"]]
|
3343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3344
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3346
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3349
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
3350
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3351
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3352
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."seen_at" IS NULL[0m
|
3353
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3354
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3358
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3359
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3361
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3364
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["description", "Eum occaecati et facilis dicta tempora blanditiis totam."], ["goal_id", 1], ["image", nil], ["name", "nesciunt"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3367
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3368
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3370
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3371
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
3372
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 2], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3374
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards"[0m
|
3375
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3376
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
3377
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 2]]
|
3378
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 2]]
|
3379
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3382
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3385
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3386
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3388
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["description", "Eum occaecati et facilis dicta tempora blanditiis totam."], ["goal_id", 1], ["image", nil], ["name", "nesciunt"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3390
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3391
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3392
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3393
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3395
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
3396
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 2], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3397
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3398
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards"[0m
|
3399
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3400
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
3401
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 2]]
|
3402
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 2]]
|
3403
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3404
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3405
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3406
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3409
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3411
|
+
Processing by Gamification::RewardsController#create as HTML
|
3412
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
3413
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3414
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3415
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3416
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3417
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3418
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3419
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3420
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3422
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3423
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3424
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3425
|
+
Redirected to http://example.org
|
3426
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3427
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
3428
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3429
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3430
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3431
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3432
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3433
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3434
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3435
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3436
|
+
Processing by Gamification::RewardsController#create as HTML
|
3437
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
3438
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3439
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3440
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3441
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3442
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3443
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3444
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3445
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
3446
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3447
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3448
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3450
|
+
Redirected to http://example.org
|
3451
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3452
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3454
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3455
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3456
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3458
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3461
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3462
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3463
|
+
Processing by Gamification::RewardsController#create as HTML
|
3464
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
3465
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3466
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3467
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3468
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3469
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3470
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3471
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ? [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
3472
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3473
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
3474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3475
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3476
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3478
|
+
Redirected to http://example.org
|
3479
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3480
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
3481
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3483
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3484
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3485
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3486
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3487
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3488
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3489
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3490
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3491
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3492
|
+
Processing by Gamification::RewardsController#create as HTML
|
3493
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
3494
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3495
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3496
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3497
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3498
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3499
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3500
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ?[0m [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
3501
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3502
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3503
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3504
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3505
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3506
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3507
|
+
Redirected to http://example.org
|
3508
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3509
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3512
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3515
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3517
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3518
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3519
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3520
|
+
Processing by Gamification::RewardsController#create as HTML
|
3521
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
3522
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3523
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3524
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3525
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3526
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
3527
|
+
Completed 403 Forbidden in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
3528
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
3529
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3530
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3531
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3532
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3533
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3534
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3535
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3536
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3538
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3540
|
+
Processing by Gamification::RewardsController#create as HTML
|
3541
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
3542
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3543
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3544
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3545
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3546
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
3547
|
+
Completed 403 Forbidden in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
3548
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3551
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3552
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3554
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
3555
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3557
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3558
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3559
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3560
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "gamification_rewards" SET "updated_at" = '2016-02-25 09:08:25.543048', "seen_at" = '2016-02-25 09:08:25.543048' WHERE "gamification_rewards"."id" = 1[0m
|
3561
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3562
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3563
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3565
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 100], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3568
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3569
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3570
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3571
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3572
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["description", "Eum occaecati et facilis dicta tempora blanditiis totam."], ["goal_id", 1], ["image", nil], ["name", "nesciunt"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3574
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
3575
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (0.0ms)
|
3576
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (0.0ms)
|
3577
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3579
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3580
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 100], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3581
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3582
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3583
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3584
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3585
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3586
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3587
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["description", "Eum occaecati et facilis dicta tempora blanditiis totam."], ["goal_id", 1], ["image", nil], ["name", "nesciunt"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3588
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3589
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
3590
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (0.0ms)
|
3591
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (0.0ms)
|
3592
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3594
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3595
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 100], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3596
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3597
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3598
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3599
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3600
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3601
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3602
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["description", "Eum occaecati et facilis dicta tempora blanditiis totam."], ["goal_id", 1], ["image", nil], ["name", "nesciunt"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3603
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3604
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
3605
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (0.0ms)
|
3606
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (0.0ms)
|
3607
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3610
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3613
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["description", "Eum occaecati et facilis dicta tempora blanditiis totam."], ["image", nil], ["name", "nesciunt"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3614
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3615
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3616
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3617
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "gamification_medals" SET "goal_id" = ? WHERE "gamification_medals"."id" = 1 [["goal_id", 1]]
|
3618
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3619
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3620
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3621
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3624
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3625
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3627
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
3628
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 2], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3629
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3630
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3631
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)
|
3632
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)[0m
|
3633
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3635
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3636
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3638
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3639
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3640
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3642
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3645
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3646
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3647
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3648
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3649
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3650
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals"[0m
|
3651
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
3652
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 2]]
|
3653
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3655
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3656
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3657
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3659
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3660
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3661
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
3662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3663
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3664
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3666
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3667
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3668
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3669
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3670
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3672
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3674
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3675
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3676
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3678
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3679
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3681
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3682
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3683
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3684
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3685
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3686
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3688
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3690
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3692
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3693
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3694
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3695
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals"
|
3696
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3697
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 2]]
|
3698
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3701
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3702
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3703
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3704
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3707
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3708
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3710
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3711
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3712
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3714
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:08:25.543048"], ["points", 1], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3715
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3717
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3719
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
3720
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3723
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:08:25.543048"], ["updated_at", "2016-02-25 09:08:25.543048"]]
|
3724
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3725
|
+
Processing by ArticlesController#show as HTML
|
3726
|
+
Parameters: {"id"=>"1"}
|
3727
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3728
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
3729
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3730
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3731
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3732
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3733
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3736
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.040488"], ["updated_at", "2016-02-25 09:11:14.040488"]]
|
3737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3739
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.050358"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:14.050358"]]
|
3740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3742
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.052975"], ["updated_at", "2016-02-25 09:11:14.052975"]]
|
3743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3744
|
+
Processing by Gamification::RewardsController#create as HTML
|
3745
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
3746
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3747
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3748
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3749
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3750
|
+
Rendered text template (0.0ms)
|
3751
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
3752
|
+
Completed 403 Forbidden in 11ms (Views: 5.7ms | ActiveRecord: 0.4ms)
|
3753
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
3754
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
3755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3756
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3757
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.072947"], ["updated_at", "2016-02-25 09:11:14.072947"]]
|
3758
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3760
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.074541"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:14.074541"]]
|
3761
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3762
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3763
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.075883"], ["updated_at", "2016-02-25 09:11:14.075883"]]
|
3764
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3765
|
+
Processing by Gamification::RewardsController#create as HTML
|
3766
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
3767
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3768
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3769
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3770
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3771
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
3772
|
+
Completed 403 Forbidden in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
3773
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3775
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3776
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.083424"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.083424"]]
|
3777
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3778
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3779
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.084648"], ["updated_at", "2016-02-25 09:11:14.084648"]]
|
3780
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3781
|
+
Processing by Gamification::RewardsController#create as HTML
|
3782
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
3783
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3784
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3785
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3786
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3787
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3788
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3789
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3790
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
3791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3792
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3793
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.106456"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.106456"]]
|
3794
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3795
|
+
Redirected to http://example.org
|
3796
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.6ms)
|
3797
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
3798
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3800
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3801
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.110866"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.110866"]]
|
3802
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3804
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.112272"], ["updated_at", "2016-02-25 09:11:14.112272"]]
|
3805
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3806
|
+
Processing by Gamification::RewardsController#create as HTML
|
3807
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
3808
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3809
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3810
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3811
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3812
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
3813
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
3814
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3815
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3816
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3817
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3818
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.119181"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.119181"]]
|
3819
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3820
|
+
Redirected to http://example.org
|
3821
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
3822
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3824
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3825
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.122887"], ["updated_at", "2016-02-25 09:11:14.122887"]]
|
3826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3827
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3828
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.124292"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:14.124292"]]
|
3829
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3830
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3831
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.125932"], ["updated_at", "2016-02-25 09:11:14.125932"]]
|
3832
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3833
|
+
Processing by Gamification::RewardsController#create as HTML
|
3834
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
3835
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3836
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3837
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3838
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3839
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3840
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3841
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ?[0m [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
3842
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3843
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
3844
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3845
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3846
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.136228"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.136228"]]
|
3847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3848
|
+
Redirected to http://example.org
|
3849
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
3850
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
3851
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3853
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3854
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.140459"], ["updated_at", "2016-02-25 09:11:14.140459"]]
|
3855
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3856
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3857
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.142141"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:14.142141"]]
|
3858
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3859
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3860
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.143658"], ["updated_at", "2016-02-25 09:11:14.143658"]]
|
3861
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3862
|
+
Processing by Gamification::RewardsController#create as HTML
|
3863
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
3864
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3865
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3866
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3867
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3868
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
3869
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
3870
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ? [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
3871
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3872
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
3873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3874
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3875
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.160036"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.160036"]]
|
3876
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3877
|
+
Redirected to http://example.org
|
3878
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.6ms)
|
3879
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3882
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.165181"], ["updated_at", "2016-02-25 09:11:14.165181"]]
|
3883
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3884
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3885
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
3886
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "gamification_rewards" ("created_at", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.167877"], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.167877"]]
|
3887
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3888
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3889
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3890
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3891
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "gamification_rewards" SET "updated_at" = '2016-02-25 09:11:14.171286', "seen_at" = '2016-02-25 09:11:14.171286' WHERE "gamification_rewards"."id" = 1[0m
|
3892
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3893
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3894
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3895
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3896
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.174418"], ["updated_at", "2016-02-25 09:11:14.174418"]]
|
3897
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3898
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3899
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.180276"], ["description", "Est molestiae quisquam et nostrum."], ["image", nil], ["name", "perspiciatis"], ["updated_at", "2016-02-25 09:11:14.180276"]]
|
3900
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3901
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3902
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.183726"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.183726"]]
|
3903
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "gamification_medals" SET "goal_id" = ?, "updated_at" = ? WHERE "gamification_medals"."id" = 1[0m [["goal_id", 1], ["updated_at", "2016-02-25 09:11:14.184318"]]
|
3904
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3905
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3906
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3907
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.187606"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.187606"]]
|
3908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3910
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.189159"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.189159"]]
|
3911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3912
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3913
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
3914
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.191069"], ["goal_id", 2], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.191069"]]
|
3915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3916
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3917
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)[0m
|
3918
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)
|
3919
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3920
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)
|
3921
|
+
[1m[36mGamification::Medal Load (0.1ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)[0m
|
3922
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3924
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3925
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.200707"], ["updated_at", "2016-02-25 09:11:14.200707"]]
|
3926
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3927
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
3928
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3930
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3931
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.205186"], ["updated_at", "2016-02-25 09:11:14.205186"]]
|
3932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3933
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3934
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.206351"], ["updated_at", "2016-02-25 09:11:14.206351"]]
|
3935
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3936
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3937
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3938
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3939
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.212244"], ["points", 100], ["updated_at", "2016-02-25 09:11:14.212244"]]
|
3940
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3941
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3942
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3943
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.214036"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:14.214036"]]
|
3944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3946
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.215380"], ["description", "Est molestiae quisquam et nostrum."], ["goal_id", 1], ["image", nil], ["name", "perspiciatis"], ["updated_at", "2016-02-25 09:11:14.215380"]]
|
3947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3948
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
3949
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.5ms)
|
3950
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (6.4ms)
|
3951
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3952
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3953
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3954
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.232960"], ["points", 100], ["updated_at", "2016-02-25 09:11:14.232960"]]
|
3955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3957
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3958
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.235555"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:14.235555"]]
|
3959
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3960
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3961
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.237510"], ["description", "Est molestiae quisquam et nostrum."], ["goal_id", 1], ["image", nil], ["name", "perspiciatis"], ["updated_at", "2016-02-25 09:11:14.237510"]]
|
3962
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3963
|
+
[1m[36mGamification::Medal Load (0.1ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
3964
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.2ms)
|
3965
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (4.6ms)
|
3966
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
3967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3968
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3969
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.249612"], ["points", 100], ["updated_at", "2016-02-25 09:11:14.249612"]]
|
3970
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3971
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3972
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
3973
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.251655"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:14.251655"]]
|
3974
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3975
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3976
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.253503"], ["description", "Est molestiae quisquam et nostrum."], ["goal_id", 1], ["image", nil], ["name", "perspiciatis"], ["updated_at", "2016-02-25 09:11:14.253503"]]
|
3977
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3978
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
3979
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.0ms)
|
3980
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (4.5ms)
|
3981
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3982
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3983
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3984
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.265579"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.265579"]]
|
3985
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3987
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.266823"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.266823"]]
|
3988
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3990
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:14.268264"], ["description", "Est molestiae quisquam et nostrum."], ["goal_id", 1], ["image", nil], ["name", "perspiciatis"], ["updated_at", "2016-02-25 09:11:14.268264"]]
|
3991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3993
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
3994
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.269733"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:14.269733"]]
|
3995
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3997
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
3998
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.270931"], ["goal_id", 2], ["updated_at", "2016-02-25 09:11:14.270931"]]
|
3999
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4000
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards"
|
4001
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4002
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
4003
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 2]]
|
4004
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 2]]
|
4005
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
4006
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4007
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4008
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4009
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.275977"], ["seen_at", "2016-02-23 09:11:14.274766"], ["updated_at", "2016-02-25 09:11:14.275977"]]
|
4010
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4011
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE ("gamification_rewards"."seen_at" IS NOT NULL)[0m
|
4012
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4013
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4014
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4015
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.279668"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.279668"]]
|
4016
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4017
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4018
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.280937"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.280937"]]
|
4019
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4021
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.282478"], ["description", "Est molestiae quisquam et nostrum."], ["goal_id", 1], ["image", nil], ["name", "perspiciatis"], ["updated_at", "2016-02-25 09:11:14.282478"]]
|
4022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4024
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4025
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.284106"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:14.284106"]]
|
4026
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4027
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4028
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
4029
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.285508"], ["goal_id", 2], ["updated_at", "2016-02-25 09:11:14.285508"]]
|
4030
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4031
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards"[0m
|
4032
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4033
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
4034
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 2]]
|
4035
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 2]]
|
4036
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
4037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4038
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4039
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
4040
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.291013"], ["updated_at", "2016-02-25 09:11:14.291013"]]
|
4041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4042
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4043
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4044
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4045
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
4046
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.293996"], ["seen_at", "2016-02-23 09:11:14.293026"], ["updated_at", "2016-02-25 09:11:14.293996"]]
|
4047
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4048
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4050
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4052
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4053
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4055
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
4056
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4058
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."seen_at" IS NULL
|
4059
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4060
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4061
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4062
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4063
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4064
|
+
Processing by ArticlesController#show as HTML
|
4065
|
+
Parameters: {"id"=>"1"}
|
4066
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4067
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
4068
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4071
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4072
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4073
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4074
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4075
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4076
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4077
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4078
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4079
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4080
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4081
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4084
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4086
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4087
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4089
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4090
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4091
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4093
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4094
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4095
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4096
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4099
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4101
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals"
|
4102
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4103
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 2]]
|
4104
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4106
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4107
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4108
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4109
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4110
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4111
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4112
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4113
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4114
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4115
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4116
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4117
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4118
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4119
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4120
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals"[0m
|
4121
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4122
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 2]]
|
4123
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4126
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4127
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4128
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4129
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4131
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4132
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4133
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4134
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4136
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4137
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4139
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:14.295743"], ["points", 1], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4140
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4141
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4142
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4143
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4144
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4145
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4146
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:14.295743"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:14.295743"]]
|
4147
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4148
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4149
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4150
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4151
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4152
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.800572"], ["points", 100], ["updated_at", "2016-02-25 09:11:29.800572"]]
|
4153
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4154
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4155
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4156
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.814505"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:29.814505"]]
|
4157
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4159
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.821383"], ["description", "Dicta quos labore et voluptatem nesciunt dolor vero."], ["goal_id", 1], ["image", nil], ["name", "repudiandae"], ["updated_at", "2016-02-25 09:11:29.821383"]]
|
4160
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4161
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
4162
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (5.5ms)
|
4163
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (9.5ms)
|
4164
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
4165
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4166
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4167
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:29.842043"], ["points", 100], ["updated_at", "2016-02-25 09:11:29.842043"]]
|
4168
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4169
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4170
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4171
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:29.844731"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:29.844731"]]
|
4172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4174
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.846650"], ["description", "Dicta quos labore et voluptatem nesciunt dolor vero."], ["goal_id", 1], ["image", nil], ["name", "repudiandae"], ["updated_at", "2016-02-25 09:11:29.846650"]]
|
4175
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4176
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
4177
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.0ms)
|
4178
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (4.4ms)
|
4179
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4181
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4182
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.857796"], ["points", 100], ["updated_at", "2016-02-25 09:11:29.857796"]]
|
4183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4184
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4185
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4186
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.859497"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:29.859497"]]
|
4187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4189
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.860764"], ["description", "Dicta quos labore et voluptatem nesciunt dolor vero."], ["goal_id", 1], ["image", nil], ["name", "repudiandae"], ["updated_at", "2016-02-25 09:11:29.860764"]]
|
4190
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4191
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
4192
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.0ms)
|
4193
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (4.3ms)
|
4194
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
4195
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4197
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:29.871369"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.871369"]]
|
4198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4199
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4200
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:29.873099"], ["updated_at", "2016-02-25 09:11:29.873099"]]
|
4201
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4202
|
+
Processing by Gamification::RewardsController#create as HTML
|
4203
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
4204
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4205
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4206
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4207
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4208
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4209
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4210
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4211
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4212
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4213
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4214
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.892029"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.892029"]]
|
4215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4216
|
+
Redirected to http://example.org
|
4217
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.7ms)
|
4218
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
4219
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
4220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4221
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4222
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.896619"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.896619"]]
|
4223
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4225
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.897683"], ["updated_at", "2016-02-25 09:11:29.897683"]]
|
4226
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4227
|
+
Processing by Gamification::RewardsController#create as HTML
|
4228
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
4229
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4230
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4231
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4232
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4233
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4234
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4235
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4236
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4237
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4238
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4239
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.905018"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.905018"]]
|
4240
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4241
|
+
Redirected to http://example.org
|
4242
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
4243
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
4244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4246
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:29.909936"], ["updated_at", "2016-02-25 09:11:29.909936"]]
|
4247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4248
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4249
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.913071"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:29.913071"]]
|
4250
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4251
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4252
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:29.914444"], ["updated_at", "2016-02-25 09:11:29.914444"]]
|
4253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4254
|
+
Processing by Gamification::RewardsController#create as HTML
|
4255
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
4256
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4257
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4258
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4259
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4260
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4261
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4262
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ?[0m [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
4263
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4264
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4266
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4267
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.929713"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.929713"]]
|
4268
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4269
|
+
Redirected to http://example.org
|
4270
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.7ms)
|
4271
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
4272
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
4273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4275
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.933358"], ["updated_at", "2016-02-25 09:11:29.933358"]]
|
4276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4278
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.934708"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:29.934708"]]
|
4279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4281
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.935727"], ["updated_at", "2016-02-25 09:11:29.935727"]]
|
4282
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4283
|
+
Processing by Gamification::RewardsController#create as HTML
|
4284
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
4285
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4286
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4287
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4288
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4289
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4290
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4291
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ? [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
4292
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4293
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4294
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4295
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.942407"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.942407"]]
|
4297
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4298
|
+
Redirected to http://example.org
|
4299
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
4300
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
4301
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4303
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.946212"], ["updated_at", "2016-02-25 09:11:29.946212"]]
|
4304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4306
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.947604"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:29.947604"]]
|
4307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.949086"], ["updated_at", "2016-02-25 09:11:29.949086"]]
|
4310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4311
|
+
Processing by Gamification::RewardsController#create as HTML
|
4312
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
4313
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4314
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4315
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4316
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4317
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
4318
|
+
Completed 403 Forbidden in 5ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
4319
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
4320
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
4321
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4323
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.958665"], ["updated_at", "2016-02-25 09:11:29.958665"]]
|
4324
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4325
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4326
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.959886"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:11:29.959886"]]
|
4327
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4329
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.960926"], ["updated_at", "2016-02-25 09:11:29.960926"]]
|
4330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4331
|
+
Processing by Gamification::RewardsController#create as HTML
|
4332
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
4333
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4334
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4335
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4336
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4337
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
4338
|
+
Completed 403 Forbidden in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
4339
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4342
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.967310"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.967310"]]
|
4343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4344
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4345
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:29.968589"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.968589"]]
|
4346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4347
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4348
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:29.969552"], ["updated_at", "2016-02-25 09:11:29.969552"]]
|
4349
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4350
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4352
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.971441"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.971441"]]
|
4354
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4355
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals"
|
4356
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4357
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 2]]
|
4358
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
4359
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4361
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:29.975446"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.975446"]]
|
4362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4364
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:29.976522"], ["updated_at", "2016-02-25 09:11:29.976522"]]
|
4365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4367
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4368
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.978166"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.978166"]]
|
4369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4370
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4371
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4372
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4373
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4374
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.981760"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.981760"]]
|
4375
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4376
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4377
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.983386"], ["updated_at", "2016-02-25 09:11:29.983386"]]
|
4378
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4379
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4380
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4382
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4383
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:29.987518"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.987518"]]
|
4384
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4386
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:29.989169"], ["updated_at", "2016-02-25 09:11:29.989169"]]
|
4387
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4388
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4389
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4390
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4391
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.991584"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.991584"]]
|
4392
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4393
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4394
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4396
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:29.994753"], ["points", 1], ["updated_at", "2016-02-25 09:11:29.994753"]]
|
4397
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4398
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4399
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:29.996085"], ["updated_at", "2016-02-25 09:11:29.996085"]]
|
4400
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4402
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4403
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:29.998080"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:29.998080"]]
|
4404
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4405
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4406
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4409
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:30.002072"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.002072"]]
|
4410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4411
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4412
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.003212"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.003212"]]
|
4413
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4414
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4415
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:30.005545"], ["updated_at", "2016-02-25 09:11:30.005545"]]
|
4416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4417
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals"
|
4418
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4419
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 2]]
|
4420
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4421
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4423
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:30.010002"], ["updated_at", "2016-02-25 09:11:30.010002"]]
|
4424
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4425
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4426
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.011386"], ["description", "Dicta quos labore et voluptatem nesciunt dolor vero."], ["image", nil], ["name", "repudiandae"], ["updated_at", "2016-02-25 09:11:30.011386"]]
|
4427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4428
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4429
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:30.012658"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.012658"]]
|
4430
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "gamification_medals" SET "goal_id" = ?, "updated_at" = ? WHERE "gamification_medals"."id" = 1[0m [["goal_id", 1], ["updated_at", "2016-02-25 09:11:30.013153"]]
|
4431
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4432
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4433
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4434
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.015106"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:30.015106"]]
|
4435
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4436
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4437
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:30.016139"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.016139"]]
|
4438
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4440
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
4441
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:11:30.017364"], ["goal_id", 2], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:30.017364"]]
|
4442
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4443
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4444
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)[0m
|
4445
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)
|
4446
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4447
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)
|
4448
|
+
[1m[36mGamification::Medal Load (0.1ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)[0m
|
4449
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4450
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4451
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4452
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:30.025950"], ["updated_at", "2016-02-25 09:11:30.025950"]]
|
4453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4454
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4455
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4458
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:30.029673"], ["updated_at", "2016-02-25 09:11:30.029673"]]
|
4459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4461
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4462
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.031513"], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:11:30.031513"]]
|
4463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4464
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4465
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4466
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4467
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "gamification_rewards" SET "updated_at" = '2016-02-25 09:11:30.034016', "seen_at" = '2016-02-25 09:11:30.034016' WHERE "gamification_rewards"."id" = 1
|
4468
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4469
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4470
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4472
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:30.037750"], ["updated_at", "2016-02-25 09:11:30.037750"]]
|
4473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4474
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4475
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:11:30.039227"], ["updated_at", "2016-02-25 09:11:30.039227"]]
|
4476
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4477
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
4478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4479
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4480
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:30.044865"], ["updated_at", "2016-02-25 09:11:30.044865"]]
|
4481
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4482
|
+
Processing by ArticlesController#show as HTML
|
4483
|
+
Parameters: {"id"=>"1"}
|
4484
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4485
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
4486
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4487
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4488
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4489
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.053423"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.053423"]]
|
4490
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4492
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:30.054710"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.054710"]]
|
4493
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4494
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4495
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.056276"], ["description", "Dicta quos labore et voluptatem nesciunt dolor vero."], ["goal_id", 1], ["image", nil], ["name", "repudiandae"], ["updated_at", "2016-02-25 09:11:30.056276"]]
|
4496
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4497
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4498
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4499
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.057835"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:30.057835"]]
|
4500
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4502
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
4503
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.059078"], ["goal_id", 2], ["updated_at", "2016-02-25 09:11:30.059078"]]
|
4504
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4505
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards"[0m
|
4506
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4507
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
4508
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 2]]
|
4509
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 2]]
|
4510
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4511
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4512
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4514
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4515
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.062836"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4516
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4517
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4518
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:30.062836"], ["points", 1], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4519
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4520
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4521
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.062836"], ["description", "Dicta quos labore et voluptatem nesciunt dolor vero."], ["goal_id", 1], ["image", nil], ["name", "repudiandae"], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4522
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4523
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4524
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4525
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.062836"], ["goal_id", 1], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4526
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4527
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4528
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
4529
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.062836"], ["goal_id", 2], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4530
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4531
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards"[0m
|
4532
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4533
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
4534
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 2]]
|
4535
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 2]]
|
4536
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4537
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4538
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4539
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
4540
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:11:30.062836"], ["seen_at", "2016-02-23 09:11:30.062836"], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4541
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4542
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE ("gamification_rewards"."seen_at" IS NOT NULL)
|
4543
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4544
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4545
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4546
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4547
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:30.062836"], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4549
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4550
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4551
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4552
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4553
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:11:30.062836"], ["seen_at", "2016-02-23 09:11:30.062836"], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4554
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4555
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4556
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4557
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4558
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4559
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4560
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4561
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:11:30.062836"], ["updated_at", "2016-02-25 09:11:30.062836"]]
|
4562
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4563
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."seen_at" IS NULL[0m
|
4564
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4565
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4566
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4567
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4568
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4569
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4570
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4571
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.136037"], ["updated_at", "2016-02-25 09:13:55.136037"]]
|
4572
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4573
|
+
Processing by ArticlesController#show as HTML
|
4574
|
+
Parameters: {"id"=>"1"}
|
4575
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4576
|
+
Rendered articles/show.html.erb within layouts/application (0.2ms)
|
4577
|
+
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.1ms)
|
4578
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
4579
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4581
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.158595"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.158595"]]
|
4582
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4583
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4584
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.160507"], ["updated_at", "2016-02-25 09:13:55.160507"]]
|
4585
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4586
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4587
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4588
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.172694"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.172694"]]
|
4589
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4590
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4591
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
4592
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4593
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4594
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.184328"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.184328"]]
|
4595
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4597
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.186043"], ["updated_at", "2016-02-25 09:13:55.186043"]]
|
4598
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4599
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4600
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4602
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4603
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.190354"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.190354"]]
|
4604
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4605
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4606
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.191741"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.191741"]]
|
4607
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4608
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4609
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.193604"], ["updated_at", "2016-02-25 09:13:55.193604"]]
|
4610
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4611
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4612
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4613
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4614
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.196005"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.196005"]]
|
4615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4616
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals"
|
4617
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4618
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 2]]
|
4619
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4622
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.200329"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.200329"]]
|
4623
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4624
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4625
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.201459"], ["updated_at", "2016-02-25 09:13:55.201459"]]
|
4626
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4627
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4628
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4629
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4630
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.203388"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.203388"]]
|
4631
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4632
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
4633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4634
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4635
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.205951"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.205951"]]
|
4636
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4637
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4638
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.206835"], ["updated_at", "2016-02-25 09:13:55.206835"]]
|
4639
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4640
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4641
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4642
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.208344"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.208344"]]
|
4643
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4644
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4645
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
4646
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4648
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.213000"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.213000"]]
|
4649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4650
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4651
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.214263"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.214263"]]
|
4652
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4653
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4654
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.215315"], ["updated_at", "2016-02-25 09:13:55.215315"]]
|
4655
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4656
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals"
|
4657
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4658
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 2]]
|
4659
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
4660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4661
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4662
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4663
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.219530"], ["updated_at", "2016-02-25 09:13:55.219530"]]
|
4664
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4665
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4667
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4668
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4669
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.222737"], ["seen_at", "2016-02-23 09:13:55.221615"], ["updated_at", "2016-02-25 09:13:55.222737"]]
|
4670
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4671
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4673
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4675
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4676
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
4677
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["seen_at", "2016-02-23 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4678
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4679
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE ("gamification_rewards"."seen_at" IS NOT NULL)[0m
|
4680
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4681
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4682
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4683
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
4684
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4685
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4686
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."seen_at" IS NULL
|
4687
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4688
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4689
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4690
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4691
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4692
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4693
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4694
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4695
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4696
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4697
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4698
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["description", "Laboriosam in expedita impedit est commodi vel a."], ["goal_id", 1], ["image", nil], ["name", "accusantium"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4699
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4700
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4701
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4702
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4703
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4704
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4705
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
4706
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 2], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4707
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4708
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards"
|
4709
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4710
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
4711
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 2]]
|
4712
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 2]]
|
4713
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4715
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4716
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4717
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4719
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4722
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["description", "Laboriosam in expedita impedit est commodi vel a."], ["goal_id", 1], ["image", nil], ["name", "accusantium"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4723
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4724
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4725
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4726
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4727
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4728
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4729
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
4730
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 2], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4731
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4732
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards"
|
4733
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4734
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
4735
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 2]]
|
4736
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 2]]
|
4737
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4738
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4740
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4741
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4742
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4743
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4744
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4745
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4747
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4748
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4750
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4751
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
4752
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4753
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4754
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4755
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4756
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4757
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "gamification_rewards" SET "updated_at" = '2016-02-25 09:13:55.224732', "seen_at" = '2016-02-25 09:13:55.224732' WHERE "gamification_rewards"."id" = 1[0m
|
4758
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4759
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4760
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4761
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4762
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4763
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4764
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4765
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4766
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4768
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4771
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4774
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4775
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4777
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4778
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1)
|
4779
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1)[0m
|
4780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4781
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["description", "Laboriosam in expedita impedit est commodi vel a."], ["image", nil], ["name", "accusantium"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4783
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4784
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4785
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4786
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4787
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4789
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["description", "Laboriosam in expedita impedit est commodi vel a."], ["image", nil], ["name", "accusantium"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4790
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4792
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4793
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "gamification_medals" SET "goal_id" = ? WHERE "gamification_medals"."id" = 1[0m [["goal_id", 1]]
|
4794
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4796
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4797
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4798
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4799
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4800
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4801
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4802
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4803
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
4804
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 2], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4805
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4806
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? [["rewardable_id", 1], ["rewardable_type", "User"]]
|
4807
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)[0m
|
4808
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)
|
4809
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4811
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4812
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4813
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4814
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4815
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4816
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4817
|
+
Processing by Gamification::RewardsController#create as HTML
|
4818
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
4819
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4820
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4821
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4822
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4823
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4824
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4825
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4826
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4827
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4828
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4829
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4830
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4831
|
+
Redirected to http://example.org
|
4832
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
4833
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
4834
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4837
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4838
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4839
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4840
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4841
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4842
|
+
Processing by Gamification::RewardsController#create as HTML
|
4843
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
4844
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4845
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4846
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4847
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4848
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
4849
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
4850
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4851
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4852
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4853
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4854
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4855
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4856
|
+
Redirected to http://example.org
|
4857
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
4858
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4859
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4860
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4861
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4862
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4864
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4865
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4867
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4868
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4869
|
+
Processing by Gamification::RewardsController#create as HTML
|
4870
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
4871
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4872
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4873
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4874
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4875
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4876
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4877
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ?[0m [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
4878
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4879
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
4880
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4881
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4882
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4883
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4884
|
+
Redirected to http://example.org
|
4885
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
4886
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
4887
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4889
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4890
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4892
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4893
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4894
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4895
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4896
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4897
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4898
|
+
Processing by Gamification::RewardsController#create as HTML
|
4899
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
4900
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4901
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4902
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4903
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4904
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4905
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4906
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ? [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
4907
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4908
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
4909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4910
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4911
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4912
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4913
|
+
Redirected to http://example.org
|
4914
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
4915
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4916
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4917
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4918
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4919
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4921
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4922
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4923
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4924
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4925
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4926
|
+
Processing by Gamification::RewardsController#create as HTML
|
4927
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
4928
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4929
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4930
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4931
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4932
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
4933
|
+
Completed 403 Forbidden in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
4934
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
4935
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4937
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4938
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4939
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4940
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4941
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4942
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4943
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4944
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4945
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4946
|
+
Processing by Gamification::RewardsController#create as HTML
|
4947
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
4948
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
4949
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
4950
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
4951
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
4952
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
4953
|
+
Completed 403 Forbidden in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
4954
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4957
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 100], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4960
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4961
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4962
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4963
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4964
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["description", "Laboriosam in expedita impedit est commodi vel a."], ["goal_id", 1], ["image", nil], ["name", "accusantium"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4965
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4966
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
4967
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (0.0ms)
|
4968
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (0.0ms)
|
4969
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4970
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4971
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4972
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["points", 100], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4973
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4974
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4975
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
4976
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4977
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4978
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4979
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["description", "Laboriosam in expedita impedit est commodi vel a."], ["goal_id", 1], ["image", nil], ["name", "accusantium"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4980
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4981
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
4982
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (0.0ms)
|
4983
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (0.0ms)
|
4984
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4987
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["points", 100], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4988
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4990
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
4991
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:13:55.224732"], ["goal_id", 1], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4992
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4994
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:13:55.224732"], ["description", "Laboriosam in expedita impedit est commodi vel a."], ["goal_id", 1], ["image", nil], ["name", "accusantium"], ["updated_at", "2016-02-25 09:13:55.224732"]]
|
4995
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4996
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
4997
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (0.0ms)
|
4998
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (0.0ms)
|
4999
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5001
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5002
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5003
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5004
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
5005
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5006
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.839355"], ["points", 100], ["updated_at", "2016-02-25 09:14:03.839355"]]
|
5007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5009
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5010
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.852522"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:03.852522"]]
|
5011
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5013
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:03.861634"], ["description", "Rem aliquam eos pariatur omnis sed."], ["goal_id", 1], ["image", nil], ["name", "quisquam"], ["updated_at", "2016-02-25 09:14:03.861634"]]
|
5014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5015
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
5016
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (5.7ms)
|
5017
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (10.4ms)
|
5018
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
5019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5020
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5021
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:03.883778"], ["points", 100], ["updated_at", "2016-02-25 09:14:03.883778"]]
|
5022
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5023
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5024
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5025
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:03.886218"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:03.886218"]]
|
5026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5028
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.888135"], ["description", "Rem aliquam eos pariatur omnis sed."], ["goal_id", 1], ["image", nil], ["name", "quisquam"], ["updated_at", "2016-02-25 09:14:03.888135"]]
|
5029
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5030
|
+
[1m[36mGamification::Medal Load (0.1ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
5031
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.3ms)
|
5032
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (6.0ms)
|
5033
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
5034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5035
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5036
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.903034"], ["points", 100], ["updated_at", "2016-02-25 09:14:03.903034"]]
|
5037
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5038
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5039
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5040
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.905114"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:03.905114"]]
|
5041
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5042
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5043
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:03.906963"], ["description", "Rem aliquam eos pariatur omnis sed."], ["goal_id", 1], ["image", nil], ["name", "quisquam"], ["updated_at", "2016-02-25 09:14:03.906963"]]
|
5044
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5045
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
5046
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.0ms)
|
5047
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (4.9ms)
|
5048
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
5049
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5050
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5051
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:03.918592"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.918592"]]
|
5052
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5053
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5054
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.919779"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.919779"]]
|
5055
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5057
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:03.921790"], ["updated_at", "2016-02-25 09:14:03.921790"]]
|
5058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5059
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5060
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5061
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.932197"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:03.932197"]]
|
5063
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5064
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals"[0m
|
5065
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5066
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 2]]
|
5067
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
5068
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5070
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.937375"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.937375"]]
|
5071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5072
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5073
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:03.938655"], ["updated_at", "2016-02-25 09:14:03.938655"]]
|
5074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5076
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5077
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:03.940488"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:03.940488"]]
|
5078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5079
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5080
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
5081
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5083
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:03.944795"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.944795"]]
|
5084
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5086
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:03.946415"], ["updated_at", "2016-02-25 09:14:03.946415"]]
|
5087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5088
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5090
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5091
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:03.949058"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:03.949058"]]
|
5092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5093
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
5094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5095
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5096
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.952321"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.952321"]]
|
5097
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5099
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:03.953772"], ["updated_at", "2016-02-25 09:14:03.953772"]]
|
5100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5101
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5102
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
5103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5104
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5105
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:03.957772"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.957772"]]
|
5106
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5108
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:03.959064"], ["updated_at", "2016-02-25 09:14:03.959064"]]
|
5109
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5110
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5111
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5112
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.960959"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:03.960959"]]
|
5113
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5114
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5115
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
5116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5117
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5118
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.964871"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.964871"]]
|
5119
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5120
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5121
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:03.966352"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.966352"]]
|
5122
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5124
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:03.968266"], ["updated_at", "2016-02-25 09:14:03.968266"]]
|
5125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5126
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals"[0m
|
5127
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5128
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 2]]
|
5129
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
5130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5132
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:03.973973"], ["updated_at", "2016-02-25 09:14:03.973973"]]
|
5133
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5134
|
+
Processing by ArticlesController#show as HTML
|
5135
|
+
Parameters: {"id"=>"1"}
|
5136
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5137
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)
|
5138
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
5139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5141
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:03.995888"], ["updated_at", "2016-02-25 09:14:03.995888"]]
|
5142
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5143
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5144
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:03.998002"], ["description", "Rem aliquam eos pariatur omnis sed."], ["image", nil], ["name", "quisquam"], ["updated_at", "2016-02-25 09:14:03.998002"]]
|
5145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5146
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5147
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:03.999992"], ["points", 1], ["updated_at", "2016-02-25 09:14:03.999992"]]
|
5148
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "gamification_medals" SET "goal_id" = ?, "updated_at" = ? WHERE "gamification_medals"."id" = 1 [["goal_id", 1], ["updated_at", "2016-02-25 09:14:04.000696"]]
|
5149
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5150
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5151
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5152
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.003244"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.003244"]]
|
5153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5155
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.004766"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.004766"]]
|
5156
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5158
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
5159
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.006535"], ["goal_id", 2], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.006535"]]
|
5160
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5161
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5162
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)
|
5163
|
+
[1m[36mGamification::Medal Load (0.1ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)[0m
|
5164
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
5165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5166
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5167
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:04.016713"], ["updated_at", "2016-02-25 09:14:04.016713"]]
|
5168
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5170
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.018755"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.018755"]]
|
5171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5173
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5174
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.021037"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.021037"]]
|
5175
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5176
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5177
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1)[0m
|
5178
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1)
|
5179
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5180
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.024832"], ["description", "Rem aliquam eos pariatur omnis sed."], ["image", nil], ["name", "quisquam"], ["updated_at", "2016-02-25 09:14:04.024832"]]
|
5181
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5182
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
5183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5184
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:04.028262"], ["updated_at", "2016-02-25 09:14:04.028262"]]
|
5186
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5187
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5188
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5189
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5190
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5192
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5195
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:04.033852"], ["updated_at", "2016-02-25 09:14:04.033852"]]
|
5196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5198
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.035145"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:04.035145"]]
|
5199
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5201
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:04.036204"], ["updated_at", "2016-02-25 09:14:04.036204"]]
|
5202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5203
|
+
Processing by Gamification::RewardsController#create as HTML
|
5204
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
5205
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5206
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5207
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5208
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5209
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
5210
|
+
Completed 403 Forbidden in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms)
|
5211
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
5212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5213
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5214
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.045804"], ["updated_at", "2016-02-25 09:14:04.045804"]]
|
5215
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5216
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5217
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.047371"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:04.047371"]]
|
5218
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5219
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5220
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.048777"], ["updated_at", "2016-02-25 09:14:04.048777"]]
|
5221
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5222
|
+
Processing by Gamification::RewardsController#create as HTML
|
5223
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
5224
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5225
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5226
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5227
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5228
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
5229
|
+
Completed 403 Forbidden in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
5230
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
5231
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
5232
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5233
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5234
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.055259"], ["updated_at", "2016-02-25 09:14:04.055259"]]
|
5235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5236
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5237
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.056474"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:04.056474"]]
|
5238
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5239
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5240
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.057456"], ["updated_at", "2016-02-25 09:14:04.057456"]]
|
5241
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5242
|
+
Processing by Gamification::RewardsController#create as HTML
|
5243
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
5244
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5245
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5246
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5247
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5248
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5249
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5250
|
+
[1m[35mGamification::Goal Load (0.2ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ? [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
5251
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5252
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5253
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5254
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5255
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.067400"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.067400"]]
|
5256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5257
|
+
Redirected to http://example.org
|
5258
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
|
5259
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
5260
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5261
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5262
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.072215"], ["updated_at", "2016-02-25 09:14:04.072215"]]
|
5263
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5264
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5265
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.073905"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:04.073905"]]
|
5266
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5267
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5268
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.075371"], ["updated_at", "2016-02-25 09:14:04.075371"]]
|
5269
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5270
|
+
Processing by Gamification::RewardsController#create as HTML
|
5271
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
5272
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5273
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5274
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5275
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5276
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5277
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5278
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ? [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
5279
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5280
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5282
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5283
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.084121"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.084121"]]
|
5284
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5285
|
+
Redirected to http://example.org
|
5286
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
5287
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
5288
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
5289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5290
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5291
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.088581"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.088581"]]
|
5292
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5293
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5294
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.090474"], ["updated_at", "2016-02-25 09:14:04.090474"]]
|
5295
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5296
|
+
Processing by Gamification::RewardsController#create as HTML
|
5297
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
5298
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5299
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5300
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5301
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5302
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5303
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5304
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5305
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5307
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5308
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.098865"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.098865"]]
|
5309
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5310
|
+
Redirected to http://example.org
|
5311
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
5312
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
5313
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5314
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5315
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.102557"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.102557"]]
|
5316
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5317
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5318
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.104002"], ["updated_at", "2016-02-25 09:14:04.104002"]]
|
5319
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5320
|
+
Processing by Gamification::RewardsController#create as HTML
|
5321
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
5322
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5323
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5324
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5325
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5326
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5327
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5328
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5329
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5330
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5331
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5332
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.114938"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.114938"]]
|
5333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5334
|
+
Redirected to http://example.org
|
5335
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
5336
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
5337
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
5338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5339
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5340
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.120882"], ["updated_at", "2016-02-25 09:14:04.120882"]]
|
5341
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5342
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5343
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:04.122364"], ["updated_at", "2016-02-25 09:14:04.122364"]]
|
5344
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5345
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
5346
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5347
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5348
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.129808"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.129808"]]
|
5349
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5351
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.131345"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.131345"]]
|
5352
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5353
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5354
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.133391"], ["description", "Rem aliquam eos pariatur omnis sed."], ["goal_id", 1], ["image", nil], ["name", "quisquam"], ["updated_at", "2016-02-25 09:14:04.133391"]]
|
5355
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5356
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5357
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5358
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.135302"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:04.135302"]]
|
5359
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5360
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5361
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
5362
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.136941"], ["goal_id", 2], ["updated_at", "2016-02-25 09:14:04.136941"]]
|
5363
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5364
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards"
|
5365
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5366
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
5367
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 2]]
|
5368
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 2]]
|
5369
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
5370
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5371
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5372
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
5373
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:04.142399"], ["updated_at", "2016-02-25 09:14:04.142399"]]
|
5374
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5375
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."seen_at" IS NULL[0m
|
5376
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5378
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5379
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
5380
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.147267"], ["seen_at", "2016-02-23 09:14:04.146105"], ["updated_at", "2016-02-25 09:14:04.147267"]]
|
5381
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5382
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE ("gamification_rewards"."seen_at" IS NOT NULL)
|
5383
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5384
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5385
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5386
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
5387
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.150697"], ["seen_at", "2016-02-23 09:14:04.149821"], ["updated_at", "2016-02-25 09:14:04.150697"]]
|
5388
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5389
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5391
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5392
|
+
[1m[35mGamification::Reward Exists (0.2ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
5393
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:04.153884"], ["updated_at", "2016-02-25 09:14:04.153884"]]
|
5394
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5395
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5396
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5398
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.156618"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.156618"]]
|
5399
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5400
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5401
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:04.157813"], ["points", 1], ["updated_at", "2016-02-25 09:14:04.157813"]]
|
5402
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5403
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5404
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.159275"], ["description", "Rem aliquam eos pariatur omnis sed."], ["goal_id", 1], ["image", nil], ["name", "quisquam"], ["updated_at", "2016-02-25 09:14:04.159275"]]
|
5405
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5406
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5407
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5408
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.161015"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:04.161015"]]
|
5409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5411
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1[0m
|
5412
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:04.162336"], ["goal_id", 2], ["updated_at", "2016-02-25 09:14:04.162336"]]
|
5413
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5414
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards"
|
5415
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5416
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
5417
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 2]]
|
5418
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 2]]
|
5419
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
5420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5421
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5422
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5423
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5425
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5426
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:04.165834"], ["updated_at", "2016-02-25 09:14:04.165834"]]
|
5427
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5428
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5429
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
5430
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-02-25 09:14:04.165834"], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:04.165834"]]
|
5431
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5432
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5433
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5434
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5435
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "gamification_rewards" SET "updated_at" = '2016-02-25 09:14:04.165834', "seen_at" = '2016-02-25 09:14:04.165834' WHERE "gamification_rewards"."id" = 1[0m
|
5436
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5437
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5438
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
5439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5440
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.427674"], ["updated_at", "2016-02-25 09:14:26.427674"]]
|
5441
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5442
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5443
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
5444
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.452537"], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.452537"]]
|
5445
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5446
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5447
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? AND "gamification_rewards"."seen_at" IS NULL [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5448
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5449
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "gamification_rewards" SET "updated_at" = '2016-02-25 09:14:26.464033', "seen_at" = '2016-02-25 09:14:26.464033' WHERE "gamification_rewards"."id" = 1
|
5450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5451
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
5452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5454
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.468191"], ["updated_at", "2016-02-25 09:14:26.468191"]]
|
5455
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5456
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5457
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.470326"], ["updated_at", "2016-02-25 09:14:26.470326"]]
|
5458
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5459
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
5460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5461
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5462
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.482731"], ["points", 100], ["updated_at", "2016-02-25 09:14:26.482731"]]
|
5463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5464
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5465
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5466
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.484818"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:26.484818"]]
|
5467
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5468
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5469
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.490220"], ["description", "Vel repellat aut sit odit doloremque."], ["goal_id", 1], ["image", nil], ["name", "velit"], ["updated_at", "2016-02-25 09:14:26.490220"]]
|
5470
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5471
|
+
[1m[35mGamification::Medal Load (0.1ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
5472
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (4.1ms)
|
5473
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (8.8ms)
|
5474
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
5475
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5477
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.509663"], ["points", 100], ["updated_at", "2016-02-25 09:14:26.509663"]]
|
5478
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5479
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5480
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5481
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.511400"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:26.511400"]]
|
5482
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5483
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5484
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.512729"], ["description", "Vel repellat aut sit odit doloremque."], ["goal_id", 1], ["image", nil], ["name", "velit"], ["updated_at", "2016-02-25 09:14:26.512729"]]
|
5485
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5486
|
+
[1m[36mGamification::Medal Load (0.1ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
5487
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (1.0ms)
|
5488
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (4.2ms)
|
5489
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
5490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5491
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5492
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.523862"], ["points", 100], ["updated_at", "2016-02-25 09:14:26.523862"]]
|
5493
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5494
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5495
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5496
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.525718"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:26.525718"]]
|
5497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5499
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.527096"], ["description", "Vel repellat aut sit odit doloremque."], ["goal_id", 1], ["image", nil], ["name", "velit"], ["updated_at", "2016-02-25 09:14:26.527096"]]
|
5500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5501
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1 [["goal_id", 1]]
|
5502
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_reward.html.erb (0.9ms)
|
5503
|
+
Rendered /Users/petr/r/gamification/app/views/gamification/rewards/_presentation.html.erb (4.1ms)
|
5504
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
5505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5507
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.537221"], ["updated_at", "2016-02-25 09:14:26.537221"]]
|
5508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5509
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5510
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.538371"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:26.538371"]]
|
5511
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5512
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5513
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.539618"], ["updated_at", "2016-02-25 09:14:26.539618"]]
|
5514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5515
|
+
Processing by Gamification::RewardsController#create as HTML
|
5516
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
5517
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5518
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5519
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5520
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5521
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
5522
|
+
Completed 403 Forbidden in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms)
|
5523
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
5524
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
5525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5526
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5527
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.552069"], ["updated_at", "2016-02-25 09:14:26.552069"]]
|
5528
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5530
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.554074"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:26.554074"]]
|
5531
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5532
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5533
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.555532"], ["updated_at", "2016-02-25 09:14:26.555532"]]
|
5534
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5535
|
+
Processing by Gamification::RewardsController#create as HTML
|
5536
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"tampered"}
|
5537
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5538
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5539
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5540
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5541
|
+
Filter chain halted as :verify_checksum rendered or redirected
|
5542
|
+
Completed 403 Forbidden in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
5543
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
5544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5545
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5546
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.563335"], ["updated_at", "2016-02-25 09:14:26.563335"]]
|
5547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5548
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5549
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.564718"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:26.564718"]]
|
5550
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5551
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5552
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.573706"], ["updated_at", "2016-02-25 09:14:26.573706"]]
|
5553
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5554
|
+
Processing by Gamification::RewardsController#create as HTML
|
5555
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
5556
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5557
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5558
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5559
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5560
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5561
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5562
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ?[0m [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
5563
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5564
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5565
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5566
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5567
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.583024"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.583024"]]
|
5568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5569
|
+
Redirected to http://example.org
|
5570
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
5571
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "gamification_rewards"
|
5572
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
5573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5574
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5575
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.587845"], ["updated_at", "2016-02-25 09:14:26.587845"]]
|
5576
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5577
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5578
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "rewarding_id", "rewarding_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.589988"], ["points", 1], ["rewarding_id", 1], ["rewarding_type", "Article"], ["updated_at", "2016-02-25 09:14:26.589988"]]
|
5579
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5580
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5581
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.591632"], ["updated_at", "2016-02-25 09:14:26.591632"]]
|
5582
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5583
|
+
Processing by Gamification::RewardsController#create as HTML
|
5584
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Article", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"3a53e9e27ca5302b15fb06d2f182c4b2"}
|
5585
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5586
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5587
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5588
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5589
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
|
5590
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5591
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."rewarding_id" = ? AND "gamification_goals"."rewarding_type" = ? [["rewarding_id", 1], ["rewarding_type", "Article"]]
|
5592
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5593
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5594
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5595
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5596
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.599901"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.599901"]]
|
5597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5598
|
+
Redirected to http://example.org
|
5599
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
5600
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
5601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5603
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.604172"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.604172"]]
|
5604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5606
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.605807"], ["updated_at", "2016-02-25 09:14:26.605807"]]
|
5607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5608
|
+
Processing by Gamification::RewardsController#create as HTML
|
5609
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
5610
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5611
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5612
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5613
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5614
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5615
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5616
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5617
|
+
[1m[35mGamification::Reward Load (0.1ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5619
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5620
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.613365"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.613365"]]
|
5621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5622
|
+
Redirected to http://example.org
|
5623
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
5624
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "gamification_rewards"[0m
|
5625
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
5626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5627
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5628
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.616813"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.616813"]]
|
5629
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5631
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.617959"], ["updated_at", "2016-02-25 09:14:26.617959"]]
|
5632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5633
|
+
Processing by Gamification::RewardsController#create as HTML
|
5634
|
+
Parameters: {"redirect_url"=>"http://example.org", "reward"=>{"rewarding_type"=>"Gamification::Goal", "rewarding_id"=>"1", "rewardable_type"=>"User", "rewardable_id"=>"1"}, "checksum"=>"10767fc00b345b8c9e0b64d0109095dc"}
|
5635
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5636
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5637
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5638
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5639
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5640
|
+
[1m[36mGamification::Goal Load (0.1ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1[0m [["id", 1]]
|
5641
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5642
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5644
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5645
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.624704"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.624704"]]
|
5646
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5647
|
+
Redirected to http://example.org
|
5648
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
5649
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
5650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5651
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5652
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.630431"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.630431"]]
|
5653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5655
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.631703"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.631703"]]
|
5656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5657
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5658
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.633073"], ["description", "Vel repellat aut sit odit doloremque."], ["goal_id", 1], ["image", nil], ["name", "velit"], ["updated_at", "2016-02-25 09:14:26.633073"]]
|
5659
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5660
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5661
|
+
[1m[35mGamification::Reward Exists (0.1ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5662
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.634595"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:26.634595"]]
|
5663
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5664
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5665
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
5666
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.635788"], ["goal_id", 2], ["updated_at", "2016-02-25 09:14:26.635788"]]
|
5667
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5668
|
+
[1m[36mGamification::Reward Load (0.1ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards"[0m
|
5669
|
+
[1m[35mGamification::Goal Load (0.1ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5670
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
5671
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 2]]
|
5672
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 2]]
|
5673
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
5674
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5676
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
5677
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.640870"], ["updated_at", "2016-02-25 09:14:26.640870"]]
|
5678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5679
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5681
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5682
|
+
[1m[36mGamification::Reward Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
5683
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.644303"], ["seen_at", "2016-02-23 09:14:26.642989"], ["updated_at", "2016-02-25 09:14:26.644303"]]
|
5684
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5685
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5687
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5688
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5689
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5690
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5692
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5693
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5694
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5695
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5696
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5697
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5698
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_medals" ("created_at", "description", "goal_id", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["description", "Vel repellat aut sit odit doloremque."], ["goal_id", 1], ["image", nil], ["name", "velit"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5699
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5701
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5702
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5703
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5704
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5705
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
5706
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 2], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5707
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5708
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards"[0m
|
5709
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 1]]
|
5710
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 1]]
|
5711
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" = ? LIMIT 1 [["id", 2]]
|
5712
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" = ? LIMIT 1[0m [["goal_id", 2]]
|
5713
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5714
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5715
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5716
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1[0m
|
5717
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "seen_at", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["seen_at", "2016-02-23 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5719
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE ("gamification_rewards"."seen_at" IS NOT NULL)
|
5720
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5723
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" IS NULL AND "gamification_rewards"."rewardable_type" IS NULL AND "gamification_rewards"."goal_id" IS NULL) LIMIT 1
|
5724
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5726
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."seen_at" IS NULL[0m
|
5727
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5730
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5731
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5733
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["description", "Vel repellat aut sit odit doloremque."], ["image", nil], ["name", "velit"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5736
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5737
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "gamification_medals" SET "goal_id" = ? WHERE "gamification_medals"."id" = 1 [["goal_id", 1]]
|
5738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5740
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5741
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5742
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5743
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5744
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5745
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5746
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5747
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 2) LIMIT 1
|
5748
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 2], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5749
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5750
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ?[0m [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5751
|
+
[1m[35mGamification::Goal Load (0.0ms)[0m SELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1, 2)
|
5752
|
+
[1m[36mGamification::Medal Load (0.0ms)[0m [1mSELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1, 2)[0m
|
5753
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5755
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5756
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5757
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5758
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5759
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_medals" ("created_at", "description", "image", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["description", "Vel repellat aut sit odit doloremque."], ["image", nil], ["name", "velit"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5760
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5761
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5762
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5763
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "gamification_medals" SET "goal_id" = ? WHERE "gamification_medals"."id" = 1 [["goal_id", 1]]
|
5764
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5765
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5766
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5767
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5768
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5769
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5770
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals" WHERE "gamification_goals"."id" IN (1)[0m
|
5771
|
+
[1m[35mGamification::Medal Load (0.0ms)[0m SELECT "gamification_medals".* FROM "gamification_medals" WHERE "gamification_medals"."goal_id" IN (1)
|
5772
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5773
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5774
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5775
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5777
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."rewardable_id" = ? AND "gamification_rewards"."rewardable_type" = ? [["rewardable_id", 1], ["rewardable_type", "User"]]
|
5778
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5779
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5780
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5781
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5782
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5783
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5784
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5785
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5786
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5788
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5789
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5791
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5792
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5794
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5795
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5796
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5797
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5798
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5799
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5800
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5801
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5802
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5803
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5804
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5805
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5806
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5807
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5808
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5809
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5810
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5811
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5812
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 1]]
|
5813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5814
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5815
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5816
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5817
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5818
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5819
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5820
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5821
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5822
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5823
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5824
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5825
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5826
|
+
[1m[36mGamification::Reward Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1[0m
|
5827
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5829
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5830
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5832
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5833
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5834
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5835
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5836
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5837
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5838
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5839
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5840
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5841
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5842
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5843
|
+
[1m[35mGamification::Reward Exists (0.0ms)[0m SELECT 1 AS one FROM "gamification_rewards" WHERE ("gamification_rewards"."rewardable_id" = 1 AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."goal_id" = 1) LIMIT 1
|
5844
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_rewards" ("created_at", "goal_id", "rewardable_id", "rewardable_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["goal_id", 1], ["rewardable_id", 1], ["rewardable_type", "User"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5845
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5846
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals"[0m
|
5847
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5848
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 2]]
|
5849
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5851
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5852
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5853
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5855
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "gamification_goals" ("created_at", "points", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-02-25 09:14:26.646664"], ["points", 1], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5856
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5858
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5860
|
+
[1m[36mGamification::Goal Load (0.0ms)[0m [1mSELECT "gamification_goals".* FROM "gamification_goals"[0m
|
5861
|
+
[1m[35mGamification::Reward Load (0.0ms)[0m SELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1 [["goal_id", 1]]
|
5862
|
+
[1m[36mGamification::Reward Load (0.0ms)[0m [1mSELECT "gamification_rewards".* FROM "gamification_rewards" WHERE "gamification_rewards"."goal_id" = ? AND "gamification_rewards"."rewardable_type" = 'User' AND "gamification_rewards"."rewardable_id" = 1 LIMIT 1[0m [["goal_id", 2]]
|
5863
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5865
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5866
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "articles" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-02-25 09:14:26.646664"], ["updated_at", "2016-02-25 09:14:26.646664"]]
|
5867
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5868
|
+
Processing by ArticlesController#show as HTML
|
5869
|
+
Parameters: {"id"=>"1"}
|
5870
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
5871
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
5872
|
+
[1m[35m (0.0ms)[0m rollback transaction
|