Created
March 24, 2014 17:58
-
-
Save anonymous/9745552 to your computer and use it in GitHub Desktop.
log of index action in microposts_controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/microposts" for 10.0.2.2 at 2014-03-24 14:54:54 -0400 | |
Processing by MicropostsController#index as HTML | |
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to | |
get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from find_with_reputation at /home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/bundler/gems/activerecord-reputation-system-01197ad78cac/lib/reputation_system/finder_methods.rb:30) | |
Micropost Load (4.7ms) SELECT microposts.*, COALESCE(rs_reputations.value, 0) AS votes FROM "microposts" LEFT JOIN rs_reputations ON microposts.id = rs_reputations.target_id AND rs_reputations.target_type = 'Micropost' AND rs_reputations.reputation_name = 'votes' AND rs_reputations.active = 't' ORDER BY created_at DESC LIMIT 30 OFFSET 0 | |
(1.9ms) SELECT COUNT(*) FROM "microposts" LEFT JOIN rs_reputations ON microposts.id = rs_reputations.target_id AND rs_reputations.target_type = 'Micropost' AND | |
rs_reputations.reputation_name = 'votes' AND rs_reputations.active = 't' | |
User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = 'f2c944869f2be3fc4b10bc43498e46e806f65dc5' LIMIT 1 | |
User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] | |
ReputationSystem::Reputation Load (1.6ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 382 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.4ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 381 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.6ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 379 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.6ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 378 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.4ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 377 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.1ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 376 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.2ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 375 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.1ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 374 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.0ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 373 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.8ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 372 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.4ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 371 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.0ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 370 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (3.5ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 369 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.9ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 368 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.5ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 367 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (5.5ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 366 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.9ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 365 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.8ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 364 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (3.0ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 363 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.1ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 362 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (3.0ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 361 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.7ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 360 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (3.5ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 359 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.5ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 358 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (3.2ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 357 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.0ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 356 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.5ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 355 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.6ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 354 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (2.6ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 353 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 101]] | |
ReputationSystem::Reputation Load (1.8ms) SELECT "rs_reputations".* FROM "rs_reputations" WHERE "rs_reputations"."reputation_name" = 'votes' AND "rs_reputations"."target_id" = 352 AND "rs_reputations"."target_type" = 'Micropost' LIMIT 1 | |
Rendered shared/_feed_item.html.erb (627.5ms) | |
Rendered shared/_public_feed.html.erb (697.3ms) | |
Rendered microposts/index.html.erb within layouts/application (760.8ms) | |
Rendered layouts/_shim.html.erb (0.3ms) | |
Rendered layouts/_header.html.erb (1.0ms) | |
Rendered layouts/_footer.html.erb (0.3ms) | |
Completed 200 OK in 1471ms (Views: 1361.8ms | ActiveRecord: 82.0ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment