{"action":"created","issue":{"url":"https://api.github.com/repos/andreorvalho/foodies_cube/issues/17","labels_url":"https://api.github.com/repos/andreorvalho/foodies_cube/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/andreorvalho/foodies_cube/issues/17/comments","events_url":"https://api.github.com/repos/andreorvalho/foodies_cube/issues/17/events","html_url":"https://github.com/andreorvalho/foodies_cube/pull/17","id":117324284,"number":17,"title":"users trigger wall","user":{"login":"jonybravo","id":8008067,"avatar_url":"https://avatars.githubusercontent.com/u/8008067?v=3","gravatar_id":"","url":"https://api.github.com/users/jonybravo","html_url":"https://github.com/jonybravo","followers_url":"https://api.github.com/users/jonybravo/followers","following_url":"https://api.github.com/users/jonybravo/following{/other_user}","gists_url":"https://api.github.com/users/jonybravo/gists{/gist_id}","starred_url":"https://api.github.com/users/jonybravo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonybravo/subscriptions","organizations_url":"https://api.github.com/users/jonybravo/orgs","repos_url":"https://api.github.com/users/jonybravo/repos","events_url":"https://api.github.com/users/jonybravo/events{/privacy}","received_events_url":"https://api.github.com/users/jonybravo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T10:21:47Z","updated_at":"2015-11-23T01:13:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/andreorvalho/foodies_cube/pulls/17","html_url":"https://github.com/andreorvalho/foodies_cube/pull/17","diff_url":"https://github.com/andreorvalho/foodies_cube/pull/17.diff","patch_url":"https://github.com/andreorvalho/foodies_cube/pull/17.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/andreorvalho/foodies_cube/issues/comments/158824891","html_url":"https://github.com/andreorvalho/foodies_cube/pull/17#issuecomment-158824891","issue_url":"https://api.github.com/repos/andreorvalho/foodies_cube/issues/17","id":158824891,"user":{"login":"andreorvalho","id":165746,"avatar_url":"https://avatars.githubusercontent.com/u/165746?v=3","gravatar_id":"","url":"https://api.github.com/users/andreorvalho","html_url":"https://github.com/andreorvalho","followers_url":"https://api.github.com/users/andreorvalho/followers","following_url":"https://api.github.com/users/andreorvalho/following{/other_user}","gists_url":"https://api.github.com/users/andreorvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/andreorvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreorvalho/subscriptions","organizations_url":"https://api.github.com/users/andreorvalho/orgs","repos_url":"https://api.github.com/users/andreorvalho/repos","events_url":"https://api.github.com/users/andreorvalho/events{/privacy}","received_events_url":"https://api.github.com/users/andreorvalho/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T01:13:59Z","updated_at":"2015-11-23T01:13:59Z","body":"here it explains how associations works:\r\nhttp://guides.rubyonrails.org/association_basics.html\r\n\r\nyour design/code has almost everything correct. The reason why this is not working, is because you forgot to do a migration. If you don't change the database how do you think a user and a wall relate?\r\n\r\nAttention, here nothing triggers nothing. A user has a wall, and a wall belongs to a user. So that means that every time a new user is created a wall should be created as well. You have different ways to do that.\r\n\r\nYou can also watch this video here: http://ruby-on-rails.wonderhowto.com/how-to/use-one-one-association-when-using-ruby-rails-3-407824/\r\n\r\ntry to implement it and let me know if you have doubts.\r\n"}}