{"action":"closed","number":58,"pull_request":{"url":"https://api.github.com/repos/collectiveidea/audited/pulls/58","id":134440,"html_url":"https://github.com/collectiveidea/audited/pull/58","diff_url":"https://github.com/collectiveidea/audited/pull/58.diff","patch_url":"https://github.com/collectiveidea/audited/pull/58.patch","issue_url":"https://api.github.com/repos/collectiveidea/audited/issues/58","number":58,"state":"closed","locked":false,"title":"fixing case when the variable \"controller\" is not defined","user":{"login":"punitrathore","id":96797,"avatar_url":"https://avatars.githubusercontent.com/u/96797?v=3","gravatar_id":"","url":"https://api.github.com/users/punitrathore","html_url":"https://github.com/punitrathore","followers_url":"https://api.github.com/users/punitrathore/followers","following_url":"https://api.github.com/users/punitrathore/following{/other_user}","gists_url":"https://api.github.com/users/punitrathore/gists{/gist_id}","starred_url":"https://api.github.com/users/punitrathore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punitrathore/subscriptions","organizations_url":"https://api.github.com/users/punitrathore/orgs","repos_url":"https://api.github.com/users/punitrathore/repos","events_url":"https://api.github.com/users/punitrathore/events{/privacy}","received_events_url":"https://api.github.com/users/punitrathore/received_events","type":"User","site_admin":false},"body":"All my rSpec tests were failing with this error -\r\n\r\n  You have a nil object when you didn't expect it!\r\n  The error occurred while evaluating nil.session\r\n\r\nTesting for the variable \"controller\" fixed it. \r\n\r\nFYI, I'm on Rails 2.3.3, and I'm using restful-authentication.","created_at":"2011-05-03T14:09:20Z","updated_at":"2015-01-07T15:33:42Z","closed_at":"2015-01-07T15:33:42Z","merged_at":null,"merge_commit_sha":"134693f2555590f38af0034e6fbcc1e2c7621a42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/collectiveidea/audited/pulls/58/commits","review_comments_url":"https://api.github.com/repos/collectiveidea/audited/pulls/58/comments","review_comment_url":"https://api.github.com/repos/collectiveidea/audited/pulls/comments/{number}","comments_url":"https://api.github.com/repos/collectiveidea/audited/issues/58/comments","statuses_url":"https://api.github.com/repos/collectiveidea/audited/statuses/feca16de06bc3ab91f07acab9d749b0d97daa024","head":{"label":"punitrathore:1.1-stable","ref":"1.1-stable","sha":"feca16de06bc3ab91f07acab9d749b0d97daa024","user":{"login":"punitrathore","id":96797,"avatar_url":"https://avatars.githubusercontent.com/u/96797?v=3","gravatar_id":"","url":"https://api.github.com/users/punitrathore","html_url":"https://github.com/punitrathore","followers_url":"https://api.github.com/users/punitrathore/followers","following_url":"https://api.github.com/users/punitrathore/following{/other_user}","gists_url":"https://api.github.com/users/punitrathore/gists{/gist_id}","starred_url":"https://api.github.com/users/punitrathore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punitrathore/subscriptions","organizations_url":"https://api.github.com/users/punitrathore/orgs","repos_url":"https://api.github.com/users/punitrathore/repos","events_url":"https://api.github.com/users/punitrathore/events{/privacy}","received_events_url":"https://api.github.com/users/punitrathore/received_events","type":"User","site_admin":false},"repo":{"id":1696397,"name":"acts_as_audited","full_name":"punitrathore/acts_as_audited","owner":{"login":"punitrathore","id":96797,"avatar_url":"https://avatars.githubusercontent.com/u/96797?v=3","gravatar_id":"","url":"https://api.github.com/users/punitrathore","html_url":"https://github.com/punitrathore","followers_url":"https://api.github.com/users/punitrathore/followers","following_url":"https://api.github.com/users/punitrathore/following{/other_user}","gists_url":"https://api.github.com/users/punitrathore/gists{/gist_id}","starred_url":"https://api.github.com/users/punitrathore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punitrathore/subscriptions","organizations_url":"https://api.github.com/users/punitrathore/orgs","repos_url":"https://api.github.com/users/punitrathore/repos","events_url":"https://api.github.com/users/punitrathore/events{/privacy}","received_events_url":"https://api.github.com/users/punitrathore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/punitrathore/acts_as_audited","description":"acts_as_audited is an ActiveRecord extension that logs all changes to your models in an audits table.","fork":true,"url":"https://api.github.com/repos/punitrathore/acts_as_audited","forks_url":"https://api.github.com/repos/punitrathore/acts_as_audited/forks","keys_url":"https://api.github.com/repos/punitrathore/acts_as_audited/keys{/key_id}","collaborators_url":"https://api.github.com/repos/punitrathore/acts_as_audited/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/punitrathore/acts_as_audited/teams","hooks_url":"https://api.github.com/repos/punitrathore/acts_as_audited/hooks","issue_events_url":"https://api.github.com/repos/punitrathore/acts_as_audited/issues/events{/number}","events_url":"https://api.github.com/repos/punitrathore/acts_as_audited/events","assignees_url":"https://api.github.com/repos/punitrathore/acts_as_audited/assignees{/user}","branches_url":"https://api.github.com/repos/punitrathore/acts_as_audited/branches{/branch}","tags_url":"https://api.github.com/repos/punitrathore/acts_as_audited/tags","blobs_url":"https://api.github.com/repos/punitrathore/acts_as_audited/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/punitrathore/acts_as_audited/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/punitrathore/acts_as_audited/git/refs{/sha}","trees_url":"https://api.github.com/repos/punitrathore/acts_as_audited/git/trees{/sha}","statuses_url":"https://api.github.com/repos/punitrathore/acts_as_audited/statuses/{sha}","languages_url":"https://api.github.com/repos/punitrathore/acts_as_audited/languages","stargazers_url":"https://api.github.com/repos/punitrathore/acts_as_audited/stargazers","contributors_url":"https://api.github.com/repos/punitrathore/acts_as_audited/contributors","subscribers_url":"https://api.github.com/repos/punitrathore/acts_as_audited/subscribers","subscription_url":"https://api.github.com/repos/punitrathore/acts_as_audited/subscription","commits_url":"https://api.github.com/repos/punitrathore/acts_as_audited/commits{/sha}","git_commits_url":"https://api.github.com/repos/punitrathore/acts_as_audited/git/commits{/sha}","comments_url":"https://api.github.com/repos/punitrathore/acts_as_audited/comments{/number}","issue_comment_url":"https://api.github.com/repos/punitrathore/acts_as_audited/issues/comments/{number}","contents_url":"https://api.github.com/repos/punitrathore/acts_as_audited/contents/{+path}","compare_url":"https://api.github.com/repos/punitrathore/acts_as_audited/compare/{base}...{head}","merges_url":"https://api.github.com/repos/punitrathore/acts_as_audited/merges","archive_url":"https://api.github.com/repos/punitrathore/acts_as_audited/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/punitrathore/acts_as_audited/downloads","issues_url":"https://api.github.com/repos/punitrathore/acts_as_audited/issues{/number}","pulls_url":"https://api.github.com/repos/punitrathore/acts_as_audited/pulls{/number}","milestones_url":"https://api.github.com/repos/punitrathore/acts_as_audited/milestones{/number}","notifications_url":"https://api.github.com/repos/punitrathore/acts_as_audited/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/punitrathore/acts_as_audited/labels{/name}","releases_url":"https://api.github.com/repos/punitrathore/acts_as_audited/releases{/id}","created_at":"2011-05-03T13:49:55Z","updated_at":"2013-01-02T01:09:36Z","pushed_at":"2011-05-23T09:27:02Z","git_url":"git://github.com/punitrathore/acts_as_audited.git","ssh_url":"git@github.com:punitrathore/acts_as_audited.git","clone_url":"https://github.com/punitrathore/acts_as_audited.git","svn_url":"https://github.com/punitrathore/acts_as_audited","homepage":"http://wiki.github.com/collectiveidea/acts_as_audited","size":439,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"collectiveidea:1.1-stable","ref":"1.1-stable","sha":"de6031feaf1e5d999f70265944d76758fc85b477","user":{"login":"collectiveidea","id":128,"avatar_url":"https://avatars.githubusercontent.com/u/128?v=3","gravatar_id":"","url":"https://api.github.com/users/collectiveidea","html_url":"https://github.com/collectiveidea","followers_url":"https://api.github.com/users/collectiveidea/followers","following_url":"https://api.github.com/users/collectiveidea/following{/other_user}","gists_url":"https://api.github.com/users/collectiveidea/gists{/gist_id}","starred_url":"https://api.github.com/users/collectiveidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectiveidea/subscriptions","organizations_url":"https://api.github.com/users/collectiveidea/orgs","repos_url":"https://api.github.com/users/collectiveidea/repos","events_url":"https://api.github.com/users/collectiveidea/events{/privacy}","received_events_url":"https://api.github.com/users/collectiveidea/received_events","type":"Organization","site_admin":false},"repo":{"id":363,"name":"audited","full_name":"collectiveidea/audited","owner":{"login":"collectiveidea","id":128,"avatar_url":"https://avatars.githubusercontent.com/u/128?v=3","gravatar_id":"","url":"https://api.github.com/users/collectiveidea","html_url":"https://github.com/collectiveidea","followers_url":"https://api.github.com/users/collectiveidea/followers","following_url":"https://api.github.com/users/collectiveidea/following{/other_user}","gists_url":"https://api.github.com/users/collectiveidea/gists{/gist_id}","starred_url":"https://api.github.com/users/collectiveidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectiveidea/subscriptions","organizations_url":"https://api.github.com/users/collectiveidea/orgs","repos_url":"https://api.github.com/users/collectiveidea/repos","events_url":"https://api.github.com/users/collectiveidea/events{/privacy}","received_events_url":"https://api.github.com/users/collectiveidea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collectiveidea/audited","description":"Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.","fork":false,"url":"https://api.github.com/repos/collectiveidea/audited","forks_url":"https://api.github.com/repos/collectiveidea/audited/forks","keys_url":"https://api.github.com/repos/collectiveidea/audited/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collectiveidea/audited/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collectiveidea/audited/teams","hooks_url":"https://api.github.com/repos/collectiveidea/audited/hooks","issue_events_url":"https://api.github.com/repos/collectiveidea/audited/issues/events{/number}","events_url":"https://api.github.com/repos/collectiveidea/audited/events","assignees_url":"https://api.github.com/repos/collectiveidea/audited/assignees{/user}","branches_url":"https://api.github.com/repos/collectiveidea/audited/branches{/branch}","tags_url":"https://api.github.com/repos/collectiveidea/audited/tags","blobs_url":"https://api.github.com/repos/collectiveidea/audited/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collectiveidea/audited/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collectiveidea/audited/git/refs{/sha}","trees_url":"https://api.github.com/repos/collectiveidea/audited/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collectiveidea/audited/statuses/{sha}","languages_url":"https://api.github.com/repos/collectiveidea/audited/languages","stargazers_url":"https://api.github.com/repos/collectiveidea/audited/stargazers","contributors_url":"https://api.github.com/repos/collectiveidea/audited/contributors","subscribers_url":"https://api.github.com/repos/collectiveidea/audited/subscribers","subscription_url":"https://api.github.com/repos/collectiveidea/audited/subscription","commits_url":"https://api.github.com/repos/collectiveidea/audited/commits{/sha}","git_commits_url":"https://api.github.com/repos/collectiveidea/audited/git/commits{/sha}","comments_url":"https://api.github.com/repos/collectiveidea/audited/comments{/number}","issue_comment_url":"https://api.github.com/repos/collectiveidea/audited/issues/comments/{number}","contents_url":"https://api.github.com/repos/collectiveidea/audited/contents/{+path}","compare_url":"https://api.github.com/repos/collectiveidea/audited/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collectiveidea/audited/merges","archive_url":"https://api.github.com/repos/collectiveidea/audited/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collectiveidea/audited/downloads","issues_url":"https://api.github.com/repos/collectiveidea/audited/issues{/number}","pulls_url":"https://api.github.com/repos/collectiveidea/audited/pulls{/number}","milestones_url":"https://api.github.com/repos/collectiveidea/audited/milestones{/number}","notifications_url":"https://api.github.com/repos/collectiveidea/audited/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collectiveidea/audited/labels{/name}","releases_url":"https://api.github.com/repos/collectiveidea/audited/releases{/id}","created_at":"2008-02-09T16:14:05Z","updated_at":"2015-01-06T14:48:26Z","pushed_at":"2015-01-06T13:53:56Z","git_url":"git://github.com/collectiveidea/audited.git","ssh_url":"git@github.com:collectiveidea/audited.git","clone_url":"https://github.com/collectiveidea/audited.git","svn_url":"https://github.com/collectiveidea/audited","homepage":"","size":1384,"stargazers_count":1106,"watchers_count":1106,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":277,"mirror_url":null,"open_issues_count":95,"forks":277,"open_issues":95,"watchers":1106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collectiveidea/audited/pulls/58"},"html":{"href":"https://github.com/collectiveidea/audited/pull/58"},"issue":{"href":"https://api.github.com/repos/collectiveidea/audited/issues/58"},"comments":{"href":"https://api.github.com/repos/collectiveidea/audited/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/collectiveidea/audited/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/collectiveidea/audited/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/collectiveidea/audited/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/collectiveidea/audited/statuses/feca16de06bc3ab91f07acab9d749b0d97daa024"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":5,"additions":77,"deletions":52,"changed_files":8}}