Skip to content

Instantly share code, notes, and snippets.

@hecbuma
Created June 20, 2011 19:51
Show Gist options
  • Save hecbuma/1036419 to your computer and use it in GitHub Desktop.
Save hecbuma/1036419 to your computer and use it in GitHub Desktop.
hecbuma@hecbuma-lap:~/proyectos/fanvsfan$ script/server
=> Booting WEBrick
=> Rails 2.3.11 application starting on http://0.0.0.0:3000
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:3: warning: already initialized constant CREATED_DEBATES_TITLE
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:4: warning: already initialized constant IN_PROGRESS_DEBATES_TITLE
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:5: warning: already initialized constant COMPLETED_DEBATES_TITLE
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:6: warning: already initialized constant CREATED_STATES
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:7: warning: already initialized constant CHALLENGED_STATES
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:8: warning: already initialized constant IN_PROGRESS_STATES
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:9: warning: already initialized constant COMPLETED_STATES
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:10: warning: already initialized constant CLAIM_DISPLAY_LABEL
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:11: warning: already initialized constant GAME_DISPLAY_LABEL
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:12: warning: already initialized constant FANTASY_DISPLAY_LABEL
/home/hecbuma/proyectos/fanvsfan/app/models/debatable/timing.rb:4: warning: already initialized constant EXPIRATION_LIMIT_IN_HOURS
/home/hecbuma/proyectos/fanvsfan/app/models/debatable/timing.rb:5: warning: already initialized constant FANBOWL_TIME_LIMIT_IN_HOURS
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-06-20 12:30:41] INFO WEBrick 1.3.1
[2011-06-20 12:30:41] INFO ruby 1.8.7 (2011-02-18) [x86_64-linux]
[2011-06-20 12:30:46] INFO WEBrick::HTTPServer#start: pid=16541 port=3000
** has_many_polymorphs: autoload hook invoked
** has_many_polymorphs: preloading parent model Team
** has_many_polymorphs: preloading parent model League
SQL (0.1ms) SET NAMES 'utf8'
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
HostedBlog Load (0.3ms) SELECT SQL_NO_CACHE * FROM `hosted_blogs` WHERE (`hosted_blogs`.`domain` = 'localhost') LIMIT 1
Processing VipsController#show (for 127.0.0.1 at 2011-06-20 12:31:14) [GET]
Parameters: {"action"=>"show", "controller"=>"vips"}
Debate Load (1.2ms) SELECT * FROM
(SELECT claims.id, 'claim' AS debate_type, sport, state, fancasts.created_at as created_at FROM claims, fancasts WHERE fancasts.id = claims.last_fancast_id
UNION SELECT games.id, 'game' AS debate_type, sport, state, fancasts.created_at as created_at FROM games, fancasts WHERE fancasts.id = games.last_fancast_id
UNION SELECT fantasies.id, 'fantasy' AS debate_type, sport, state, fancasts.created_at as created_at FROM fantasies, fancasts WHERE fancasts.id = fantasies.last_fancast_id)
AS debates WHERE state IN ('fanbowl') ORDER BY created_at DESC
LIMIT 0, 5
Slug Load (0.3ms) SELECT SQL_NO_CACHE * FROM `slugs` WHERE (`slugs`.`scope` IS NULL AND `slugs`.`sequence` = '1' AND `slugs`.`name` = '33' AND `slugs`.`sluggable_type` = 'Claim') LIMIT 1
Slug Load (0.3ms) SELECT SQL_NO_CACHE * FROM `slugs` WHERE (`slugs`.`scope` IS NULL AND `slugs`.`sequence` = '1' AND `slugs`.`name` = '21' AND `slugs`.`sluggable_type` = 'Claim') LIMIT 1
Slug Load (0.2ms) SELECT SQL_NO_CACHE * FROM `slugs` WHERE (`slugs`.`scope` IS NULL AND `slugs`.`sequence` = '1' AND `slugs`.`name` = '20' AND `slugs`.`sluggable_type` = 'Claim') LIMIT 1
Claim Load (13.4ms) SELECT SQL_NO_CACHE claims.* FROM `claims` INNER JOIN `slugs` ON `slugs`.sluggable_id = `claims`.id AND `slugs`.sluggable_type = 'Claim' WHERE (`claims`.id IN (33,21,20) OR slugs.id IN (null))
Fancast Load (0.2ms) SELECT SQL_NO_CACHE * FROM `fancasts` WHERE (`fancasts`.`id` = 53)
Fancast Load (0.3ms) SELECT SQL_NO_CACHE * FROM `fancasts` WHERE (`fancasts`.`id` = 49)
Fancast Load (0.3ms) SELECT SQL_NO_CACHE * FROM `fancasts` WHERE (`fancasts`.`id` = 98)
User Load (0.3ms) SELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` = 105)
User Load (0.3ms) SELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` = 106)
User Load (0.3ms) SELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` = 99)
User Load (0.3ms) SELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` = 100)
User Load (0.3ms) SELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` = 97)
User Load (0.3ms) SELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` = 98)
UtmStop Load (0.4ms) SELECT SQL_NO_CACHE `utm_stops`.* FROM `utm_stops` INNER JOIN `live_streams` ON live_streams.utm_stop_id = utm_stops.id WHERE ('2011-06-20 17:31:14' >= start_at AND (stop_at IS NULL OR stop_at >= '2011-06-20 17:31:14')) LIMIT 1
Advertisement Load (0.2ms) SELECT SQL_NO_CACHE * FROM `advertisements` WHERE (`advertisements`.`page` = 'home' AND `advertisements`.`position` = 'header') LIMIT 1
Advertisement Load (0.2ms) SELECT SQL_NO_CACHE * FROM `advertisements` WHERE (`advertisements`.`page` = 'home' AND `advertisements`.`position` = 'sidebar') LIMIT 1
Redirected to http://fanvsfan.dev/sessions/check?host=&&redirect_to=
Filter chain halted as [#<Proc:0x00007f74b2107b28@/home/hecbuma/proyectos/fanvsfan/app/controllers/vips_controller.rb:5>] rendered_or_redirected.
Completed in 81ms (DB: 22) | 302 Found [http://-INVALID-.fanvsfan.dev/]
Rendered _box_includes (3.4ms)
Rendered _box_header (7.7ms)
Rendered _box_disabled (1.0ms)
Rendered _box (177.9ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment