{"action":"opened","issue":{"url":"https://api.github.com/repos/jajajames/FinalProjectTIY/issues/44","repository_url":"https://api.github.com/repos/jajajames/FinalProjectTIY","labels_url":"https://api.github.com/repos/jajajames/FinalProjectTIY/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/jajajames/FinalProjectTIY/issues/44/comments","events_url":"https://api.github.com/repos/jajajames/FinalProjectTIY/issues/44/events","html_url":"https://github.com/jajajames/FinalProjectTIY/issues/44","id":155293934,"number":44,"title":"This will fail if a user has no journeys","user":{"login":"dummied","id":4174,"avatar_url":"https://avatars.githubusercontent.com/u/4174?v=3","gravatar_id":"","url":"https://api.github.com/users/dummied","html_url":"https://github.com/dummied","followers_url":"https://api.github.com/users/dummied/followers","following_url":"https://api.github.com/users/dummied/following{/other_user}","gists_url":"https://api.github.com/users/dummied/gists{/gist_id}","starred_url":"https://api.github.com/users/dummied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dummied/subscriptions","organizations_url":"https://api.github.com/users/dummied/orgs","repos_url":"https://api.github.com/users/dummied/repos","events_url":"https://api.github.com/users/dummied/events{/privacy}","received_events_url":"https://api.github.com/users/dummied/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-17T15:46:07Z","updated_at":"2016-05-17T15:46:07Z","closed_at":null,"body":"https://github.com/jajajames/FinalProjectTIY/blob/master/app/models/user.rb#L51\r\n\r\nBecause `user.journeys` will never equal `[]`. It's array-like, but that relationship proxy is not an actual array.\r\n\r\nUse `journeys.empty?` instead."}}