{"action":"created","issue":{"url":"https://api.github.com/repos/cookpad/garage-doorkeeper/issues/1","labels_url":"https://api.github.com/repos/cookpad/garage-doorkeeper/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cookpad/garage-doorkeeper/issues/1/comments","events_url":"https://api.github.com/repos/cookpad/garage-doorkeeper/issues/1/events","html_url":"https://github.com/cookpad/garage-doorkeeper/issues/1","id":100129384,"number":1,"title":"At doorkeeper v3.0.0, fails when render unauthorized with wrong number of arguments","user":{"login":"kenchan0130","id":1155067,"avatar_url":"https://avatars.githubusercontent.com/u/1155067?v=3","gravatar_id":"","url":"https://api.github.com/users/kenchan0130","html_url":"https://github.com/kenchan0130","followers_url":"https://api.github.com/users/kenchan0130/followers","following_url":"https://api.github.com/users/kenchan0130/following{/other_user}","gists_url":"https://api.github.com/users/kenchan0130/gists{/gist_id}","starred_url":"https://api.github.com/users/kenchan0130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenchan0130/subscriptions","organizations_url":"https://api.github.com/users/kenchan0130/orgs","repos_url":"https://api.github.com/users/kenchan0130/repos","events_url":"https://api.github.com/users/kenchan0130/events{/privacy}","received_events_url":"https://api.github.com/users/kenchan0130/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-10T17:53:54Z","updated_at":"2015-08-13T05:39:32Z","closed_at":"2015-08-13T05:39:32Z","body":"Hi,\r\n\r\nI have a recent installation of doorkeeper, 3.0.0.\r\n\r\nWhen render unauthorized,  a error that is `wrong number of arguments (1 for 0)` occurs at `doorkeeper_unauthorized_render_options(error: error)` line of [`Doorkeeper::Rails::Helpers#doorkeeper_unauthorized_render_options`](https://github.com/doorkeeper-gem/doorkeeper/blob/master/lib/doorkeeper/rails/helpers.rb#L14)\r\n\r\nPerhaps, this is because from version 3.0.0 of the impact of the changed method arguments.\r\n\r\nThe following is part of the stack trace.\r\n\r\n```\r\nArgumentError - wrong number of arguments (1 for 0):\r\n  doorkeeper (3.0.0) lib/doorkeeper/rails/helpers.rb:53:in `doorkeeper_render_options'\r\n  doorkeeper (3.0.0) lib/doorkeeper/rails/helpers.rb:33:in `doorkeeper_render_error_with'\r\n  doorkeeper (3.0.0) lib/doorkeeper/rails/helpers.rb:29:in `doorkeeper_render_error'\r\n  doorkeeper (3.0.0) lib/doorkeeper/rails/helpers.rb:10:in `doorkeeper_authorize!'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:430:in `block in make_lambda'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:162:in `block in halting'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `block in call'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `call'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:496:in `block (2 levels) in around'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:311:in `block (2 levels) in halting'\r\n   () /Myapp/vendor/bundle/ruby/2.2.0/bundler/gems/garage-ff712b31d3ff/lib/garage/controller_helper.rb:89:in `notify_request_stats'\r\n```"},"comment":{"url":"https://api.github.com/repos/cookpad/garage-doorkeeper/issues/comments/130541297","html_url":"https://github.com/cookpad/garage-doorkeeper/issues/1#issuecomment-130541297","issue_url":"https://api.github.com/repos/cookpad/garage-doorkeeper/issues/1","id":130541297,"user":{"login":"kenchan0130","id":1155067,"avatar_url":"https://avatars.githubusercontent.com/u/1155067?v=3","gravatar_id":"","url":"https://api.github.com/users/kenchan0130","html_url":"https://github.com/kenchan0130","followers_url":"https://api.github.com/users/kenchan0130/followers","following_url":"https://api.github.com/users/kenchan0130/following{/other_user}","gists_url":"https://api.github.com/users/kenchan0130/gists{/gist_id}","starred_url":"https://api.github.com/users/kenchan0130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenchan0130/subscriptions","organizations_url":"https://api.github.com/users/kenchan0130/orgs","repos_url":"https://api.github.com/users/kenchan0130/repos","events_url":"https://api.github.com/users/kenchan0130/events{/privacy}","received_events_url":"https://api.github.com/users/kenchan0130/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T05:39:32Z","updated_at":"2015-08-13T05:39:32Z","body":"@taiki45 \r\nyap.  Thanks for reminding me."}}