Skip to content

Instantly share code, notes, and snippets.

@terracatta
Created January 17, 2011 20:57
Show Gist options
  • Save terracatta/783470 to your computer and use it in GitHub Desktop.
Save terracatta/783470 to your computer and use it in GitHub Desktop.
Snorby Mailer fail
{undefined method `to_html' for nil:NilClass
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/whiny_nil.rb:48:in `method_missing'\n/var/www/snorby/app/views/event_mailer/event_information.html.erb:37:in `_app_views_event_mailer_event_information_html_erb__58933898_93199420__764323796'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'\n/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/notifications.rb:54:in `instrument'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:59:in `block in _render_template'\n/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'\n/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\n/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:56:in `_render_template'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:26:in `render'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:114:in `_render_template'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:108:in `render_to_body'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:101:in `render_to_string'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:92:in `render'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/deprecated_api.rb:111:in `render'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:710:in `block in collect_responses_and_parts_order'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:725:in `each'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:725:in `block in each_template'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:720:in `each'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:720:in `each_template'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:706:in `collect_responses_and_parts_order'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:648:in `mail'\n/var/www/snorby/app/mailers/event_mailer.rb:11:in `event_information'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in `process_action'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120:in `process'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40:in `process'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/old_api.rb:75:in `process'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:446:in `process'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:441:in `initialize'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:425:in `new'\n/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.3/lib/action_mailer/base.rb:425:in `method_missing'\n/var/www/snorby/lib/snorby/jobs/event_mailer_job.rb:29:in `perform'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/backend/base.rb:83:in `invoke_job'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:119:in `block (2 levels) in run'\n/usr/local/lib/ruby/1.9.1/timeout.rb:57:in `timeout'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:119:in `block in run'\n/usr/local/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:118:in `run'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:177:in `reserve_and_run_one_job'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:103:in `block in work_off'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:102:in `times'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:102:in `work_off'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:77:in `block (2 levels) in start'\n/usr/local/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:76:in `block in start'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:73:in `loop'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/worker.rb:73:in `start'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/command.rb:100:in `run'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/command.rb:79:in `block in run_process'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/application.rb:250:in `call'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/application.rb:250:in `block in start_proc'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/daemonize.rb:199:in `call'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/daemonize.rb:199:in `call_as_daemon'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/application.rb:254:in `start_proc'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/application.rb:294:in `start'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/controller.rb:70:in `run'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons.rb:193:in `block in run_proc'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/cmdline.rb:112:in `call'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons/cmdline.rb:112:in `catch_exceptions'\n/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.1.0/lib/daemons.rb:192:in `run_proc'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/command.rb:78:in `run_process'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/command.rb:72:in `block in daemonize'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/command.rb:70:in `times'\n/usr/local/lib/ruby/gems/1.9.1/bundler/gems/delayed_job-be8de9f/lib/delayed/command.rb:70:in `daemonize'\nscript/delayed_job:5:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment