Something has gone wrong!
ActionView::TemplateError (undefined method `name' for nil:NilClass) on line #1 of app/views/news/category.html.erb: 1: <h1><%=h @category.name %> 2: <% if @category.display_rss_feed -%> 3: <% link_to( @category.rss_url, :target => "_blank" ) do -%> 4: <%= image_tag 'feed.png' %> app/views/news/category.html.erb:1 app/controllers/news_controller.rb:20:in `category' app/views/routing/index.html.erb:3 app/controllers/routing_controller.rb:35:in `index' thin (1.5.0) lib/thin/connection.rb:81:in `pre_process' thin (1.5.0) lib/thin/connection.rb:79:in `catch' thin (1.5.0) lib/thin/connection.rb:79:in `pre_process' thin (1.5.0) lib/thin/connection.rb:54:in `process' thin (1.5.0) lib/thin/connection.rb:39:in `receive_data' eventmachine (1.0.0) lib/eventmachine.rb:187:in `run_machine' eventmachine (1.0.0) lib/eventmachine.rb:187:in `run' thin (1.5.0) lib/thin/backends/base.rb:63:in `start' thin (1.5.0) lib/thin/server.rb:159:in `start' thin (1.5.0) lib/thin/controllers/controller.rb:86:in `start' thin (1.5.0) lib/thin/runner.rb:187:in `send' thin (1.5.0) lib/thin/runner.rb:187:in `run_command' thin (1.5.0) lib/thin/runner.rb:152:in `run!' thin (1.5.0) bin/thin:6 /home/triadmin/.rvm/gems/ruby-1.8.7-p371@kunr/bin/thin:19:in `load' /home/triadmin/.rvm/gems/ruby-1.8.7-p371@kunr/bin/thin:19 /home/triadmin/.rvm/gems/ruby-1.8.7-p371@kunr/bin/ruby_noexec_wrapper:14
On line #1 of app/views/news/category.html.erb
1: <%=h @category.name %>
2: <% if @category.display_rss_feed -%>
3: <% link_to( @category.rss_url, :target => "_blank" ) do -%>
4: <%= image_tag 'feed.png' %>
app/views/news/category.html.erb:1
app/controllers/news_controller.rb:20:in `category'
app/views/routing/index.html.erb:3
app/controllers/routing_controller.rb:35:in `index'
thin (1.5.0) lib/thin/connection.rb:81:in `pre_process'
thin (1.5.0) lib/thin/connection.rb:79:in `catch'
thin (1.5.0) lib/thin/connection.rb:79:in `pre_process'
thin (1.5.0) lib/thin/connection.rb:54:in `process'
thin (1.5.0) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.0.0) lib/eventmachine.rb:187:in `run_machine'
eventmachine (1.0.0) lib/eventmachine.rb:187:in `run'
thin (1.5.0) lib/thin/backends/base.rb:63:in `start'
thin (1.5.0) lib/thin/server.rb:159:in `start'
thin (1.5.0) lib/thin/controllers/controller.rb:86:in `start'
thin (1.5.0) lib/thin/runner.rb:187:in `send'
thin (1.5.0) lib/thin/runner.rb:187:in `run_command'
thin (1.5.0) lib/thin/runner.rb:152:in `run!'
thin (1.5.0) bin/thin:6
/home/triadmin/.rvm/gems/ruby-1.8.7-p371@kunr/bin/thin:19:in `load'
/home/triadmin/.rvm/gems/ruby-1.8.7-p371@kunr/bin/thin:19
/home/triadmin/.rvm/gems/ruby-1.8.7-p371@kunr/bin/ruby_noexec_wrapper:14