{"action":"opened","issue":{"url":"https://api.github.com/repos/lep-eoll/billet-bullet/issues/3","labels_url":"https://api.github.com/repos/lep-eoll/billet-bullet/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/lep-eoll/billet-bullet/issues/3/comments","events_url":"https://api.github.com/repos/lep-eoll/billet-bullet/issues/3/events","html_url":"https://github.com/lep-eoll/billet-bullet/issues/3","id":59751074,"number":3,"title":"user_sessions#create (ActiveRecord::RecordInvalid) \"Validation failed: Quantity selected of \\\"Tutvumispidu - Salakorts Opening - Aug {N}\\\" is not available.\"","user":{"login":"ivar","id":4298,"avatar_url":"https://avatars.githubusercontent.com/u/4298?v=3","gravatar_id":"","url":"https://api.github.com/users/ivar","html_url":"https://github.com/ivar","followers_url":"https://api.github.com/users/ivar/followers","following_url":"https://api.github.com/users/ivar/following{/other_user}","gists_url":"https://api.github.com/users/ivar/gists{/gist_id}","starred_url":"https://api.github.com/users/ivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivar/subscriptions","organizations_url":"https://api.github.com/users/ivar/orgs","repos_url":"https://api.github.com/users/ivar/repos","events_url":"https://api.github.com/users/ivar/events{/privacy}","received_events_url":"https://api.github.com/users/ivar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lep-eoll/billet-bullet/labels/Error","name":"Error","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T05:10:53Z","updated_at":"2015-03-04T05:10:54Z","closed_at":null,"body":"<meta name=\"exception_notification_http\">\n<h2>ActiveRecord::RecordInvalid occurred in user_sessions</h2>\n<pre>\nValidation failed: Quantity selected of &quot;Tutvumispidu - Salakorts Opening - Aug 5&quot; is not available.\n\n</pre>\n<h2>Request</h2>\n<table class=\"table table-hover table-condensed\">\n<tr><td>URL</td><td>https://tickets.lep2015.com/login</td></tr>\n<tr><td>IP address</td><td>50.68.36.248</td></tr>\n<tr><td>Parameters</td><td>{&quot;utf8&quot;=&gt;&quot;✓&quot;, &quot;authenticity_token&quot;=&gt;&quot;s/q2QyUSXzrdsKJL85nG13ANxYmyayovGV+kwW/YhEc=&quot;, &quot;spree_user&quot;=&gt;{&quot;email&quot;=&gt;&quot;liligo@shaw.ca&quot;, &quot;password&quot;=&gt;&quot;[FILTERED]&quot;, &quot;remember_me&quot;=&gt;&quot;0&quot;}, &quot;commit&quot;=&gt;&quot;Login&quot;, &quot;controller&quot;=&gt;&quot;spree/user_sessions&quot;, &quot;action&quot;=&gt;&quot;create&quot;}</td></tr>\n<tr><td>Rails root</td><td>/app</td></tr>\n<tr><td>Timestamp</td><td>2015-03-04 05:10:53 UTC</td></tr>\n</table>\n<h2>Session</h2>\n<table class=\"table table-hover table-condensed\">\n<tr><td>session id</td><td>[FILTERED]</td></tr>\n<tr><td>data</td><td>#&lt;ActionDispatch::Request::Session:0x007f6da6d555a0 ...&gt;\n</td></tr>\n</table>\n<h2>Environment</h2>\n<table class=\"table table-hover table-condensed\">\n<tr><td>CONTENT_LENGTH</td><td>203</td></tr>\n<tr><td>CONTENT_TYPE</td><td>application/x-www-form-urlencoded</td></tr>\n<tr><td>GATEWAY_INTERFACE</td><td>CGI/1.2</td></tr>\n<tr><td>HTTP_ACCEPT</td><td>text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8</td></tr>\n<tr><td>HTTP_ACCEPT_ENCODING</td><td>gzip, deflate</td></tr>\n<tr><td>HTTP_ACCEPT_LANGUAGE</td><td>en-US,en;q=0.8</td></tr>\n<tr><td>HTTP_AUTHORIZATION</td><td>Basic bGVwOmxlcA==</td></tr>\n<tr><td>HTTP_CACHE_CONTROL</td><td>max-age=0</td></tr>\n<tr><td>HTTP_CONNECTION</td><td>close</td></tr>\n<tr><td>HTTP_CONNECT_TIME</td><td>1</td></tr>\n<tr><td>HTTP_COOKIE</td><td>guest_token=IkJGOXJsLVJpMHFteFk5SjFTVUNRNEEi--2a28acda47b207393a452554fd3e361a872b047a; _gat=1; _ga=GA1.2.665196243.1419229220; _billet-bullet_session=bmNOdlVvS1ZOdHZXWVRRcG1yeXlXUjVVZ1Q3ZEVUUDVTd08xMFQ3VW9rZUdlTlQvUVVlbmNIa3NUWkRMeXdKb3pGWmZybHRETGduakNVYTRDbGIyOTJKR2VVb0tIY3Btd0dyY1ppa2JNVVgreU1oY25CMjN0UFFsc0pYNlJsS1Rpb3ZuOGI2ZlYyMld3SmhUUlY3TjVnPT0tLXMvNmMrU2ZDQ3JkM1BCSm9JSWovMmc9PQ%3D%3D--29d2e3688923c2665f0e5743ccd3ea863b221d29</td></tr>\n<tr><td>HTTP_HOST</td><td>tickets.lep2015.com</td></tr>\n<tr><td>HTTP_ORIGIN</td><td>https://tickets.lep2015.com</td></tr>\n<tr><td>HTTP_REFERER</td><td>https://tickets.lep2015.com/login</td></tr>\n<tr><td>HTTP_TOTAL_ROUTE_TIME</td><td>0</td></tr>\n<tr><td>HTTP_USER_AGENT</td><td>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36</td></tr>\n<tr><td>HTTP_VERSION</td><td>HTTP/1.1</td></tr>\n<tr><td>HTTP_VIA</td><td>1.1 vegur</td></tr>\n<tr><td>HTTP_X_FORWARDED_FOR</td><td>50.68.36.248</td></tr>\n<tr><td>HTTP_X_FORWARDED_PORT</td><td>443</td></tr>\n<tr><td>HTTP_X_FORWARDED_PROTO</td><td>https</td></tr>\n<tr><td>HTTP_X_REQUEST_ID</td><td>630a6b24-ace1-47ad-b211-7937b0c2d7b1</td></tr>\n<tr><td>HTTP_X_REQUEST_START</td><td>1425445852092</td></tr>\n<tr><td>ORIGINAL_FULLPATH</td><td>/login</td></tr>\n<tr><td>ORIGINAL_SCRIPT_NAME</td><td></td></tr>\n<tr><td>PATH_INFO</td><td>/login</td></tr>\n<tr><td>QUERY_STRING</td><td></td></tr>\n<tr><td>REMOTE_ADDR</td><td>10.123.91.48</td></tr>\n<tr><td>REQUEST_METHOD</td><td>POST</td></tr>\n<tr><td>REQUEST_PATH</td><td>/login</td></tr>\n<tr><td>REQUEST_URI</td><td>/login</td></tr>\n<tr><td>ROUTES_70054868972460_SCRIPT_NAME</td><td></td></tr>\n<tr><td>ROUTES_70054900161300_SCRIPT_NAME</td><td></td></tr>\n<tr><td>SCRIPT_NAME</td><td></td></tr>\n<tr><td>SERVER_NAME</td><td>tickets.lep2015.com</td></tr>\n<tr><td>SERVER_PORT</td><td>443</td></tr>\n<tr><td>SERVER_PROTOCOL</td><td>HTTP/1.1</td></tr>\n<tr><td>SERVER_SOFTWARE</td><td>2.11.1</td></tr>\n<tr><td>action_controller.instance</td><td>user_sessions#create</td></tr>\n<tr><td>action_dispatch.backtrace_cleaner</td><td>#&lt;Rails::BacktraceCleaner:0x007f6dde198ef0&gt;</td></tr>\n<tr><td>action_dispatch.cookies</td><td>#&lt;ActionDispatch::Cookies::CookieJar:0x007f6ddc842780&gt;</td></tr>\n<tr><td>action_dispatch.cookies_serializer</td><td>json</td></tr>\n<tr><td>action_dispatch.encrypted_cookie_salt</td><td>encrypted cookie</td></tr>\n<tr><td>action_dispatch.encrypted_signed_cookie_salt</td><td>signed encrypted cookie</td></tr>\n<tr><td>action_dispatch.http_auth_salt</td><td>http authentication</td></tr>\n<tr><td>action_dispatch.key_generator</td><td>#&lt;ActiveSupport::CachingKeyGenerator:0x007f6dde198888&gt;</td></tr>\n<tr><td>action_dispatch.logger</td><td>#&lt;Logger:0x007f6ddaf4e878&gt;</td></tr>\n<tr><td>action_dispatch.parameter_filter</td><td>[:password, :password_confirmation, :number, :verification_value, :password, :password_confirmation, :number, :password]</td></tr>\n<tr><td>action_dispatch.redirect_filter</td><td>[]</td></tr>\n<tr><td>action_dispatch.remote_ip</td><td>50.68.36.248</td></tr>\n<tr><td>action_dispatch.request.content_type</td><td>application/x-www-form-urlencoded</td></tr>\n<tr><td>action_dispatch.request.formats</td><td>[#&lt;Mime::Type:0x007f6dd8ed8df0 @synonyms=[&quot;application/xhtml+xml&quot;], @symbol=:html, @string=&quot;text/html&quot;&gt;]</td></tr>\n<tr><td>action_dispatch.request.parameters</td><td>{&quot;utf8&quot;=&gt;&quot;✓&quot;, &quot;authenticity_token&quot;=&gt;&quot;s/q2QyUSXzrdsKJL85nG13ANxYmyayovGV+kwW/YhEc=&quot;, &quot;spree_user&quot;=&gt;{&quot;email&quot;=&gt;&quot;liligo@shaw.ca&quot;, &quot;password&quot;=&gt;&quot;[FILTERED]&quot;, &quot;remember_me&quot;=&gt;&quot;0&quot;}, &quot;commit&quot;=&gt;&quot;Login&quot;, &quot;controller&quot;=&gt;&quot;spree/user_sessions&quot;, &quot;action&quot;=&gt;&quot;create&quot;}</td></tr>\n<tr><td>action_dispatch.request.path_parameters</td><td>{:controller=&gt;&quot;spree/user_sessions&quot;, :action=&gt;&quot;create&quot;}</td></tr>\n<tr><td>action_dispatch.request.query_parameters</td><td>{}</td></tr>\n<tr><td>action_dispatch.request.request_parameters</td><td>{&quot;utf8&quot;=&gt;&quot;✓&quot;, &quot;authenticity_token&quot;=&gt;&quot;s/q2QyUSXzrdsKJL85nG13ANxYmyayovGV+kwW/YhEc=&quot;, &quot;spree_user&quot;=&gt;{&quot;email&quot;=&gt;&quot;liligo@shaw.ca&quot;, &quot;password&quot;=&gt;&quot;[FILTERED]&quot;, &quot;remember_me&quot;=&gt;&quot;0&quot;}, &quot;commit&quot;=&gt;&quot;Login&quot;}</td></tr>\n<tr><td>action_dispatch.request.unsigned_session_cookie</td><td>{&quot;session_id&quot;=&gt;&quot;8ca678030b3ceda771eacb477952bac3&quot;, &quot;_csrf_token&quot;=&gt;&quot;s/q2QyUSXzrdsKJL85nG13ANxYmyayovGV+kwW/YhEc=&quot;}</td></tr>\n<tr><td>action_dispatch.request_id</td><td>630a6b24-ace1-47ad-b211-7937b0c2d7b1</td></tr>\n<tr><td>action_dispatch.routes</td><td>#&lt;ActionDispatch::Routing::RouteSet:0x007f6dd728e758&gt;</td></tr>\n<tr><td>action_dispatch.secret_key_base</td><td>b797c15d16d1aba06d500b4d687b44d4a7c00c8b4a26c901cd22350b3bcace6a63d20137a5a832c576bd53232dc3cedccaf244b348a1587dad84710e992d0c5f</td></tr>\n<tr><td>action_dispatch.secret_token</td><td></td></tr>\n<tr><td>action_dispatch.show_detailed_exceptions</td><td>false</td></tr>\n<tr><td>action_dispatch.show_exceptions</td><td>true</td></tr>\n<tr><td>action_dispatch.signed_cookie_salt</td><td>signed cookie</td></tr>\n<tr><td>devise.allow_params_authentication</td><td>true</td></tr>\n<tr><td>devise.mapping</td><td>#&lt;Devise::Mapping:0x007f6dda636d30&gt;</td></tr>\n<tr><td>devise.skip_timeout</td><td>true</td></tr>\n<tr><td>newrelic.transaction_started</td><td>true</td></tr>\n<tr><td>puma.config</td><td>#&lt;Puma::Configuration:0x007f6dd642c2c8&gt;</td></tr>\n<tr><td>puma.socket</td><td>#&lt;TCPSocket:0x007f6da6d768e0&gt;</td></tr>\n<tr><td>rack.after_reply</td><td>[]</td></tr>\n<tr><td>rack.errors</td><td>#&lt;IO:0x007f6dd56cd550&gt;</td></tr>\n<tr><td>rack.hijack</td><td>#&lt;Puma::Client:0x007f6da6d768b8&gt;</td></tr>\n<tr><td>rack.hijack?</td><td>true</td></tr>\n<tr><td>rack.input</td><td>#&lt;StringIO:0x007f6da6d75ee0&gt;</td></tr>\n<tr><td>rack.multiprocess</td><td>false</td></tr>\n<tr><td>rack.multithread</td><td>true</td></tr>\n<tr><td>rack.request.cookie_hash</td><td>{&quot;guest_token&quot;=&gt;&quot;IkJGOXJsLVJpMHFteFk5SjFTVUNRNEEi--2a28acda47b207393a452554fd3e361a872b047a&quot;, &quot;_gat&quot;=&gt;&quot;1&quot;, &quot;_ga&quot;=&gt;&quot;GA1.2.665196243.1419229220&quot;, &quot;_billet-bullet_session&quot;=&gt;&quot;bmNOdlVvS1ZOdHZXWVRRcG1yeXlXUjVVZ1Q3ZEVUUDVTd08xMFQ3VW9rZUdlTlQvUVVlbmNIa3NUWkRMeXdKb3pGWmZybHRETGduakNVYTRDbGIyOTJKR2VVb0tIY3Btd0dyY1ppa2JNVVgreU1oY25CMjN0UFFsc0pYNlJsS1Rpb3ZuOGI2ZlYyMld3SmhUUlY3TjVnPT0tLXMvNmMrU2ZDQ3JkM1BCSm9JSWovMmc9PQ==--29d2e3688923c2665f0e5743ccd3ea863b221d29&quot;}</td></tr>\n<tr><td>rack.request.cookie_string</td><td>guest_token=IkJGOXJsLVJpMHFteFk5SjFTVUNRNEEi--2a28acda47b207393a452554fd3e361a872b047a; _gat=1; _ga=GA1.2.665196243.1419229220; _billet-bullet_session=bmNOdlVvS1ZOdHZXWVRRcG1yeXlXUjVVZ1Q3ZEVUUDVTd08xMFQ3VW9rZUdlTlQvUVVlbmNIa3NUWkRMeXdKb3pGWmZybHRETGduakNVYTRDbGIyOTJKR2VVb0tIY3Btd0dyY1ppa2JNVVgreU1oY25CMjN0UFFsc0pYNlJsS1Rpb3ZuOGI2ZlYyMld3SmhUUlY3TjVnPT0tLXMvNmMrU2ZDQ3JkM1BCSm9JSWovMmc9PQ%3D%3D--29d2e3688923c2665f0e5743ccd3ea863b221d29</td></tr>\n<tr><td>rack.request.form_hash</td><td>{&quot;utf8&quot;=&gt;&quot;✓&quot;, &quot;authenticity_token&quot;=&gt;&quot;s/q2QyUSXzrdsKJL85nG13ANxYmyayovGV+kwW/YhEc=&quot;, &quot;spree_user&quot;=&gt;{&quot;email&quot;=&gt;&quot;liligo@shaw.ca&quot;, &quot;password&quot;=&gt;&quot;[FILTERED]&quot;, &quot;remember_me&quot;=&gt;&quot;0&quot;}, &quot;commit&quot;=&gt;&quot;Login&quot;}</td></tr>\n<tr><td>rack.request.form_input</td><td>#&lt;StringIO:0x007f6da6d75ee0&gt;</td></tr>\n<tr><td>rack.request.form_vars</td><td>[FILTERED]</td></tr>\n<tr><td>rack.request.query_hash</td><td>{}</td></tr>\n<tr><td>rack.request.query_string</td><td></td></tr>\n<tr><td>rack.run_once</td><td>false</td></tr>\n<tr><td>rack.session</td><td>#&lt;ActionDispatch::Request::Session:0x007f6da6d555a0&gt;</td></tr>\n<tr><td>rack.session.options</td><td>#&lt;ActionDispatch::Request::Session::Options:0x007f6da6d55550&gt;</td></tr>\n<tr><td>rack.url_scheme</td><td>http</td></tr>\n<tr><td>rack.version</td><td>[1, 2]</td></tr>\n<tr><td>warden</td><td>Warden::Proxy:70054463580140 @config={:default_scope=&gt;:spree_user, :scope_defaults=&gt;{}, :default_strategies=&gt;{:spree_user=&gt;[:rememberable, :database_authenticatable], :admin_spree_user=&gt;[:rememberable, :database_authenticatable]}, :intercept_401=&gt;false, :failure_app=&gt;#&lt;Devise::Delegator:0x007f6ddafe8ef0&gt;}</td></tr>\n<tr><td>Process</td><td>7</td></tr>\n<tr><td>Server</td><td>ffcdfb3e-c1d9-472b-a1cd-f43a98bfb705</td></tr>\n</table>\n<h2>Backtrace</h2>\n<pre>\n\n</pre>\n<br/>\n<img src='http://sparklines-bitworking.appspot.com/spark.cgi?type=impulse&height=40&upper=1&above-color=red&below-color=gray&width=5&limits=0,1&d=0,0,0,0,0,0,1' alt='{\"runtimeerror\":[\"Mar 04\",1]}' title='{\"runtimeerror\":[\"Mar 04\",1]}'/>"}}