Competition 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +14 -0
- data/app/assets/javascripts/competition/leaderboard.js +2 -0
- data/app/assets/stylesheets/competition/leaderboard.css +4 -0
- data/app/controllers/competition/leaderboard_controller.rb +10 -0
- data/app/helpers/competition/leaderboard_helper.rb +4 -0
- data/app/models/competition/score.rb +11 -0
- data/app/models/competition/score_entry.rb +7 -0
- data/app/views/competition/index.html.haml +1 -0
- data/app/views/competition/leaderboard/index.html.haml +12 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20120711201029_create_competition_scores.rb +10 -0
- data/db/migrate/20120711201300_create_competition_score_entries.rb +12 -0
- data/lib/competition.rb +65 -0
- data/lib/competition/version.rb +1 -1
- data/test/dummy/app/models/test_case.rb +9 -0
- data/test/dummy/app/models/user.rb +10 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120711203936_create_users.rb +9 -0
- data/test/dummy/db/migrate/20120711204952_create_test_cases.rb +9 -0
- data/test/dummy/db/schema.rb +49 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +692 -0
- data/test/dummy/log/test.log +9 -0
- data/test/dummy/test/fixtures/test_cases.yml +7 -0
- data/test/dummy/test/fixtures/tests.yml +11 -0
- data/test/dummy/test/fixtures/users.yml +7 -0
- data/test/dummy/test/unit/test_case_test.rb +7 -0
- data/test/dummy/test/unit/test_test.rb +7 -0
- data/test/dummy/test/unit/user_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/C7F/620/sprockets%2Fd72b51035cf11619b241599f9a09076e +0 -0
- data/test/dummy/tmp/cache/assets/CAB/DB0/sprockets%2F67b070f1d5449422097b3c1af7f4217e +0 -0
- data/test/dummy/tmp/cache/assets/CAF/720/sprockets%2Fb0d81f2e48f10e8d22533b28e7176806 +0 -0
- data/test/dummy/tmp/cache/assets/CDC/DA0/sprockets%2Fe80a33d3411338f321052f5fcf7bd896 +0 -0
- data/test/dummy/tmp/cache/assets/D05/700/sprockets%2F535e73cb913409c0b47ba6245f14a5ed +0 -0
- data/test/dummy/tmp/cache/assets/D1D/680/sprockets%2F2fc57638d98394335c7ae39f14c1e2eb +0 -0
- data/test/dummy/tmp/cache/assets/D36/080/sprockets%2F5c996fa9faf3897243bf07946f9f248d +0 -0
- data/test/dummy/tmp/cache/assets/D5E/330/sprockets%2F4ca523efcb75015359d024ef5d32bdd0 +0 -0
- data/test/dummy/tmp/cache/assets/D73/6E0/sprockets%2F35c017b1eebfdb836545249bc7f1f39f +0 -0
- data/test/dummy/tmp/cache/assets/DB1/7D0/sprockets%2F56f80a6eb42c2c5b59e5e6dcf73f98e3 +0 -0
- data/test/dummy/tmp/cache/assets/DF2/850/sprockets%2F2d3f4f54dd9dea8303904bcba41b0eee +0 -0
- data/test/dummy/tmp/cache/assets/E33/C20/sprockets%2Fffef4e4cba281218e28ccd9de02ae6e9 +0 -0
- data/test/dummy/tmp/cache/assets/E6C/440/sprockets%2Fec82e452be37caed84df785e3bbfcdd9 +0 -0
- data/test/dummy/tmp/cache/assets/EA1/CA0/sprockets%2Ff56d8ed69dc75ea808ebbcfc1b62ffef +0 -0
- data/test/fixtures/competition/score_entries.yml +9 -0
- data/test/fixtures/competition/scores.yml +9 -0
- data/test/functional/competition/leaderboard_controller_test.rb +9 -0
- data/test/unit/competition/score_entry_test.rb +9 -0
- data/test/unit/competition/score_test.rb +9 -0
- data/test/unit/helpers/competition/leaderboard_helper_test.rb +6 -0
- metadata +85 -5
- data/README.rdoc +0 -3
data/README.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
### Competition
|
2
|
+
|
3
|
+
On the model you want to keep score of, usually your User model, put this code:
|
4
|
+
|
5
|
+
has_score
|
6
|
+
|
7
|
+
On the model that awards score put this code:
|
8
|
+
|
9
|
+
keeps_score :if => Proc.new { true },
|
10
|
+
:on => [:create],
|
11
|
+
:amount => Proc.new { |tc| 1 },
|
12
|
+
:for => Proc.new {|o| o.user }
|
13
|
+
|
14
|
+
then goto /competition/leaderboard and viola!
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require_dependency "competition/application_controller"
|
2
|
+
|
3
|
+
module Competition
|
4
|
+
class LeaderboardController < ApplicationController
|
5
|
+
def index
|
6
|
+
#TODO: Make this not suck
|
7
|
+
@scores = Competition::Score.all.sort {|a, b| b.score_entries.sum(:amount) <=> a.score_entries.sum(:amount)}
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
%h1 Leaderboard
|
data/config/routes.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
class CreateCompetitionScoreEntries < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :competition_score_entries do |t|
|
4
|
+
t.string :score_entryable_type
|
5
|
+
t.integer :score_entryable_id
|
6
|
+
t.integer :score_id
|
7
|
+
t.integer :amount
|
8
|
+
|
9
|
+
t.timestamps
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
data/lib/competition.rb
CHANGED
@@ -1,4 +1,69 @@
|
|
1
1
|
require "competition/engine"
|
2
|
+
require 'active_support/concern'
|
2
3
|
|
3
4
|
module Competition
|
5
|
+
extend ActiveSupport::Concern
|
6
|
+
|
7
|
+
module ClassMethods
|
8
|
+
@@score_with = nil
|
9
|
+
@@score_if = nil
|
10
|
+
@@score_amount = nil
|
11
|
+
def has_score
|
12
|
+
self.class_eval {
|
13
|
+
has_one :score, :as => :scoreable, :class_name => "Competition::Score"
|
14
|
+
}
|
15
|
+
end
|
16
|
+
|
17
|
+
def keeps_score options={}
|
18
|
+
self.class_eval {
|
19
|
+
has_many :score_entries, :as => :score_entryable, :class_name => "Competition::ScoreEntry"
|
20
|
+
}
|
21
|
+
|
22
|
+
options[:on].each do |event|
|
23
|
+
case event
|
24
|
+
when :create
|
25
|
+
self.class_eval {
|
26
|
+
after_create :add_score
|
27
|
+
}
|
28
|
+
when :update
|
29
|
+
self.class_eval {
|
30
|
+
after_save :add_score
|
31
|
+
}
|
32
|
+
end
|
33
|
+
end
|
34
|
+
@@score_with = options[:for]
|
35
|
+
@@score_if = options[:if]
|
36
|
+
@@score_amount = options[:amount]
|
37
|
+
end
|
38
|
+
|
39
|
+
def score_with
|
40
|
+
@@score_with
|
41
|
+
end
|
42
|
+
|
43
|
+
def score_if
|
44
|
+
@@score_if
|
45
|
+
end
|
46
|
+
|
47
|
+
def score_amount
|
48
|
+
@@score_amount
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
def add_score
|
53
|
+
return unless score?
|
54
|
+
score = Competition::Score.find_or_create_by_scoreable_type_and_scoreable_id(score_with.class.to_s, score_with.id)
|
55
|
+
Competition::ScoreEntry.create(:amount => score_amount, :score_id => score.id, :score_entryable_type => self.class.to_s, :score_entryable_id => self.id )
|
56
|
+
end
|
57
|
+
|
58
|
+
def score_amount
|
59
|
+
@score_amount ||= self.class.score_amount.call(self)
|
60
|
+
end
|
61
|
+
|
62
|
+
def score?
|
63
|
+
@score_if ||= self.class.score_if.call(self)
|
64
|
+
end
|
65
|
+
|
66
|
+
def score_with
|
67
|
+
@score_with ||= self.class.score_with.call(self)
|
68
|
+
end
|
4
69
|
end
|
data/lib/competition/version.rb
CHANGED
Binary file
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20120711204952) do
|
15
|
+
|
16
|
+
create_table "competition_score_entries", :force => true do |t|
|
17
|
+
t.string "score_entryable_type"
|
18
|
+
t.integer "score_entryable_id"
|
19
|
+
t.integer "score_id"
|
20
|
+
t.integer "amount"
|
21
|
+
t.datetime "created_at", :null => false
|
22
|
+
t.datetime "updated_at", :null => false
|
23
|
+
end
|
24
|
+
|
25
|
+
create_table "competition_scores", :force => true do |t|
|
26
|
+
t.string "scoreable_type"
|
27
|
+
t.integer "scoreable_id"
|
28
|
+
t.datetime "created_at", :null => false
|
29
|
+
t.datetime "updated_at", :null => false
|
30
|
+
end
|
31
|
+
|
32
|
+
create_table "test_cases", :force => true do |t|
|
33
|
+
t.integer "user_id"
|
34
|
+
t.datetime "created_at", :null => false
|
35
|
+
t.datetime "updated_at", :null => false
|
36
|
+
end
|
37
|
+
|
38
|
+
create_table "tests", :force => true do |t|
|
39
|
+
t.integer "user_id"
|
40
|
+
t.datetime "created_at", :null => false
|
41
|
+
t.datetime "updated_at", :null => false
|
42
|
+
end
|
43
|
+
|
44
|
+
create_table "users", :force => true do |t|
|
45
|
+
t.datetime "created_at", :null => false
|
46
|
+
t.datetime "updated_at", :null => false
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
File without changes
|
@@ -0,0 +1,692 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
5
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
7
|
+
Migrating to CreateCompetitionScores (20120711201029)
|
8
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "competition_scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "scoreable_type" varchar(255), "scoreable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
10
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711201029')
|
11
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
12
|
+
Migrating to CreateCompetitionScoreEntries (20120711201300)
|
13
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "competition_score_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "score_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711201300')
|
16
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
17
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
18
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
19
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("competition_score_entries")
|
20
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("competition_scores")[0m
|
21
|
+
Connecting to database specified by database.yml
|
22
|
+
Connecting to database specified by database.yml
|
23
|
+
Connecting to database specified by database.yml
|
24
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
25
|
+
Migrating to CreateTests (20120711203915)
|
26
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
29
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120711203915')[0m
|
30
|
+
[1m[35m (2.8ms)[0m commit transaction
|
31
|
+
Migrating to CreateUsers (20120711203936)
|
32
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
33
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
34
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120711203936')[0m
|
35
|
+
[1m[35m (0.8ms)[0m commit transaction
|
36
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
37
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
38
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("competition_score_entries")[0m
|
39
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("competition_scores")
|
40
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tests")[0m
|
41
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
42
|
+
Connecting to database specified by database.yml
|
43
|
+
Connecting to database specified by database.yml
|
44
|
+
Connecting to database specified by database.yml
|
45
|
+
Connecting to database specified by database.yml
|
46
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
47
|
+
Connecting to database specified by database.yml
|
48
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
49
|
+
Connecting to database specified by database.yml
|
50
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
51
|
+
Connecting to database specified by database.yml
|
52
|
+
Connecting to database specified by database.yml
|
53
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
54
|
+
Migrating to CreateTests (20120711203915)
|
55
|
+
Migrating to CreateUsers (20120711203936)
|
56
|
+
Migrating to CreateTestCases (20120711204952)
|
57
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
58
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
59
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "test_cases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
60
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120711204952')[0m
|
61
|
+
[1m[35m (2.3ms)[0m commit transaction
|
62
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
63
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
64
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("competition_score_entries")[0m
|
65
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("competition_scores")
|
66
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("test_cases")[0m
|
67
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tests")
|
68
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
69
|
+
Connecting to database specified by database.yml
|
70
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
71
|
+
Connecting to database specified by database.yml
|
72
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
73
|
+
Connecting to database specified by database.yml
|
74
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
75
|
+
Connecting to database specified by database.yml
|
76
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
77
|
+
Connecting to database specified by database.yml
|
78
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
79
|
+
Connecting to database specified by database.yml
|
80
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
81
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
82
|
+
Connecting to database specified by database.yml
|
83
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
84
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
85
|
+
Connecting to database specified by database.yml
|
86
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
87
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
88
|
+
Connecting to database specified by database.yml
|
89
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
90
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
91
|
+
Connecting to database specified by database.yml
|
92
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
93
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
94
|
+
Connecting to database specified by database.yml
|
95
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
96
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
97
|
+
Connecting to database specified by database.yml
|
98
|
+
Connecting to database specified by database.yml
|
99
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
100
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
101
|
+
Connecting to database specified by database.yml
|
102
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
103
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
104
|
+
Connecting to database specified by database.yml
|
105
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
106
|
+
Connecting to database specified by database.yml
|
107
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
108
|
+
Connecting to database specified by database.yml
|
109
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
110
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
111
|
+
Connecting to database specified by database.yml
|
112
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
113
|
+
Connecting to database specified by database.yml
|
114
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
115
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
116
|
+
Connecting to database specified by database.yml
|
117
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
118
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
119
|
+
Connecting to database specified by database.yml
|
120
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
121
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
122
|
+
Connecting to database specified by database.yml
|
123
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
124
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
125
|
+
Connecting to database specified by database.yml
|
126
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
127
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
128
|
+
[1m[36m (0.3ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
129
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
130
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
131
|
+
Migrating to CreateTests (20120711203915)
|
132
|
+
[1m[35m (0.0ms)[0m begin transaction
|
133
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
134
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711203915')
|
135
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
136
|
+
Migrating to CreateUsers (20120711203936)
|
137
|
+
[1m[35m (0.0ms)[0m begin transaction
|
138
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
139
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711203936')
|
140
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
141
|
+
Migrating to CreateTestCases (20120711204952)
|
142
|
+
[1m[35m (0.1ms)[0m begin transaction
|
143
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "test_cases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
144
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711204952')
|
145
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
146
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
147
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
148
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_cases")
|
149
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tests")[0m
|
150
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
151
|
+
Connecting to database specified by database.yml
|
152
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
153
|
+
[1m[35m (3.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
154
|
+
[1m[36m (0.3ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
155
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
156
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
157
|
+
Migrating to CreateCompetitionScores (20120711201029)
|
158
|
+
[1m[35m (0.0ms)[0m begin transaction
|
159
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "competition_scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "scoreable_type" varchar(255), "scoreable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
160
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711201029')
|
161
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
162
|
+
Migrating to CreateCompetitionScoreEntries (20120711201300)
|
163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
164
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "competition_score_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "score_id" integer, "amount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
165
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711201300')
|
166
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
167
|
+
Migrating to CreateTests (20120711203915)
|
168
|
+
[1m[35m (0.0ms)[0m begin transaction
|
169
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
170
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711203915')
|
171
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
172
|
+
Migrating to CreateUsers (20120711203936)
|
173
|
+
[1m[35m (0.0ms)[0m begin transaction
|
174
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
175
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711203936')
|
176
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
177
|
+
Migrating to CreateTestCases (20120711204952)
|
178
|
+
[1m[35m (0.0ms)[0m begin transaction
|
179
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "test_cases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
180
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711204952')
|
181
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
182
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
183
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
184
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("competition_score_entries")
|
185
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("competition_scores")[0m
|
186
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_cases")
|
187
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tests")[0m
|
188
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
189
|
+
Connecting to database specified by database.yml
|
190
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
191
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
192
|
+
Connecting to database specified by database.yml
|
193
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
194
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
195
|
+
Connecting to database specified by database.yml
|
196
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
197
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
198
|
+
Connecting to database specified by database.yml
|
199
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
200
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
201
|
+
Connecting to database specified by database.yml
|
202
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
203
|
+
Connecting to database specified by database.yml
|
204
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
205
|
+
Connecting to database specified by database.yml
|
206
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/user.rb:2)
|
207
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Competition instead. (called from include at /Users/adamgamble/rails/competition/test/dummy/app/models/test_case.rb:2)
|
208
|
+
Connecting to database specified by database.yml
|
209
|
+
Connecting to database specified by database.yml
|
210
|
+
Connecting to database specified by database.yml
|
211
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
212
|
+
[1m[35m (3.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
213
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
214
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
215
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
216
|
+
Migrating to CreateCompetitionScores (20120711201029)
|
217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
218
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "competition_scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "scoreable_type" varchar(255), "scoreable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
219
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711201029')
|
220
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
221
|
+
Migrating to CreateCompetitionScoreEntries (20120711201300)
|
222
|
+
[1m[35m (0.0ms)[0m begin transaction
|
223
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "competition_score_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "score_entryable_type" varchar(255), "score_entryable_id" integer, "score_id" integer, "amount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
224
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711201300')
|
225
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
226
|
+
Migrating to CreateTests (20120711203915)
|
227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
228
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
229
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711203915')
|
230
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
231
|
+
Migrating to CreateUsers (20120711203936)
|
232
|
+
[1m[35m (0.0ms)[0m begin transaction
|
233
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
234
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711203936')
|
235
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
236
|
+
Migrating to CreateTestCases (20120711204952)
|
237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
238
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "test_cases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
239
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120711204952')
|
240
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
241
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
242
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
243
|
+
[1m[35m (12.2ms)[0m PRAGMA index_list("competition_score_entries")
|
244
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("competition_scores")[0m
|
245
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_cases")
|
246
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tests")[0m
|
247
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
248
|
+
Connecting to database specified by database.yml
|
249
|
+
Connecting to database specified by database.yml
|
250
|
+
Connecting to database specified by database.yml
|
251
|
+
Connecting to database specified by database.yml
|
252
|
+
|
253
|
+
|
254
|
+
Started GET "/" for 127.0.0.1 at 2012-07-11 21:36:06 -0500
|
255
|
+
Connecting to database specified by database.yml
|
256
|
+
|
257
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
258
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
259
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
260
|
+
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
|
261
|
+
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
|
262
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
263
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
264
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
265
|
+
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
266
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
267
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
|
268
|
+
railties (3.2.6) lib/rails/engine.rb:479:in `call'
|
269
|
+
railties (3.2.6) lib/rails/application.rb:220:in `call'
|
270
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
271
|
+
railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
|
272
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
273
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
274
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
275
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
276
|
+
|
277
|
+
|
278
|
+
Rendered /Users/adamgamble/.rvm/gems/ruby-1.9.3-p194@competition/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
|
279
|
+
|
280
|
+
|
281
|
+
Started GET "/" for 127.0.0.1 at 2012-07-11 21:36:07 -0500
|
282
|
+
|
283
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
284
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
285
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
286
|
+
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
|
287
|
+
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
|
288
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
289
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
290
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
291
|
+
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
292
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
293
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
|
294
|
+
railties (3.2.6) lib/rails/engine.rb:479:in `call'
|
295
|
+
railties (3.2.6) lib/rails/application.rb:220:in `call'
|
296
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
297
|
+
railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
|
298
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
299
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
300
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
301
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
302
|
+
|
303
|
+
|
304
|
+
Rendered /Users/adamgamble/.rvm/gems/ruby-1.9.3-p194@competition/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
305
|
+
|
306
|
+
|
307
|
+
Started GET "/leaderboards" for 127.0.0.1 at 2012-07-11 21:36:12 -0500
|
308
|
+
|
309
|
+
ActionController::RoutingError (No route matches [GET] "/leaderboards"):
|
310
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
311
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
312
|
+
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
|
313
|
+
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
|
314
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
315
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
316
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
317
|
+
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
318
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
319
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
|
320
|
+
railties (3.2.6) lib/rails/engine.rb:479:in `call'
|
321
|
+
railties (3.2.6) lib/rails/application.rb:220:in `call'
|
322
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
323
|
+
railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
|
324
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
325
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
326
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
327
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
328
|
+
|
329
|
+
|
330
|
+
Rendered /Users/adamgamble/.rvm/gems/ruby-1.9.3-p194@competition/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
|
331
|
+
|
332
|
+
|
333
|
+
Started GET "/competition/leaderboards" for 127.0.0.1 at 2012-07-11 21:36:22 -0500
|
334
|
+
|
335
|
+
ActionController::RoutingError (uninitialized constant Competition::LeaderboardsController):
|
336
|
+
activesupport (3.2.6) lib/active_support/inflector/methods.rb:229:in `block in constantize'
|
337
|
+
activesupport (3.2.6) lib/active_support/inflector/methods.rb:228:in `each'
|
338
|
+
activesupport (3.2.6) lib/active_support/inflector/methods.rb:228:in `constantize'
|
339
|
+
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
|
340
|
+
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:54:in `controller'
|
341
|
+
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:32:in `call'
|
342
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
343
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
344
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
345
|
+
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
346
|
+
railties (3.2.6) lib/rails/engine.rb:479:in `call'
|
347
|
+
railties (3.2.6) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
348
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
349
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
350
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
351
|
+
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
352
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
353
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
354
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
355
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/head.rb:14:in `call'
|
356
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
357
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
358
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
359
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
360
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
361
|
+
activerecord (3.2.6) lib/active_record/query_cache.rb:64:in `call'
|
362
|
+
activerecord (3.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
363
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
364
|
+
activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `_run__2940041773427470090__call__4097513200481334581__callbacks'
|
365
|
+
activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `__run_callback'
|
366
|
+
activesupport (3.2.6) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
367
|
+
activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
368
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
369
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
370
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
371
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
372
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
373
|
+
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
|
374
|
+
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
|
375
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
376
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
377
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
378
|
+
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
379
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
380
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
|
381
|
+
railties (3.2.6) lib/rails/engine.rb:479:in `call'
|
382
|
+
railties (3.2.6) lib/rails/application.rb:220:in `call'
|
383
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
384
|
+
railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
|
385
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
386
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
387
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
388
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
389
|
+
|
390
|
+
|
391
|
+
Rendered /Users/adamgamble/.rvm/gems/ruby-1.9.3-p194@competition/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
392
|
+
|
393
|
+
|
394
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:36:49 -0500
|
395
|
+
Connecting to database specified by database.yml
|
396
|
+
|
397
|
+
ActionController::RoutingError (No route matches [GET] "/competition/leaderboard"):
|
398
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
399
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
400
|
+
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
|
401
|
+
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
|
402
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
403
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
404
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
405
|
+
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
406
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
407
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
|
408
|
+
railties (3.2.6) lib/rails/engine.rb:479:in `call'
|
409
|
+
railties (3.2.6) lib/rails/application.rb:220:in `call'
|
410
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
411
|
+
railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
|
412
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
413
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
414
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
415
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
416
|
+
|
417
|
+
|
418
|
+
Rendered /Users/adamgamble/.rvm/gems/ruby-1.9.3-p194@competition/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
419
|
+
|
420
|
+
|
421
|
+
Started GET "/competition/leaderboards" for 127.0.0.1 at 2012-07-11 21:37:13 -0500
|
422
|
+
Connecting to database specified by database.yml
|
423
|
+
|
424
|
+
ActionController::RoutingError (No route matches [GET] "/competition/leaderboards"):
|
425
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
426
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
427
|
+
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
|
428
|
+
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
|
429
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
430
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
431
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
432
|
+
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
433
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
434
|
+
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
|
435
|
+
railties (3.2.6) lib/rails/engine.rb:479:in `call'
|
436
|
+
railties (3.2.6) lib/rails/application.rb:220:in `call'
|
437
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
438
|
+
railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
|
439
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
440
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
441
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
442
|
+
/Users/adamgamble/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
443
|
+
|
444
|
+
|
445
|
+
Rendered /Users/adamgamble/.rvm/gems/ruby-1.9.3-p194@competition/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
446
|
+
|
447
|
+
|
448
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:37:19 -0500
|
449
|
+
Processing by Competition::LeaderboardController#index as HTML
|
450
|
+
[1m[36mCompetition::Score Load (0.2ms)[0m [1mSELECT *, SUM('competition_score_entries'.'amount') as competition_score_entry_amounts FROM "competition_scores" INNER JOIN "competition_score_entries" ON "competition_score_entries"."score_id" = "competition_scores"."id" ORDER BY competition_score_entry_amounts DESC[0m
|
451
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
452
|
+
[1m[36m (0.1ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 1[0m
|
453
|
+
Rendered /Users/adamgamble/rails/competition/app/views/competition/leaderboard/index.html.haml within layouts/competition/application (35.8ms)
|
454
|
+
Compiled competition/leaderboard.css (0ms) (pid 4677)
|
455
|
+
Compiled competition/application.css (6ms) (pid 4677)
|
456
|
+
Compiled jquery.js (1ms) (pid 4677)
|
457
|
+
Compiled jquery_ujs.js (0ms) (pid 4677)
|
458
|
+
Compiled competition/leaderboard.js (0ms) (pid 4677)
|
459
|
+
Compiled competition/application.js (41ms) (pid 4677)
|
460
|
+
Completed 200 OK in 174ms (Views: 125.5ms | ActiveRecord: 2.1ms)
|
461
|
+
|
462
|
+
|
463
|
+
Started GET "/assets/competition/application.css?body=1" for 127.0.0.1 at 2012-07-11 21:37:19 -0500
|
464
|
+
Served asset /competition/application.css - 200 OK (5ms)
|
465
|
+
|
466
|
+
|
467
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-11 21:37:19 -0500
|
468
|
+
Served asset /jquery_ujs.js - 200 OK (3ms)
|
469
|
+
|
470
|
+
|
471
|
+
Started GET "/assets/competition/leaderboard.css?body=1" for 127.0.0.1 at 2012-07-11 21:37:19 -0500
|
472
|
+
Served asset /competition/leaderboard.css - 200 OK (3ms)
|
473
|
+
|
474
|
+
|
475
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-11 21:37:19 -0500
|
476
|
+
Served asset /jquery.js - 200 OK (1ms)
|
477
|
+
|
478
|
+
|
479
|
+
Started GET "/assets/competition/leaderboard.js?body=1" for 127.0.0.1 at 2012-07-11 21:37:19 -0500
|
480
|
+
Served asset /competition/leaderboard.js - 200 OK (1ms)
|
481
|
+
|
482
|
+
|
483
|
+
Started GET "/assets/competition/application.js?body=1" for 127.0.0.1 at 2012-07-11 21:37:19 -0500
|
484
|
+
Served asset /competition/application.js - 200 OK (4ms)
|
485
|
+
|
486
|
+
|
487
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:38:00 -0500
|
488
|
+
Connecting to database specified by database.yml
|
489
|
+
Processing by Competition::LeaderboardController#index as HTML
|
490
|
+
[1m[36mCompetition::Score Load (0.2ms)[0m [1mSELECT *, SUM('competition_score_entries'.'amount') as competition_score_entry_amounts FROM "competition_scores" INNER JOIN "competition_score_entries" ON "competition_score_entries"."score_id" = "competition_scores"."id" ORDER BY competition_score_entry_amounts DESC[0m
|
491
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
492
|
+
[1m[36m (0.1ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 1[0m
|
493
|
+
Rendered /Users/adamgamble/rails/competition/app/views/competition/leaderboard/index.html.haml within layouts/competition/application (31.4ms)
|
494
|
+
Completed 200 OK in 88ms (Views: 46.6ms | ActiveRecord: 1.9ms)
|
495
|
+
|
496
|
+
|
497
|
+
Started GET "/assets/competition/application.css?body=1" for 127.0.0.1 at 2012-07-11 21:38:00 -0500
|
498
|
+
Served asset /competition/application.css - 304 Not Modified (17ms)
|
499
|
+
|
500
|
+
|
501
|
+
Started GET "/assets/competition/leaderboard.css?body=1" for 127.0.0.1 at 2012-07-11 21:38:00 -0500
|
502
|
+
Served asset /competition/leaderboard.css - 304 Not Modified (3ms)
|
503
|
+
|
504
|
+
|
505
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:00 -0500
|
506
|
+
Served asset /jquery.js - 304 Not Modified (3ms)
|
507
|
+
|
508
|
+
|
509
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:00 -0500
|
510
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
511
|
+
|
512
|
+
|
513
|
+
Started GET "/assets/competition/leaderboard.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:00 -0500
|
514
|
+
Served asset /competition/leaderboard.js - 304 Not Modified (2ms)
|
515
|
+
|
516
|
+
|
517
|
+
Started GET "/assets/competition/application.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:00 -0500
|
518
|
+
Served asset /competition/application.js - 304 Not Modified (4ms)
|
519
|
+
|
520
|
+
|
521
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:38:38 -0500
|
522
|
+
Connecting to database specified by database.yml
|
523
|
+
Processing by Competition::LeaderboardController#index as HTML
|
524
|
+
[1m[36mCompetition::Score Load (0.2ms)[0m [1mSELECT *, SUM('competition_score_entries'.'amount') as competition_score_entry_amounts FROM "competition_scores" INNER JOIN "competition_score_entries" ON "competition_score_entries"."score_id" = "competition_scores"."id" ORDER BY competition_score_entry_amounts DESC[0m
|
525
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
526
|
+
[1m[36m (0.1ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 1[0m
|
527
|
+
Rendered /Users/adamgamble/rails/competition/app/views/competition/leaderboard/index.html.haml within layouts/competition/application (32.7ms)
|
528
|
+
Completed 200 OK in 89ms (Views: 47.7ms | ActiveRecord: 1.8ms)
|
529
|
+
|
530
|
+
|
531
|
+
Started GET "/assets/competition/application.css?body=1" for 127.0.0.1 at 2012-07-11 21:38:38 -0500
|
532
|
+
Served asset /competition/application.css - 304 Not Modified (16ms)
|
533
|
+
|
534
|
+
|
535
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:38 -0500
|
536
|
+
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
|
537
|
+
|
538
|
+
|
539
|
+
Started GET "/assets/competition/leaderboard.css?body=1" for 127.0.0.1 at 2012-07-11 21:38:38 -0500
|
540
|
+
Served asset /competition/leaderboard.css - 304 Not Modified (1ms)
|
541
|
+
|
542
|
+
|
543
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:38 -0500
|
544
|
+
Served asset /jquery.js - 304 Not Modified (1ms)
|
545
|
+
|
546
|
+
|
547
|
+
Started GET "/assets/competition/leaderboard.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:38 -0500
|
548
|
+
Served asset /competition/leaderboard.js - 304 Not Modified (1ms)
|
549
|
+
|
550
|
+
|
551
|
+
Started GET "/assets/competition/application.js?body=1" for 127.0.0.1 at 2012-07-11 21:38:38 -0500
|
552
|
+
Served asset /competition/application.js - 304 Not Modified (3ms)
|
553
|
+
Connecting to database specified by database.yml
|
554
|
+
|
555
|
+
|
556
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:39:08 -0500
|
557
|
+
Connecting to database specified by database.yml
|
558
|
+
Processing by Competition::LeaderboardController#index as HTML
|
559
|
+
[1m[36mCompetition::Score Load (0.2ms)[0m [1mSELECT *, SUM('competition_score_entries'.'amount') as competition_score_entry_amounts FROM "competition_scores" INNER JOIN "competition_score_entries" ON "competition_score_entries"."score_id" = "competition_scores"."id" ORDER BY competition_score_entry_amounts DESC[0m
|
560
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
561
|
+
[1m[36m (0.1ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 6[0m
|
562
|
+
Rendered /Users/adamgamble/rails/competition/app/views/competition/leaderboard/index.html.haml within layouts/competition/application (31.9ms)
|
563
|
+
Completed 200 OK in 88ms (Views: 47.1ms | ActiveRecord: 1.8ms)
|
564
|
+
|
565
|
+
|
566
|
+
Started GET "/assets/competition/application.css?body=1" for 127.0.0.1 at 2012-07-11 21:39:08 -0500
|
567
|
+
Served asset /competition/application.css - 304 Not Modified (16ms)
|
568
|
+
|
569
|
+
|
570
|
+
Started GET "/assets/competition/leaderboard.css?body=1" for 127.0.0.1 at 2012-07-11 21:39:08 -0500
|
571
|
+
Served asset /competition/leaderboard.css - 304 Not Modified (1ms)
|
572
|
+
|
573
|
+
|
574
|
+
Started GET "/assets/competition/leaderboard.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:08 -0500
|
575
|
+
Served asset /competition/leaderboard.js - 304 Not Modified (1ms)
|
576
|
+
|
577
|
+
|
578
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:08 -0500
|
579
|
+
Served asset /jquery.js - 304 Not Modified (4ms)
|
580
|
+
|
581
|
+
|
582
|
+
Started GET "/assets/competition/application.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:08 -0500
|
583
|
+
Served asset /competition/application.js - 304 Not Modified (4ms)
|
584
|
+
|
585
|
+
|
586
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:08 -0500
|
587
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
588
|
+
|
589
|
+
|
590
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:39:10 -0500
|
591
|
+
Processing by Competition::LeaderboardController#index as HTML
|
592
|
+
[1m[35mCompetition::Score Load (0.3ms)[0m SELECT *, SUM('competition_score_entries'.'amount') as competition_score_entry_amounts FROM "competition_scores" INNER JOIN "competition_score_entries" ON "competition_score_entries"."score_id" = "competition_scores"."id" ORDER BY competition_score_entry_amounts DESC
|
593
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
594
|
+
[1m[35m (0.2ms)[0m SELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 6
|
595
|
+
Rendered /Users/adamgamble/rails/competition/app/views/competition/leaderboard/index.html.haml within layouts/competition/application (2.3ms)
|
596
|
+
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.6ms)
|
597
|
+
|
598
|
+
|
599
|
+
Started GET "/assets/competition/application.css?body=1" for 127.0.0.1 at 2012-07-11 21:39:10 -0500
|
600
|
+
Served asset /competition/application.css - 304 Not Modified (0ms)
|
601
|
+
|
602
|
+
|
603
|
+
Started GET "/assets/competition/leaderboard.css?body=1" for 127.0.0.1 at 2012-07-11 21:39:10 -0500
|
604
|
+
Served asset /competition/leaderboard.css - 304 Not Modified (0ms)
|
605
|
+
|
606
|
+
|
607
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:10 -0500
|
608
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
609
|
+
|
610
|
+
|
611
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:10 -0500
|
612
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
613
|
+
|
614
|
+
|
615
|
+
Started GET "/assets/competition/leaderboard.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:10 -0500
|
616
|
+
Served asset /competition/leaderboard.js - 304 Not Modified (0ms)
|
617
|
+
|
618
|
+
|
619
|
+
Started GET "/assets/competition/application.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:10 -0500
|
620
|
+
Served asset /competition/application.js - 304 Not Modified (0ms)
|
621
|
+
|
622
|
+
|
623
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:39:11 -0500
|
624
|
+
Processing by Competition::LeaderboardController#index as HTML
|
625
|
+
[1m[36mCompetition::Score Load (0.3ms)[0m [1mSELECT *, SUM('competition_score_entries'.'amount') as competition_score_entry_amounts FROM "competition_scores" INNER JOIN "competition_score_entries" ON "competition_score_entries"."score_id" = "competition_scores"."id" ORDER BY competition_score_entry_amounts DESC[0m
|
626
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
627
|
+
[1m[36m (0.1ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 6[0m
|
628
|
+
Rendered /Users/adamgamble/rails/competition/app/views/competition/leaderboard/index.html.haml within layouts/competition/application (2.1ms)
|
629
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.6ms)
|
630
|
+
|
631
|
+
|
632
|
+
Started GET "/assets/competition/application.css?body=1" for 127.0.0.1 at 2012-07-11 21:39:11 -0500
|
633
|
+
Served asset /competition/application.css - 304 Not Modified (0ms)
|
634
|
+
|
635
|
+
|
636
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:11 -0500
|
637
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
638
|
+
|
639
|
+
|
640
|
+
Started GET "/assets/competition/leaderboard.css?body=1" for 127.0.0.1 at 2012-07-11 21:39:11 -0500
|
641
|
+
Served asset /competition/leaderboard.css - 304 Not Modified (0ms)
|
642
|
+
|
643
|
+
|
644
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:11 -0500
|
645
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
646
|
+
|
647
|
+
|
648
|
+
Started GET "/assets/competition/leaderboard.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:11 -0500
|
649
|
+
Served asset /competition/leaderboard.js - 304 Not Modified (0ms)
|
650
|
+
|
651
|
+
|
652
|
+
Started GET "/assets/competition/application.js?body=1" for 127.0.0.1 at 2012-07-11 21:39:11 -0500
|
653
|
+
Served asset /competition/application.js - 304 Not Modified (0ms)
|
654
|
+
Connecting to database specified by database.yml
|
655
|
+
|
656
|
+
|
657
|
+
Started GET "/competition/leaderboard" for 127.0.0.1 at 2012-07-11 21:44:24 -0500
|
658
|
+
Connecting to database specified by database.yml
|
659
|
+
Processing by Competition::LeaderboardController#index as HTML
|
660
|
+
[1m[36mCompetition::Score Load (0.1ms)[0m [1mSELECT "competition_scores".* FROM "competition_scores" [0m
|
661
|
+
[1m[35m (0.1ms)[0m SELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 2
|
662
|
+
[1m[36m (0.1ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 1[0m
|
663
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
664
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 2[0m
|
665
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
666
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("competition_score_entries"."amount") AS sum_id FROM "competition_score_entries" WHERE "competition_score_entries"."score_id" = 1[0m
|
667
|
+
Rendered /Users/adamgamble/rails/competition/app/views/competition/leaderboard/index.html.haml within layouts/competition/application (11.7ms)
|
668
|
+
Completed 200 OK in 87ms (Views: 40.2ms | ActiveRecord: 1.9ms)
|
669
|
+
|
670
|
+
|
671
|
+
Started GET "/assets/competition/application.css?body=1" for 127.0.0.1 at 2012-07-11 21:44:24 -0500
|
672
|
+
Served asset /competition/application.css - 304 Not Modified (2ms)
|
673
|
+
|
674
|
+
|
675
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-11 21:44:24 -0500
|
676
|
+
Served asset /jquery.js - 304 Not Modified (6ms)
|
677
|
+
|
678
|
+
|
679
|
+
Started GET "/assets/competition/leaderboard.css?body=1" for 127.0.0.1 at 2012-07-11 21:44:24 -0500
|
680
|
+
Served asset /competition/leaderboard.css - 304 Not Modified (1ms)
|
681
|
+
|
682
|
+
|
683
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-11 21:44:24 -0500
|
684
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
685
|
+
|
686
|
+
|
687
|
+
Started GET "/assets/competition/leaderboard.js?body=1" for 127.0.0.1 at 2012-07-11 21:44:24 -0500
|
688
|
+
Served asset /competition/leaderboard.js - 304 Not Modified (1ms)
|
689
|
+
|
690
|
+
|
691
|
+
Started GET "/assets/competition/application.js?body=1" for 127.0.0.1 at 2012-07-11 21:44:24 -0500
|
692
|
+
Served asset /competition/application.js - 304 Not Modified (4ms)
|