{"action":"opened","issue":{"url":"https://api.github.com/repos/enspiral/enspiral/issues/232","repository_url":"https://api.github.com/repos/enspiral/enspiral","labels_url":"https://api.github.com/repos/enspiral/enspiral/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/enspiral/enspiral/issues/232/comments","events_url":"https://api.github.com/repos/enspiral/enspiral/issues/232/events","html_url":"https://github.com/enspiral/enspiral/issues/232","id":134548903,"number":232,"title":"[Airbrake] [Staging] NoMethodError: undefined method `paid_on' for #<Xeroizer::Record::Invoice:0xa7da9ec>","user":{"login":"joshuavial","id":72309,"avatar_url":"https://avatars.githubusercontent.com/u/72309?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuavial","html_url":"https://github.com/joshuavial","followers_url":"https://api.github.com/users/joshuavial/followers","following_url":"https://api.github.com/users/joshuavial/following{/other_user}","gists_url":"https://api.github.com/users/joshuavial/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuavial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuavial/subscriptions","organizations_url":"https://api.github.com/users/joshuavial/orgs","repos_url":"https://api.github.com/users/joshuavial/repos","events_url":"https://api.github.com/users/joshuavial/events{/privacy}","received_events_url":"https://api.github.com/users/joshuavial/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/enspiral/enspiral/labels/airbrake","name":"airbrake","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-18T11:08:35Z","updated_at":"2016-02-18T11:08:35Z","closed_at":null,"body":"Check full details on Airbrake: [#1623109337804279903](https://enspiral.airbrake.io/projects/14105/groups/1623109337804279903)\n\nAirbrake project: **Enspiral**\n\nBacktrace:\n```\n[PROJECT_ROOT]/app/views/companies/xero_invoice_manual_check.html.haml:22:in _app_views_companies_xero_invoice_manual_check_html_haml___379303692_87424810\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/template.rb:145:in block in render\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:125:in instrument\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/template.rb:143:in render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:47:in block (2 levels) in render_template\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/abstract_renderer.rb:38:in block in instrument\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in block in instrument\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in instrument\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in instrument\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/abstract_renderer.rb:38:in instrument\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:46:in block in render_template\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:54:in render_with_layout\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:45:in render_template\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:18:in render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/renderer.rb:36:in render_template\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/renderer.rb:17:in render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:110:in _render_template\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/streaming.rb:225:in _render_template\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:103:in render_to_body\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/renderers.rb:28:in render_to_body\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/compatibility.rb:50:in render_to_body\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:88:in render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rendering.rb:16:in render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:40:in block (2 levels) in render\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/core_ext/benchmark.rb:5:in block in ms\n/usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in realtime\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/core_ext/benchmark.rb:5:in ms\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:40:in block in render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:83:in cleanup_view_runtime\n[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime\n[GEM_ROOT]/gems/thinking-sphinx-2.0.10/lib/thinking_sphinx/action_controller.rb:12:in cleanup_view_runtime\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:39:in render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/implicit_render.rb:10:in default_render\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/implicit_render.rb:5:in send_action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:167:in process_action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rendering.rb:10:in process_action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:18:in block in process_action\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:469:in _run__235350441__process_action__876989015__callbacks\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in __run_callback\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in run_callbacks\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:17:in process_action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rescue.rb:29:in process_action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:30:in block in process_action\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in block in instrument\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in instrument\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in instrument\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:29:in process_action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/params_wrapper.rb:207:in process_action\n[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/railties/controller_runtime.rb:18:in process_action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:121:in process\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:45:in process\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal.rb:203:in dispatch\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rack_delegation.rb:14:in dispatch\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal.rb:246:in block in action\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in dispatch\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:36:in call\n[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call\n[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in each\n[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:601:in call\n[GEM_ROOT]/gems/barista-1.3.0/lib/barista/server.rb:33:in call\n[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:35:in block in call\n[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:34:in catch\n[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:34:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/best_standards_support.rb:17:in call\n[GEM_ROOT]/gems/rack-1.4.5/lib/rack/etag.rb:23:in call\n[GEM_ROOT]/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/head.rb:14:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/params_parser.rb:21:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/flash.rb:242:in call\n[GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context\n[GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/cookies.rb:341:in call\n[GEM_ROOT]/gems/dragonfly-0.9.15/lib/dragonfly/cookie_monster.rb:9:in call\n[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:64:in call\n[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:28:in block in call\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in _run__579784846__call__122179409__callbacks\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in __run_callback\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in _run_call_callbacks\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in run_callbacks\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:27:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/remote_ip.rb:31:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in call\n[GEM_ROOT]/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in call_app\n[GEM_ROOT]/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in block in call\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in tagged\n[GEM_ROOT]/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in call\n[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in call\n[GEM_ROOT]/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call\n[GEM_ROOT]/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call\n[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in call\n[GEM_ROOT]/gems/rack-1.4.5/lib/rack/lock.rb:15:in call\n[GEM_ROOT]/gems/dragonfly-0.9.15/lib/dragonfly/middleware.rb:13:in call\n[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward\n[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in fetch\n[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup\n[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!\n[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call\n[GEM_ROOT]/gems/railties-3.2.12/lib/rails/engine.rb:479:in call\n[GEM_ROOT]/gems/railties-3.2.12/lib/rails/application.rb:223:in call\n[GEM_ROOT]/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in method_missing\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/rack/request_handler.rb:96:in process_request\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb:516:in accept_and_process_next_request\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb:274:in main_loop\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:206:in start_request_handler\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:171:in block in handle_spawn_application\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/utils.rb:470:in safe_fork\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:166:in handle_spawn_application\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:357:in server_main_loop\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:206:in start_synchronously\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:180:in start\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:129:in start\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:253:in block (2 levels) in spawn_rack_application\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb:132:in lookup_or_add\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:246:in block in spawn_rack_application\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb:82:in block in synchronize\n::in \n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb:79:in synchronize\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:244:in spawn_rack_application\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:137:in spawn_application\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:275:in handle_spawn_application\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:357:in server_main_loop\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:206:in start_synchronously\n/usr/local/rvm/gems/ruby-1.9.3-p327/gems/passenger-3.0.18/helper-scripts/passenger-spawn-server:99:in <main>\n```"}}