Showing app/views/jobs/show.html.haml where line #4 raised:
undefined method `orig_html' for nil:NilClass
Extracted source (around line #4):
1: - content_for :header_info do
2: = render :partial => 'layouts/google_text_ads'
3: #description
4: = truncate_text @job.orig_html, 2048
5: #applied-notice
6: %h4
7: = flash[:message]
RAILS_ROOT: /var/rails_apps/sta
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/whiny_nil.rb:52:in `method_missing'
/var/rails_apps/sta/app/views/jobs/show.html.haml:4:in `_run_haml_app47views47jobs47show46html46haml'
/var/rails_apps/sta/app/views/jobs/show.html.haml:1:in `_run_haml_app47views47jobs47show46html46haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/whiny_nil.rb:52:in `method_missing'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:93:in `capture'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:345:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:345:in `capture_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:569:in `with_haml_buffer'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:341:in `capture_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:93:in `capture'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/helpers/capture_helper.rb:120:in `content_for'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/renderable.rb:34:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/renderable.rb:34:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:306:in `with_template'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/renderable.rb:30:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/template.rb:205:in `render_template'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:265:in `render_without_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:13:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:348:in `_render_with_layout'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:262:in `render_without_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:13:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1252:in `render_for_file'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:936:in `render_without_benchmark'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:51:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:51:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1328:in `default_render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1334:in `perform_action_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:in `call_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in `perform_action'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `process_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/routing/route_set.rb:438:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87:in `dispatch'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:121:in `_call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/sass-3.2.9/lib/sass/plugin/rack.rb:54:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/head.rb:9:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/cache/strategy/local_cache.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:114:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/reloader.rb:34:in `run'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:108:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/whiny_nil.rb:52:in `method_missing'
/var/rails_apps/sta/app/views/jobs/show.html.haml:4:in `_run_haml_app47views47jobs47show46html46haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:93:in `capture'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:345:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:345:in `capture_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:569:in `with_haml_buffer'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers.rb:341:in `capture_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:93:in `capture'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/helpers/capture_helper.rb:120:in `content_for'
/var/rails_apps/sta/app/views/jobs/show.html.haml:1:in `_run_haml_app47views47jobs47show46html46haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/renderable.rb:34:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/renderable.rb:34:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:306:in `with_template'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/renderable.rb:30:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/template.rb:205:in `render_template'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:265:in `render_without_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:13:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:348:in `_render_with_layout'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_view/base.rb:262:in `render_without_haml'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb:13:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1252:in `render_for_file'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:936:in `render_without_benchmark'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:51:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:51:in `render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1328:in `default_render'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1334:in `perform_action_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:in `call_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in `perform_action'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `process_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/routing/route_set.rb:438:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87:in `dispatch'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:121:in `_call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/sass-3.2.9/lib/sass/plugin/rack.rb:54:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/head.rb:9:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/cache/strategy/local_cache.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:114:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/reloader.rb:34:in `run'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:108:in `call'
/opt/passenger-4.0.20/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:441:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:435:in `initialize'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:435:in `new'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:435:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:434:in `times'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:434:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:433:in `synchronize'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:433:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:200:in `main_loop'
/opt/passenger-4.0.20/helper-scripts/rack-preloader.rb:153
Parameters:
{"id"=>"3289576", "firma"=>"show"}
---
Headers:
{"Access-Control-Allow-Origin"=>"*", "Content-Type"=>"text/html", "Access-Control-Allow-Methods"=>"*", "Cache-Control"=>"no-cache"}