Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SyntaxError in News#index
- Showing app/views/news/index.rhtml where line #10 raised:
- compile error
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:10: syntax error, unexpected '<'
- _erbout.concat " <li>"; _erbout.concat(( link_to "Recently", {:controller => 'news', :action => 'index'}, :class => ((params[:year].blank? || params[:year] == "2008")? "active" : "")></li>
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:11: unknown regexp option - l
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:11: unmatched ): /li>
- <li><%= link_to "2007", {:controller => 'news', :action => 'year', :id => 2007}, :class => (params[:year] == "2007" ? "active" : "") ).to_s); _erbout.concat "</
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:11: syntax error, unexpected $undefined
- <li><%= link_to "2007", {:controller => 'news', :action => 'year', :id => 2007}, :class => (params[:year] == "2007" ? "active" : "") ).to_s); _erbout.concat "</li>\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:12: syntax error, unexpected tINTEGER, expecting ')'
- _erbout.concat " <li>"; _erbout.concat(( link_to "2006", {:controller => 'news', :action => 'year', :id => 2006}, :class => (params[:year] == "2006" ? "active" : "") ).to_s); _erbout.concat "</li>\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:12: syntax error, unexpected tINTEGER, expecting ')'
- _erbout.concat " <li>"; _erbout.concat(( link_to "2006", {:controller => 'news', :action => 'year', :id => 2006}, :class => (params[:year] == "2006" ? "active" : "") ).to_s); _erbout.concat "</li>\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:12: syntax error, unexpected tIDENTIFIER, expecting ')'
- _erbout.concat " <li>"; _erbout.concat(( link_to "2006", {:controller => 'news', :action => 'year', :id => 2006}, :class => (params[:year] == "2006" ? "active" : "") ).to_s); _erbout.concat "</li>\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:13: unknown regexp option - l
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:13: syntax error, unexpected $undefined
- _erbout.concat "</ul>\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:14: syntax error, unexpected $undefined, expecting ')'
- _erbout.concat "\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:15: syntax error, unexpected kCLASS, expecting kDO or '{' or '('
- _erbout.concat "<div class=\"grand-slam nobackground\">\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:32: syntax error, unexpected kDO_BLOCK, expecting ')'
- _erbout.concat " "; @press_releases.each do |press_release| ; _erbout.concat "\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:38: syntax error, unexpected kEND, expecting ')'
- _erbout.concat " "; end ; _erbout.concat "\n"
- ^
- /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/../app/views/news/index.rhtml:82: syntax error, unexpected kEND, expecting ')'
- Extracted source (around line #10):
- 7: <h2><span>We’re thrilled with the reaction users, our peers and the industry have had with FiveRuns’</span> innovative approach to Rails application monitoring.</h2>
- 8:
- 9: <ul id="subnav">
- 10: <li><%= link_to "Recently", {:controller => 'news', :action => 'index'}, :class => ((params[:year].blank? || params[:year] == "2008")? "active" : "")></li>
- 11: <li><%= link_to "2007", {:controller => 'news', :action => 'year', :id => 2007}, :class => (params[:year] == "2007" ? "active" : "") %></li>
- 12: <li><%= link_to "2006", {:controller => 'news', :action => 'year', :id => 2006}, :class => (params[:year] == "2006" ? "active" : "") %></li>
- 13: </ul>
- Trace of template inclusion: /app/views/news/index.rhtml
- RAILS_ROOT: /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/..
- Application Trace | Framework Trace | Full Trace
- #{RAILS_ROOT}/app/views/news/index.rhtml:82:in `compile_template'
- /usr/bin/thin:19:in `load'
- /usr/bin/thin:19
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:319:in `compile_and_render_template'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:806:in `render_file'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:711:in `render_with_no_layout'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:247:in `render_without_benchmark'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'
- /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1096:in `perform_action_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
- #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:54:in `serve_rails'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:74:in `call'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:59:in `pre_process'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:50:in `process'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:35:in `receive_data'
- /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine'
- /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/backends/base.rb:45:in `start'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/server.rb:146:in `start'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/controllers/controller.rb:79:in `start'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `send'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `run_command'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:136:in `run!'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/bin/thin:6
- #{RAILS_ROOT}/app/views/news/index.rhtml:82:in `compile_template'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:319:in `compile_and_render_template'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:806:in `render_file'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:711:in `render_with_no_layout'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:247:in `render_without_benchmark'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'
- /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1096:in `perform_action_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
- #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:54:in `serve_rails'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:74:in `call'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:59:in `pre_process'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:50:in `process'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:35:in `receive_data'
- /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine'
- /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/backends/base.rb:45:in `start'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/server.rb:146:in `start'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/controllers/controller.rb:79:in `start'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `send'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `run_command'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:136:in `run!'
- /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/bin/thin:6
- /usr/bin/thin:19:in `load'
- /usr/bin/thin:19
- Request
- Parameters: None
- Show session dump
- ---
- :user_id: 14
- :requested_page:
- flash: !map:ActionController::Flash::FlashHash {}
- Response
- Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
Add Comment
Please, Sign In to add comment