Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mojombo
Created August 7, 2008 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mojombo/4443 to your computer and use it in GitHub Desktop.
Save mojombo/4443 to your computer and use it in GitHub Desktop.
ActionView::TemplateError in Gists/mine
Request
* URL: http://gist.github.com/mine
* Format: text/html
* Parameters: {“action”=>”mine”, “controller”=>”gists”}
* Rails Root: /data/github/releases/20080807031653
Backtrace
"can't convert nil into String"
On line #8 of gists/_short_gist.html.erb
5: <div class="file">
6: <div class="meta <%= gist.public ? 'public' : 'private' %> inline-gravatar" <%= gravatar_for_gist(gist) %>>
7: <div class="info">
8: <span><%= link_to gist.full_repo_name, gist_path(gist) %></span>
9: <span><%= truncate gist.description.to_s %></span>
10: </div>
11: <div class="right">
app/models/gist.rb:191:in `+'
app/models/gist.rb:191:in `full_repo_name'
app/views/gists/_short_gist.html.erb:8:in `_run_erb_47app47views47gists47_short_gist46html46erb'
vendor/rails/actionpack/lib/action_controller/caching/fragments.rb:72:in `call'
vendor/rails/actionpack/lib/action_controller/caching/fragments.rb:72:in `fragment_for'
vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb:32:in `cache_fragment'
vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb:36:in `cache'
app/views/gists/_short_gist.html.erb:4:in `_run_erb_47app47views47gists47_short_gist46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:387:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:387:in `compile_and_render_template'
vendor/rails/actionpack/lib/action_view/base.rb:335:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:282:in `render_file'
vendor/rails/actionpack/lib/action_view/base.rb:297:in `render'
vendor/rails/actionpack/lib/action_view/partials.rb:121:in `render_partial'
vendor/rails/actionpack/lib/action_view/partials.rb:147:in `render_partial_collection'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:38:in `each_with_index'
vendor/rails/actionpack/lib/action_view/partials.rb:145:in `each'
vendor/rails/actionpack/lib/action_view/partials.rb:145:in `each_with_index'
vendor/rails/actionpack/lib/action_view/partials.rb:145:in `render_partial_collection'
vendor/rails/actionpack/lib/action_view/base.rb:318:in `render'
app/views/gists/index.html.erb:5:in `_run_erb_47app47views47gists47index46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:387:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:387:in `compile_and_render_template'
vendor/rails/actionpack/lib/action_view/base.rb:335:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:282:in `render_file'
vendor/rails/actionpack/lib/action_controller/base.rb:1107:in `render_for_file'
vendor/rails/actionpack/lib/action_controller/base.rb:863:in `render_with_no_layout'
vendor/rails/actionpack/lib/action_controller/base.rb:878:in `render_with_no_layout'
vendor/rails/actionpack/lib/action_controller/layout.rb:255:in `render_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render_without_trace_View____determine_metric_path__Rendering'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render_without_trace_View____determine_metric_path__Rendering'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:113:in `render'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:38:in `trace_method_execution'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:112:in `render'
app/controllers/gists_controller.rb:24:in `mine'
vendor/rails/actionpack/lib/action_controller/base.rb:1165:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:1165:in `perform_action_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:699:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:691:in `perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action_without_newrelic_trace'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33: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_without_newrelic_trace'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/action_controller.rb:25:in `perform_action'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:38:in `trace_method_execution'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/action_controller.rb:20:in `perform_action'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:38:in `trace_method_execution'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/action_controller.rb:14:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:687:in `process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:390:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:164:in `handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:105:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:102:in `synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:102:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:118:in `dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:11:in `dispatch_without_trace_Rails_HTTP_Dispatch'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:113:in `dispatch'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:38:in `trace_method_execution'
vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:112:in `dispatch'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/rails.rb:76:in `process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/rails.rb:74:in `synchronize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/rails.rb:74:in `process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:159:in `process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:158:in `each'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:158:in `process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:285:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:285:in `initialize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:285:in `new'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:285:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:268:in `initialize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:268:in `new'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel.rb:268:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/configurator.rb:282:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/configurator.rb:281:in `each'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/configurator.rb:281:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/bin/mongrel_rails:129:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/command.rb:212:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5.1/bin/mongrel_rails:280
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19
Environment
* GATEWAY_INTERFACE : CGI/1.2
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,/*;q=0.8
* HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,;q=0.7
* HTTP_ACCEPT_ENCODING: gzip,deflate
* HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
* HTTP_CONNECTION : close
* HTTP_COOKIE : __utma=58162108.2211636912045514800.1216107378.1218088076.1218091777.69; __utmz=58162108.1217787864.60.16.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=jsjac%20muc; __utma=104194838.856151526186200400.1216275670.1218090512.1218092338.48; __utmz=104194838.1217607708.43.11.utmcsr=search|utmccn=(organic)|utmcmd=organic|utmctr=github%20-commit; _github_sess=BAh7CDoOcmV0dXJuX3RvMDoJdXNlcmkGIgpmbGFzaElDOidBY3Rpb25Db250%250Acm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA—056b073eadcf8a183157338ec86e627a8151db31; __utmc=58162108; auth_token=5799c97a95ac068333905c55dfd56dc7b463bd2a; __utmc=104194838
* HTTP_HOST : gist.github.com
* HTTP_REFERER : http://gist.github.com/4345
* HTTP_USER_AGENT : Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
* HTTP_VERSION : HTTP/1.0
* HTTP_X_FORWARDED_FOR: 67.101.208.219
* HTTP_X_REAL_IP : 67.101.208.219
* PATH_INFO : /mine
* REMOTE_ADDR : 127.0.0.1
* REQUEST_METHOD : GET
* REQUEST_PATH : /mine
* REQUEST_URI : /mine
* SCRIPT_NAME : /
* SERVER_NAME : gist.github.com
* SERVER_PORT : 80
* SERVER_PROTOCOL : HTTP/1.1
* SERVER_SOFTWARE : Mongrel 1.1.5.1
* Process: 29598
* Server : xc88-s00008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment