feeder 0.3.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +119 -2
- data/app/controllers/feeder/application_controller.rb +1 -1
- data/app/controllers/feeder/items_controller.rb +7 -0
- data/app/models/feeder/feedable_observer.rb +43 -7
- data/app/models/feeder/item.rb +2 -6
- data/app/views/feeder/items/_item.html.erb +1 -1
- data/app/views/feeder/items/_item.json.jbuilder +1 -0
- data/app/views/feeder/{feeds → items}/index.html.erb +1 -1
- data/app/views/feeder/items/index.json.jbuilder +1 -0
- data/config/routes.rb +1 -1
- data/db/migrate/20140321085409_add_sticky_to_feeder_items.rb +5 -0
- data/db/migrate/20140401131911_prohibit_null_on_feeder_item_stickies.rb +13 -0
- data/db/migrate/20140526110451_add_blocked_to_feeder_items.rb +5 -0
- data/db/migrate/20140526110501_add_reported_to_feeder_items.rb +5 -0
- data/lib/feeder.rb +18 -2
- data/lib/feeder/active_record.rb +9 -0
- data/lib/feeder/concerns.rb +6 -0
- data/lib/feeder/concerns/controllers.rb +5 -0
- data/lib/feeder/concerns/controllers/items_controller.rb +22 -0
- data/lib/feeder/concerns/feedable.rb +27 -0
- data/lib/feeder/concerns/helpers.rb +5 -0
- data/lib/feeder/concerns/helpers/filter.rb +20 -0
- data/lib/feeder/concerns/models.rb +5 -0
- data/lib/feeder/concerns/models/item.rb +31 -0
- data/lib/feeder/configuration.rb +19 -5
- data/lib/feeder/engine.rb +3 -2
- data/lib/feeder/version.rb +1 -1
- data/spec/controllers/feeder/items_controller_spec.rb +36 -0
- data/spec/dummy/app/models/message.rb +2 -0
- data/spec/dummy/config/initializers/feeder.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +4 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +359 -0
- data/spec/dummy/log/test.log +53050 -0
- data/spec/factories/feeder/items.rb +10 -0
- data/spec/lib/feeder/concerns/feedable_spec.rb +33 -0
- data/spec/lib/feeder/configuration_spec.rb +6 -6
- data/spec/lib/feeder_spec.rb +14 -2
- data/spec/models/feeder/feedable_observer_spec.rb +95 -0
- data/spec/models/feeder/item_spec.rb +38 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/support/shared_examples/filterable.rb +48 -0
- metadata +97 -39
- data/app/controllers/feeder/feeds_controller.rb +0 -9
- data/app/views/layouts/feeder/application.html.erb +0 -14
- data/spec/controllers/feeder/feeds_controller_spec.rb +0 -27
data/lib/feeder/configuration.rb
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
module Feeder
|
2
2
|
class Configuration
|
3
|
-
attr_accessor :
|
4
|
-
|
3
|
+
attr_accessor :scopes
|
4
|
+
attr_accessor :observables
|
5
5
|
|
6
6
|
def initialize
|
7
|
-
@
|
8
|
-
|
7
|
+
@scopes = [
|
8
|
+
proc { order created_at: :desc }
|
9
|
+
]
|
10
|
+
|
11
|
+
@observables = {}
|
9
12
|
end
|
10
13
|
|
11
14
|
def add_observable(observable)
|
12
|
-
|
15
|
+
warn "[DEPRECATION] Feeder::Configuration.add_observable is deprecated. Please use Feeder::Configuration.observe instead."
|
16
|
+
|
17
|
+
observe observable
|
18
|
+
end
|
19
|
+
|
20
|
+
# Add an observable.
|
21
|
+
#
|
22
|
+
# observable - A model to observe.
|
23
|
+
# options - A Hash of options:
|
24
|
+
# :if - A lambda returning a boolean whether to create a feed item.
|
25
|
+
def observe(observable, options = {})
|
26
|
+
@observables[observable] = options
|
13
27
|
end
|
14
28
|
end
|
15
29
|
end
|
data/lib/feeder/engine.rb
CHANGED
@@ -4,7 +4,8 @@ module Feeder
|
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
isolate_namespace Feeder
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
initializer 'tasks.factories', after: 'factory_girl.set_factory_paths' do
|
8
|
+
FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl)
|
9
|
+
end
|
9
10
|
end
|
10
11
|
end
|
data/lib/feeder/version.rb
CHANGED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Feeder
|
4
|
+
describe ItemsController do
|
5
|
+
routes { Feeder::Engine.routes }
|
6
|
+
|
7
|
+
describe "GET 'index'" do
|
8
|
+
let!(:items) do
|
9
|
+
create_list :feeder_item, 50
|
10
|
+
end
|
11
|
+
|
12
|
+
it "returns http success" do
|
13
|
+
get :index
|
14
|
+
expect(response).to be_successful
|
15
|
+
end
|
16
|
+
|
17
|
+
context 'with a limit' do
|
18
|
+
it 'loads the given amount of items' do
|
19
|
+
get :index, limit: 5
|
20
|
+
expect(assigns(:items).count).to eq 5
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
context 'with stickies' do
|
25
|
+
let!(:sticky) { create :feeder_item, :sticky, published_at: 2.day.ago }
|
26
|
+
let!(:other) { create :feeder_item, published_at: 1.day.ago }
|
27
|
+
|
28
|
+
it 'places stickies first' do
|
29
|
+
get :index
|
30
|
+
expect(assigns(:items).first).to eq sticky
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20140526110501) do
|
15
15
|
|
16
16
|
create_table "feeder_items", force: true do |t|
|
17
17
|
t.datetime "published_at"
|
@@ -19,6 +19,9 @@ ActiveRecord::Schema.define(version: 20140317152438) do
|
|
19
19
|
t.datetime "updated_at"
|
20
20
|
t.integer "feedable_id"
|
21
21
|
t.string "feedable_type"
|
22
|
+
t.boolean "sticky", default: false, null: false
|
23
|
+
t.boolean "blocked", default: false, null: false
|
24
|
+
t.boolean "reported", default: false, null: false
|
22
25
|
end
|
23
26
|
|
24
27
|
add_index "feeder_items", ["feedable_id", "feedable_type"], name: "index_feeder_items_on_feedable_id_and_feedable_type"
|
Binary file
|
@@ -0,0 +1,359 @@
|
|
1
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f' NOT NULL) [0m
|
2
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")
|
3
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "header" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
4
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
5
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
7
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140401131911')[0m
|
8
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152438')
|
9
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140317150822')[0m
|
10
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152137')
|
11
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140321085409')[0m
|
12
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f' NOT NULL) [0m
|
13
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")
|
14
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "header" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
15
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
16
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
17
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
18
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140401131911')[0m
|
19
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152438')
|
20
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140317150822')[0m
|
21
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152137')
|
22
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140321085409')[0m
|
23
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f' NOT NULL) [0m
|
24
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")
|
25
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "header" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
26
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
27
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
28
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
29
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140401131911')[0m
|
30
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152438')
|
31
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140317150822')[0m
|
32
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152137')
|
33
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140321085409')[0m
|
34
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f' NOT NULL) [0m
|
35
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")
|
36
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "header" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
37
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
38
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
39
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
40
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140401131911')[0m
|
41
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152438')
|
42
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140317150822')[0m
|
43
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152137')
|
44
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140321085409')[0m
|
45
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f' NOT NULL) [0m
|
46
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")
|
47
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "header" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
48
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
49
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
50
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
51
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140401131911')[0m
|
52
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152438')
|
53
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140317150822')[0m
|
54
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152137')
|
55
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140321085409')[0m
|
56
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f' NOT NULL) [0m
|
57
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")
|
58
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "header" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
59
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
60
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
61
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
62
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140401131911')[0m
|
63
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152438')
|
64
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140317150822')[0m
|
65
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140317152137')
|
66
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140321085409')[0m
|
67
|
+
[1m[36mFeeder::Item Load (0.4ms)[0m [1mSELECT "feeder_items".* FROM "feeder_items"[0m
|
68
|
+
SQLite3::SQLException: no such table: feeder_items: SELECT "feeder_items".* FROM "feeder_items"
|
69
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
70
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
71
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
72
|
+
Migrating to CreateFeederItems (20140317150822)
|
73
|
+
[1m[35m (0.1ms)[0m begin transaction
|
74
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
75
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140317150822"]]
|
76
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
77
|
+
Migrating to AddPolymorphicFeedableReferenceToFeederItems (20140317152137)
|
78
|
+
[1m[35m (0.1ms)[0m begin transaction
|
79
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "feeder_items" ADD "feedable_id" integer[0m
|
80
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "feeder_items" ADD "feedable_type" varchar(255)
|
81
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")[0m
|
82
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140317152137"]]
|
83
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
84
|
+
Migrating to CreateMessages (20140317152438)
|
85
|
+
[1m[35m (0.1ms)[0m begin transaction
|
86
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "header" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
87
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140317152438"]]
|
88
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
89
|
+
Migrating to AddStickyToFeederItems (20140321085409)
|
90
|
+
[1m[35m (0.1ms)[0m begin transaction
|
91
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "feeder_items" ADD "sticky" boolean DEFAULT 'f'[0m
|
92
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140321085409"]]
|
93
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
94
|
+
Migrating to ProhibitNullOnFeederItemStickies (20140401131911)
|
95
|
+
[1m[35m (0.1ms)[0m begin transaction
|
96
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "feeder_items" SET "sticky" = 'f' WHERE "feeder_items"."sticky" IS NULL[0m
|
97
|
+
[1m[35m (1.0ms)[0m CREATE TEMPORARY TABLE "afeeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f')
|
98
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_afeeder_items_on_feedable_id_and_feedable_type" ON "afeeder_items" ("feedable_id", "feedable_type")[0m
|
99
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "feeder_items"
|
100
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "feeder_items"[0m
|
101
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "feeder_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published_at" datetime, "created_at" datetime, "updated_at" datetime, "feedable_id" integer, "feedable_type" varchar(255), "sticky" boolean DEFAULT 'f' NOT NULL)
|
102
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_feeder_items_on_feedable_id_and_feedable_type" ON "feeder_items" ("feedable_id", "feedable_type")[0m
|
103
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "afeeder_items"
|
104
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "afeeder_items"[0m
|
105
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140401131911"]]
|
106
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
107
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
108
|
+
[1m[36mFeeder::Item Load (1.1ms)[0m [1mSELECT "feeder_items".* FROM "feeder_items"[0m
|
109
|
+
[1m[35m (0.1ms)[0m begin transaction
|
110
|
+
[1m[36mSQL (5.9ms)[0m [1mINSERT INTO "feeder_items" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 08 Apr 2014 13:05:11 UTC +00:00], ["updated_at", Tue, 08 Apr 2014 13:05:11 UTC +00:00]]
|
111
|
+
[1m[35m (0.8ms)[0m commit transaction
|
112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
113
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "feeder_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 08 Apr 2014 13:05:13 UTC +00:00], ["updated_at", Tue, 08 Apr 2014 13:05:13 UTC +00:00]]
|
114
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
116
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "feeder_items" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 08 Apr 2014 13:05:14 UTC +00:00], ["updated_at", Tue, 08 Apr 2014 13:05:14 UTC +00:00]]
|
117
|
+
[1m[35m (2.2ms)[0m commit transaction
|
118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
119
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "feeder_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 08 Apr 2014 13:05:14 UTC +00:00], ["updated_at", Tue, 08 Apr 2014 13:05:14 UTC +00:00]]
|
120
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
121
|
+
[1m[35mFeeder::Item Load (0.2ms)[0m SELECT "feeder_items".* FROM "feeder_items"
|
122
|
+
|
123
|
+
|
124
|
+
Started GET "/" for 127.0.0.1 at 2014-04-08 15:07:03 +0200
|
125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
126
|
+
Processing by Rails::WelcomeController#index as HTML
|
127
|
+
Rendered /Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/templates/rails/welcome/index.html.erb (2.0ms)
|
128
|
+
Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
|
129
|
+
|
130
|
+
|
131
|
+
Started GET "/feeder" for 127.0.0.1 at 2014-04-08 15:07:20 +0200
|
132
|
+
Processing by Feeder::ItemsController#index as HTML
|
133
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
134
|
+
Rendered /Users/sindrenm/Code/hyper/public/feeder/app/views/feeder/items/_item.html.erb (4.2ms)
|
135
|
+
Rendered /Users/sindrenm/Code/hyper/public/feeder/app/views/feeder/items/index.html.erb within layouts/application (15.2ms)
|
136
|
+
Completed 500 Internal Server Error in 24ms
|
137
|
+
|
138
|
+
ActionView::Template::Error (undefined method `underscore' for nil:NilClass):
|
139
|
+
1: <div class="feed-item <%= item.type.parameterize %>">
|
140
|
+
2: <%= render "feeder/types/#{item.type}", feedable: item.feedable %>
|
141
|
+
3: </div>
|
142
|
+
/Users/sindrenm/Code/hyper/public/feeder/app/models/feeder/item.rb:6:in `type'
|
143
|
+
/Users/sindrenm/Code/hyper/public/feeder/app/views/feeder/items/_item.html.erb:1:in `___sers_sindrenm__ode_hyper_public_feeder_app_views_feeder_items__item_html_erb___587630370184849658_70317869072600'
|
144
|
+
actionpack (4.0.3) lib/action_view/template.rb:143:in `block in render'
|
145
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:161:in `instrument'
|
146
|
+
actionpack (4.0.3) lib/action_view/template.rb:141:in `render'
|
147
|
+
actionpack (4.0.3) lib/action_view/renderer/partial_renderer.rb:399:in `block in collection_with_template'
|
148
|
+
actionpack (4.0.3) lib/action_view/renderer/partial_renderer.rb:395:in `map'
|
149
|
+
actionpack (4.0.3) lib/action_view/renderer/partial_renderer.rb:395:in `collection_with_template'
|
150
|
+
actionpack (4.0.3) lib/action_view/renderer/partial_renderer.rb:291:in `render_collection'
|
151
|
+
actionpack (4.0.3) lib/action_view/renderer/partial_renderer.rb:275:in `block in render'
|
152
|
+
actionpack (4.0.3) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
153
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:159:in `block in instrument'
|
154
|
+
activesupport (4.0.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
155
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:159:in `instrument'
|
156
|
+
actionpack (4.0.3) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
157
|
+
actionpack (4.0.3) lib/action_view/renderer/partial_renderer.rb:274:in `render'
|
158
|
+
actionpack (4.0.3) lib/action_view/renderer/renderer.rb:47:in `render_partial'
|
159
|
+
actionpack (4.0.3) lib/action_view/helpers/rendering_helper.rb:27:in `render'
|
160
|
+
/Users/sindrenm/Code/hyper/public/feeder/app/views/feeder/items/index.html.erb:2:in `___sers_sindrenm__ode_hyper_public_feeder_app_views_feeder_items_index_html_erb__2358395137681251250_70317869406220'
|
161
|
+
actionpack (4.0.3) lib/action_view/template.rb:143:in `block in render'
|
162
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:161:in `instrument'
|
163
|
+
actionpack (4.0.3) lib/action_view/template.rb:141:in `render'
|
164
|
+
actionpack (4.0.3) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
|
165
|
+
actionpack (4.0.3) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
166
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:159:in `block in instrument'
|
167
|
+
activesupport (4.0.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
168
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:159:in `instrument'
|
169
|
+
actionpack (4.0.3) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
170
|
+
actionpack (4.0.3) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
|
171
|
+
actionpack (4.0.3) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
|
172
|
+
actionpack (4.0.3) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
|
173
|
+
actionpack (4.0.3) lib/action_view/renderer/template_renderer.rb:17:in `render'
|
174
|
+
actionpack (4.0.3) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
175
|
+
actionpack (4.0.3) lib/action_view/renderer/renderer.rb:23:in `render'
|
176
|
+
actionpack (4.0.3) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
177
|
+
actionpack (4.0.3) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
178
|
+
actionpack (4.0.3) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
179
|
+
actionpack (4.0.3) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
180
|
+
actionpack (4.0.3) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
181
|
+
actionpack (4.0.3) lib/abstract_controller/rendering.rb:97:in `render'
|
182
|
+
actionpack (4.0.3) lib/action_controller/metal/rendering.rb:16:in `render'
|
183
|
+
actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
184
|
+
activesupport (4.0.3) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
185
|
+
/Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
|
186
|
+
activesupport (4.0.3) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
187
|
+
actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
188
|
+
actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
189
|
+
activerecord (4.0.3) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
190
|
+
actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
191
|
+
actionpack (4.0.3) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
192
|
+
actionpack (4.0.3) lib/action_controller/metal/responder.rb:233:in `default_render'
|
193
|
+
actionpack (4.0.3) lib/action_controller/metal/responder.rb:161:in `to_html'
|
194
|
+
actionpack (4.0.3) lib/action_controller/metal/responder.rb:154:in `respond'
|
195
|
+
actionpack (4.0.3) lib/action_controller/metal/responder.rb:147:in `call'
|
196
|
+
actionpack (4.0.3) lib/action_controller/metal/mime_responds.rb:330:in `respond_with'
|
197
|
+
/Users/sindrenm/Code/hyper/public/feeder/app/controllers/feeder/items_controller.rb:17:in `index'
|
198
|
+
actionpack (4.0.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
199
|
+
actionpack (4.0.3) lib/abstract_controller/base.rb:189:in `process_action'
|
200
|
+
actionpack (4.0.3) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
201
|
+
actionpack (4.0.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
202
|
+
activesupport (4.0.3) lib/active_support/callbacks.rb:383:in `_run__1680170343178990362__process_action__callbacks'
|
203
|
+
activesupport (4.0.3) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
204
|
+
actionpack (4.0.3) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
205
|
+
actionpack (4.0.3) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
206
|
+
actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
207
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:159:in `block in instrument'
|
208
|
+
activesupport (4.0.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
209
|
+
activesupport (4.0.3) lib/active_support/notifications.rb:159:in `instrument'
|
210
|
+
actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
211
|
+
actionpack (4.0.3) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
|
212
|
+
activerecord (4.0.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
213
|
+
actionpack (4.0.3) lib/abstract_controller/base.rb:136:in `process'
|
214
|
+
actionpack (4.0.3) lib/abstract_controller/rendering.rb:44:in `process'
|
215
|
+
actionpack (4.0.3) lib/action_controller/metal.rb:195:in `dispatch'
|
216
|
+
actionpack (4.0.3) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
217
|
+
actionpack (4.0.3) lib/action_controller/metal.rb:231:in `block in action'
|
218
|
+
actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
219
|
+
actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
220
|
+
actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
221
|
+
actionpack (4.0.3) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
222
|
+
actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `each'
|
223
|
+
actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `call'
|
224
|
+
actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:680:in `call'
|
225
|
+
railties (4.0.3) lib/rails/engine.rb:511:in `call'
|
226
|
+
railties (4.0.3) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
227
|
+
actionpack (4.0.3) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
228
|
+
actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `each'
|
229
|
+
actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `call'
|
230
|
+
actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:680:in `call'
|
231
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
232
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
233
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
234
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
235
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
236
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
237
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
238
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
239
|
+
activerecord (4.0.3) lib/active_record/query_cache.rb:36:in `call'
|
240
|
+
activerecord (4.0.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
241
|
+
activerecord (4.0.3) lib/active_record/migration.rb:369:in `call'
|
242
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
243
|
+
activesupport (4.0.3) lib/active_support/callbacks.rb:373:in `_run__2194998276147177808__call__callbacks'
|
244
|
+
activesupport (4.0.3) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
245
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
246
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
247
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
248
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
249
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
250
|
+
railties (4.0.3) lib/rails/rack/logger.rb:38:in `call_app'
|
251
|
+
railties (4.0.3) lib/rails/rack/logger.rb:20:in `block in call'
|
252
|
+
activesupport (4.0.3) lib/active_support/tagged_logging.rb:67:in `block in tagged'
|
253
|
+
activesupport (4.0.3) lib/active_support/tagged_logging.rb:25:in `tagged'
|
254
|
+
activesupport (4.0.3) lib/active_support/tagged_logging.rb:67:in `tagged'
|
255
|
+
railties (4.0.3) lib/rails/rack/logger.rb:20:in `call'
|
256
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
257
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
258
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
259
|
+
activesupport (4.0.3) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
260
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
261
|
+
actionpack (4.0.3) lib/action_dispatch/middleware/static.rb:64:in `call'
|
262
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
263
|
+
railties (4.0.3) lib/rails/engine.rb:511:in `call'
|
264
|
+
railties (4.0.3) lib/rails/application.rb:97:in `call'
|
265
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
266
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
267
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
268
|
+
/Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
269
|
+
/Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
270
|
+
/Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
271
|
+
|
272
|
+
|
273
|
+
Rendered /Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
274
|
+
Rendered /Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (10.2ms)
|
275
|
+
Rendered /Users/sindrenm/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (22.5ms)
|
276
|
+
|
277
|
+
|
278
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:07:27 +0200
|
279
|
+
Processing by Feeder::ItemsController#index as JSON
|
280
|
+
[1m[36mFeeder::Item Load (0.3ms)[0m [1mSELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0[0m
|
281
|
+
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.3ms)
|
282
|
+
|
283
|
+
|
284
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:08:43 +0200
|
285
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
286
|
+
Processing by Feeder::ItemsController#index as JSON
|
287
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
288
|
+
Completed 200 OK in 21ms (Views: 9.4ms | ActiveRecord: 0.7ms)
|
289
|
+
|
290
|
+
|
291
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:08:44 +0200
|
292
|
+
Processing by Feeder::ItemsController#index as JSON
|
293
|
+
[1m[36mFeeder::Item Load (0.3ms)[0m [1mSELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0[0m
|
294
|
+
Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.3ms)
|
295
|
+
|
296
|
+
|
297
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:08:59 +0200
|
298
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
299
|
+
Processing by Feeder::ItemsController#index as JSON
|
300
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
301
|
+
Completed 200 OK in 22ms (Views: 8.6ms | ActiveRecord: 0.5ms)
|
302
|
+
|
303
|
+
|
304
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:09:40 +0200
|
305
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
306
|
+
Processing by Feeder::ItemsController#index as JSON
|
307
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
308
|
+
Completed 200 OK in 13ms (Views: 8.3ms | ActiveRecord: 0.5ms)
|
309
|
+
|
310
|
+
|
311
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:10:00 +0200
|
312
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
313
|
+
Processing by Feeder::ItemsController#index as JSON
|
314
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
315
|
+
Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.6ms)
|
316
|
+
|
317
|
+
|
318
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:10:15 +0200
|
319
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
320
|
+
Processing by Feeder::ItemsController#index as JSON
|
321
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
322
|
+
Completed 200 OK in 13ms (Views: 8.5ms | ActiveRecord: 0.6ms)
|
323
|
+
|
324
|
+
|
325
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:18:50 +0200
|
326
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
327
|
+
Processing by Feeder::ItemsController#index as JSON
|
328
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
329
|
+
Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.7ms)
|
330
|
+
|
331
|
+
|
332
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:18:51 +0200
|
333
|
+
Processing by Feeder::ItemsController#index as JSON
|
334
|
+
[1m[36mFeeder::Item Load (0.4ms)[0m [1mSELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0[0m
|
335
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms)
|
336
|
+
|
337
|
+
|
338
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:18:52 +0200
|
339
|
+
Processing by Feeder::ItemsController#index as JSON
|
340
|
+
[1m[35mFeeder::Item Load (0.3ms)[0m SELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0
|
341
|
+
Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.3ms)
|
342
|
+
|
343
|
+
|
344
|
+
Started GET "/feeder.json" for 127.0.0.1 at 2014-04-08 15:19:49 +0200
|
345
|
+
Processing by Feeder::ItemsController#index as JSON
|
346
|
+
[1m[36mFeeder::Item Load (0.4ms)[0m [1mSELECT "feeder_items".* FROM "feeder_items" ORDER BY "feeder_items"."sticky" DESC, "feeder_items"."created_at" DESC LIMIT 25 OFFSET 0[0m
|
347
|
+
Completed 200 OK in 15ms (Views: 6.1ms | ActiveRecord: 0.6ms)
|
348
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
349
|
+
Migrating to AddBlockedToFeederItems (20140526110451)
|
350
|
+
[1m[35m (0.1ms)[0m begin transaction
|
351
|
+
[1m[36m (1.2ms)[0m [1mALTER TABLE "feeder_items" ADD "blocked" boolean DEFAULT 'f' NOT NULL[0m
|
352
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140526110451"]]
|
353
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
354
|
+
Migrating to AddReportedToFeederItems (20140526110501)
|
355
|
+
[1m[35m (0.1ms)[0m begin transaction
|
356
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "feeder_items" ADD "reported" boolean DEFAULT 'f' NOT NULL[0m
|
357
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140526110501"]]
|
358
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
359
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|