gethundos (owner)

Revisions

gist: 225477 Download_button fork
public
Public Clone URL: git://gist.github.com/225477.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
merb : worker (port 4000) ~ Started request handling: Tue Nov 03 13:40:12 -0800 2009
merb : worker (port 4000) ~ Routed to: {"action"=>"brands", "controller"=>"static/home"}
merb : worker (port 4000) ~ Params: {"action"=>"brands", "controller"=>"static/home"}
merb : worker (port 4000) ~ ### {"merb.request"=>#<Merb::Request:0x7fd01869d170 @multipart_params={}, @cookies={"_twitter-pages_session_id"=>"BAh7CCIPYWNjb3VudF9pZGkGIg9zaXRlX3RpdGxlMCIMc2l0ZV9pZGkG--46343cbef3c3fccfa45fe520d762bc27879bdc72"}, @json_params=nil, @params={"action"=>"brands", "controller"=>"static/home"}, @env={...}, @session_stores={:cookie=>{"account_id"=>1, "site_title"=>nil, "site_id"=>1}}, @body_params=nil, @query_params={}, @method=:get, @body=#<StringIO:0x7fd0186b1350>, @xml_params=nil, @body_and_query_params={}, @route=/top-twitter-brands.html, @route_params={:controller=>"static/home", :action=>"brands"}>, "HTTP_HOST"=>"www.leo.icheddr.com:4000", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "HTTP_CACHE_CONTROL"=>"max-age=0", "SERVER_NAME"=>"www.leo.icheddr.com", "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/top-twitter-brands.html", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 GTB6", "HTTP_KEEP_ALIVE"=>"300", "merb.status"=>200, "rack.errors"=>#<IO:0x7fd01d7a0ab8>, "HTTP_ACCEPT_LANGUAGE"=>"en-us,en;q=0.5", "SERVER_PROTOCOL"=>"HTTP/1.1", "merb.request_start"=>Tue Nov 03 13:40:12 -0800 2009, "rack.version"=>[0, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/top-twitter-brands.html", "REMOTE_ADDR"=>"192.168.1.143", "SCRIPT_NAME"=>"", "merb.action_name"=>"brands", "rack.multithread"=>true, "HTTP_VERSION"=>"HTTP/1.1", "HTTP_COOKIE"=>"_twitter-pages_session_id=BAh7CCIPYWNjb3VudF9pZGkGIg9zaXRlX3RpdGxlMCIMc2l0ZV9pZGkG--46343cbef3c3fccfa45fe520d762bc27879bdc72", "rack.multiprocess"=>false, "REQUEST_URI"=>"/top-twitter-brands.html", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.7", "SERVER_PORT"=>"4000", "REQUEST_METHOD"=>"GET", "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x7fd0186b1350>, "HTTP_ACCEPT_ENCODING"=>"gzip,deflate", "HTTP_CONNECTION"=>"keep-alive", "GATEWAY_INTERFACE"=>"CGI/1.2"}
merb : worker (port 4000) ~ In repository block default
merb : worker (port 4000) ~ undefined method `title' for nil:NilClass - (NoMethodError)
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/app/views/static/home/brands.html.erb:71:in `__home__leo__projects__ruby__twitter__pages__build__twitter__pages__app__views__static__home__brands_html_erb'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/extlib-0.9.13/lib/extlib/lazy_array.rb:452:in `each'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/extlib-0.9.13/lib/extlib/lazy_array.rb:452:in `each'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/app/views/static/home/brands.html.erb:66:in `__home__leo__projects__ruby__twitter__pages__build__twitter__pages__app__views__static__home__brands_html_erb'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/mixins/render.rb:137:in `send'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/mixins/render.rb:137:in `render'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/app/controllers/static/home.rb:13:in `brands'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-action-args-1.1/lib/merb-action-args/abstract_controller.rb:42:in `__send__'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-action-args-1.1/lib/merb-action-args/abstract_controller.rb:42:in `_call_action'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb_datamapper-1.1/lib/merb_datamapper.rb:84:in `_call_action'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/dm-core-0.10.1/lib/dm-core.rb:199:in `repository'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/dm-core-0.10.1/lib/dm-core/repository.rb:107:in `scope'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/dm-core-0.10.1/lib/dm-core.rb:199:in `repository'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb_datamapper-1.1/lib/merb_datamapper.rb:82:in `_call_action'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/abstract_controller.rb:284:in `catch'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/abstract_controller.rb:284:in `_dispatch'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/merb_controller.rb:285:in `_dispatch'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/merb_controller.rb:262:in `_call'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/controller/merb_controller.rb:252:in `call'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/dispatch/dispatcher.rb:96:in `dispatch_action'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/dispatch/dispatcher.rb:96:in `synchronize'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/dispatch/dispatcher.rb:96:in `dispatch_action'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/dispatch/dispatcher.rb:74:in `handle'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/dispatch/dispatcher.rb:36:in `handle'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/rack/application.rb:17:in `call'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/rack/middleware/static.rb:28:in `call'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/rack/handler/mongrel.rb:82:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/rack/adapter/mongrel.rb:38:in `start_server'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/rack/adapter/abstract.rb:295:in `start_at_port'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/rack/adapter/abstract.rb:128:in `start'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/server.rb:174:in `bootup'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core/server.rb:42:in `start'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/lib/merb-core.rb:170:in `start'
/home/leo/projects/ruby/twitter-pages/build/twitter-pages/gems/gems/merb-core-1.1/bin/merb:11
bin/merb:31:in `load'
bin/merb:31
merb : worker (port 4000) ~ Params: {"action"=>"brands", "controller"=>"static/home"}
merb : worker (port 4000) ~ {:action_time=>0.056766, :after_filters_time=>2.0e-05, :before_filters_time=>4.4e-05, :dispatch_time=>0.341236}
merb : worker (port 4000) ~