Skip to content

Instantly share code, notes, and snippets.

@etrikp
Created October 5, 2011 16:09
Show Gist options
  • Save etrikp/1264841 to your computer and use it in GitHub Desktop.
Save etrikp/1264841 to your computer and use it in GitHub Desktop.
Rendering pull_requests/show
User Load (1.0ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)
Repository Load (1.0ms) SELECT * FROM `repositories` WHERE (`repositories`.`source_id` = 4 AND `repositories`.`owner_id` = 2) LIMIT 1
Repository Exists (0.0ms) SELECT `repositories`.id FROM `repositories` INNER JOIN `watched_repositories` ON `repositories`.id = `watched_repositories`.repository_id WHERE (`repositories`.`id` = 4) AND (`watched_repositories`.user_id = 2 ) LIMIT 1
SQL (1.0ms) SELECT count(DISTINCT `users`.id) AS count_users_id FROM `users` INNER JOIN team_members ON users.id = team_members.organization_id WHERE ((`team_members`.user_id = 2)) AND ( (`users`.`type` = 'Organization' ) )
Organization Load (1.0ms) SELECT DISTINCT `users`.* FROM `users` INNER JOIN team_members ON users.id = team_members.organization_id WHERE ((`team_members`.user_id = 2)) AND ( (`users`.`type` = 'Organization' ) )
Repository Load (1.0ms) SELECT * FROM `repositories` WHERE (`repositories`.`source_id` = 4 AND `repositories`.`owner_id` = 3) LIMIT 1
Rendered repositories/_details (24.0ms)
CACHE (0.0ms) SELECT * FROM `repositories` WHERE (`repositories`.`source_id` = 4) AND (`repositories`.owner_id = 3) LIMIT 1
CACHE (0.0ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)
CACHE (0.0ms) SELECT * FROM `repositories` WHERE (`repositories`.`source_id` = 4) AND (`repositories`.owner_id = 3) LIMIT 1
CACHE (0.0ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)
SQL (0.0ms) SELECT count(*) AS count_all FROM `issue_comments` WHERE (`issue_comments`.issue_id = 50)
Rendered comments/_starting_comment (36.0ms)
CACHE (0.0ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 4)
Rendered comments/_comment (21.0ms)
Rendered comments/_comment (14.0ms)
Rendered comments/_comment (8.0ms)
Rendered comments/_comment (12.0ms)
Rendered comments/_comment (10.0ms)
Rendered comments/_comment (30.0ms)
Rendered comments/_comment (6.0ms)
Rendered comments/_comment (7.0ms)
Rendered comments/_comment (10.0ms)
ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line #53 of app/views/comments/_comment.html.erb:
50: <div class="title content-title"><%=h title %></div>
51: <% end %>
52: <div class="content-body wikistyle">
53: <%= github_flavored_markdown body %>
54: </div>
55: </div>
56: <% if admin %>
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:528:in `read_inline_code'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:89:in `read_span'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:46:in `parse_span_better'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:36:in `parse_lines_as_span'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:275:in `read_paragraph'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:158:in `read_text_material'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:69:in `parse_blocks'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:41:in `parse_text_as_markdown'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:57:in `parse_doc'
vendor/gems/jruby/1.8/gems/maruku-0.6.0/lib/maruku/maruku.rb:30:in `initialize'
app/helpers/text_helper.rb:73:in `new'
app/helpers/text_helper.rb:73:in `github_flavored_markdown'
app/views/comments/_comment.html.erb:53
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render'
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:73:in `render_template'
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:45:in `render_partial'
vendor/rails/actionpack/lib/action_view/partials.rb:152:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:258:in `render'
app/views/pull_requests/show.html.erb:99
app/views/pull_requests/show.html.erb:89:in `each'
app/views/pull_requests/show.html.erb:89
app/views/pull_requests/show.html.erb:83:in `each'
app/views/pull_requests/show.html.erb:83:in `each_with_index'
app/views/pull_requests/show.html.erb:83
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:73:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:256:in `render'
vendor/rails/actionpack/lib/action_view/base.rb:367:in `_render_with_layout'
vendor/rails/actionpack/lib/action_view/base.rb:254:in `render'
vendor/rails/actionpack/lib/action_controller/base.rb:1174:in `render_for_file'
vendor/rails/actionpack/lib/action_controller/base.rb:896:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
vendor/plugins/wicked_pdf/lib/pdf_helper.rb:15:in `render_with_wicked_pdf'
vendor/rails/actionpack/lib/action_controller/base.rb:868:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
vendor/plugins/wicked_pdf/lib/pdf_helper.rb:15:in `render_with_wicked_pdf'
vendor/rails/actionpack/lib/action_controller/base.rb:1248:in `default_render'
vendor/rails/actionpack/lib/action_controller/base.rb:1254:in `perform_action'
vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters'
lib/github/timer.rb:32:in `timeout'
app/controllers/application.rb:169:in `request_timeout_filter'
vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method'
vendor/rails/actionpack/lib/action_controller/filters.rb:186:in `call'
vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_with_filters'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
/opt/GitHubFI-2.7/jruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in `perform_action_with_rescue'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action_with_caching'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action_with_caching'
app/controllers/application.rb:143:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process'
vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process_with_filters'
vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in `process_with_session_management_support'
vendor/rails/actionpack/lib/action_controller/base.rb:392:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in `handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:in `dispatch'
vendor/internal-gems/unicorn/lib/unicorn/app/old_rails.rb:21:in `call'
vendor/gems/jruby/1.8/gems/oa-core-0.2.0.beta3/lib/omniauth/strategy.rb:91:in `call_app!'
vendor/gems/jruby/1.8/gems/oa-core-0.2.0.beta3/lib/omniauth/strategy.rb:40:in `call!'
vendor/gems/jruby/1.8/gems/oa-core-0.2.0.beta3/lib/omniauth/strategy.rb:23:in `call'
vendor/gems/jruby/1.8/gems/oa-core-0.2.0.beta3/lib/omniauth/builder.rb:30:in `call'
lib/rack/store_omniauth.rb:17:in `call'
lib/rack/content_type_cleaner.rb:11:in `call'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/session/cookie.rb:37:in `call'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/urlmap.rb:47:in `call'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/urlmap.rb:41:in `each'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/urlmap.rb:41:in `call'
lib/rack/process_utilization.rb:131:in `call'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/content_length.rb:13:in `call'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/chunked.rb:15:in `call'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/handler/mongrel.rb:67:in `process'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:159:in `process_client'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:158:in `each'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:158:in `process_client'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:285:in `run'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:285:in `initialize'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:285:in `new'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:285:in `run'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:268:in `initialize'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:268:in `new'
vendor/gems/jruby/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:268:in `run'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/handler/mongrel.rb:38:in `run'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/server.rb:213:in `start'
vendor/gems/jruby/1.8/gems/rack-1.2.0/lib/rack/server.rb:100:in `start'
vendor/gems/jruby/1.8/gems/rack-1.2.0/bin/rackup:4
vendor/gems/jruby/1.8/gems/rack-1.2.0/bin/rackup:3:in `load'
bin/rackup:3
Rendering /opt/GitHubFI-2.7/github/public/500.html (500 Internal Server Error)
@avalanche123
Copy link

did you figure out what was wrong?

@etrikp
Copy link
Author

etrikp commented Oct 11, 2011

Yes, it was an issue with code fencing. After a search an replace on he offending comment things are working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment