{"action":"created","issue":{"url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/20","labels_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/20/comments","events_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/20/events","html_url":"https://github.com/uriklar/ZikaronBasalon/issues/20","id":68314953,"number":20,"title":"InvitesController#reject (NoMethodError) \"undefined method `max_guests=' for nil:NilClass\"","user":{"login":"uriklar","id":2545447,"avatar_url":"https://avatars.githubusercontent.com/u/2545447?v=3","gravatar_id":"","url":"https://api.github.com/users/uriklar","html_url":"https://github.com/uriklar","followers_url":"https://api.github.com/users/uriklar/followers","following_url":"https://api.github.com/users/uriklar/following{/other_user}","gists_url":"https://api.github.com/users/uriklar/gists{/gist_id}","starred_url":"https://api.github.com/users/uriklar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uriklar/subscriptions","organizations_url":"https://api.github.com/users/uriklar/orgs","repos_url":"https://api.github.com/users/uriklar/repos","events_url":"https://api.github.com/users/uriklar/events{/privacy}","received_events_url":"https://api.github.com/users/uriklar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/uriklar/ZikaronBasalon/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-14T09:24:20Z","updated_at":"2015-04-14T18:41:14Z","closed_at":null,"body":"<table><tr><th>Exception</th><td>undefined method `max_guests=&#39; for nil:NilClass</td></tr><tr><th>Last Occurrence</th><td>April 14, 2015 18:41:14 +0000</td></tr><tr><th>Count</th><td>2</td></tr></table>\n\n## Stack Trace\n<pre><a href='https://github.com/uriklar/ZikaronBasalon/blob/fb9acf97f54fd451df7f8b9ef72b63851f30314a/app/models/invite.rb#L17'>[app].../app/models/invite.rb:17:in `update_available_places'</a>\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run__110492737643092215__update__3694890520788281579__callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_update_callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/callbacks.rb:272:in `update'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/persistence.rb:348:in `create_or_update'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/callbacks.rb:264:in `block in create_or_update'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:425:in `_run__110492737643092215__save__3694890520788281579__callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/callbacks.rb:264:in `create_or_update'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/persistence.rb:84:in `save'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/validations.rb:50:in `save'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/attribute_methods/dirty.rb:22:in `save'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:259:in `block (2 levels) in save'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:208:in `transaction'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:259:in `block in save'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:270:in `rollback_active_record_state!'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:258:in `save'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/persistence.rb:217:in `block in update_attributes'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:208:in `transaction'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/persistence.rb:215:in `update_attributes'\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/fb9acf97f54fd451df7f8b9ef72b63851f30314a/app/controllers/invites_controller.rb#L12'>[app].../app/controllers/invites_controller.rb:12:in `reject'</a>\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/base.rb:167:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/rendering.rb:10:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:18:in `block in process_action'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:425:in `_run__3396283846409839334__process_action__2053559893059120566__callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:17:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/rescue.rb:29:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `block in instrument'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `instrument'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:29:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:23:in `block in process_action'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:353:in `perform_action_with_newrelic_trace'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:22:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/base.rb:121:in `process'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:45:in `process'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal.rb:203:in `dispatch'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal.rb:246:in `block in action'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:36:in `call'\n[bundle].../gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'\n[bundle].../gems/journey-1.0.4/lib/journey/router.rb:56:in `each'\n[bundle].../gems/journey-1.0.4/lib/journey/router.rb:56:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/rack/browser_monitoring.rb:23:in `traced_call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/head.rb:14:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/params_parser.rb:21:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/flash.rb:242:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'\n[bundle].../gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/cookies.rb:341:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/query_cache.rb:64:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run__2065762758397282120__call__3694890520788281579__callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/logger.rb:32:in `call_app'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `block in call'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/tagged_logging.rb:22:in `tagged'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/request_id.rb:22:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/cache/strategy/local_cache.rb:72:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/static.rb:63:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'\n[bundle].../gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'\n[bundle].../gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'\n[bundle].../gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'\n[bundle].../gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/engine.rb:484:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/application.rb:231:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:in `method_missing'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/log_tailer.rb:17:in `call'\n[bundle].../gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/fb9acf97f54fd451df7f8b9ef72b63851f30314a/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb#L138'>[app].../vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'</a>\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/fb9acf97f54fd451df7f8b9ef72b63851f30314a/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb#L94'>[app].../vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'</a>\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/fb9acf97f54fd451df7f8b9ef72b63851f30314a/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb#L295'>[app].../vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'</a></pre>\nFingerprint: `930703bf6e93a950a9cb4e5186fe3ced51fe29fe`\n"},"comment":{"url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/comments/93013505","html_url":"https://github.com/uriklar/ZikaronBasalon/issues/20#issuecomment-93013505","issue_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/20","id":93013505,"user":{"login":"uriklar","id":2545447,"avatar_url":"https://avatars.githubusercontent.com/u/2545447?v=3","gravatar_id":"","url":"https://api.github.com/users/uriklar","html_url":"https://github.com/uriklar","followers_url":"https://api.github.com/users/uriklar/followers","following_url":"https://api.github.com/users/uriklar/following{/other_user}","gists_url":"https://api.github.com/users/uriklar/gists{/gist_id}","starred_url":"https://api.github.com/users/uriklar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uriklar/subscriptions","organizations_url":"https://api.github.com/users/uriklar/orgs","repos_url":"https://api.github.com/users/uriklar/repos","events_url":"https://api.github.com/users/uriklar/events{/privacy}","received_events_url":"https://api.github.com/users/uriklar/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T18:41:14Z","updated_at":"2015-04-14T18:41:14Z","body":"<table><tr><th>Occurred At</th><td>April 14, 2015 18:41:14 +0000</td></tr><tr><th>URL</th><td>[GET] http://zikaronbasalon.herokuapp.com/he/invites/2717/reject</td></tr><tr><th>Params</th><td><table><tr><th>action</th><td>reject</td></tr><tr><th>controller</th><td>invites</td></tr><tr><th>locale</th><td>he</td></tr><tr><th>id</th><td>2717</td></tr></table></td></tr><tr><th>Session</th><td><table><tr><th>session_id</th><td>a1cd5f0beec0a5111d003302183ff05a</td></tr><tr><th>auth</th><td>extended</td></tr><tr><th>_csrf_token</th><td>LAVyxslRPTZZ6f4yMas5hQfTRQCiaY45hni/SXefBoQ=</td></tr></table></td></tr><tr><th>IP Address</th><td>&lt;a href=&#39;http://ipinfo.io/213.57.118.74&#39;&gt;213.57.118.74&lt;/a&gt;</td></tr><tr><th>HTTP Headers</th><td><table><tr><th>Version</th><td>HTTP/1.1</td></tr><tr><th>User Agent</th><td>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36</td></tr><tr><th>Accept Encoding</th><td>gzip, deflate, sdch</td></tr><tr><th>Accept</th><td>text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8</td></tr></table></td></tr></table>"}}