{"action":"opened","issue":{"url":"https://api.github.com/repos/ga-wdi-exercises/project4/issues/325","repository_url":"https://api.github.com/repos/ga-wdi-exercises/project4","labels_url":"https://api.github.com/repos/ga-wdi-exercises/project4/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/project4/issues/325/comments","events_url":"https://api.github.com/repos/ga-wdi-exercises/project4/issues/325/events","html_url":"https://github.com/ga-wdi-exercises/project4/issues/325","id":177313278,"number":325,"title":"deploying, error table does not exist","user":{"login":"pamelaolney","id":19878621,"avatar_url":"https://avatars.githubusercontent.com/u/19878621?v=3","gravatar_id":"","url":"https://api.github.com/users/pamelaolney","html_url":"https://github.com/pamelaolney","followers_url":"https://api.github.com/users/pamelaolney/followers","following_url":"https://api.github.com/users/pamelaolney/following{/other_user}","gists_url":"https://api.github.com/users/pamelaolney/gists{/gist_id}","starred_url":"https://api.github.com/users/pamelaolney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamelaolney/subscriptions","organizations_url":"https://api.github.com/users/pamelaolney/orgs","repos_url":"https://api.github.com/users/pamelaolney/repos","events_url":"https://api.github.com/users/pamelaolney/events{/privacy}","received_events_url":"https://api.github.com/users/pamelaolney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-15T23:17:52Z","updated_at":"2016-09-15T23:17:52Z","closed_at":null,"body":"Hi,\r\n\r\nI am having an issue with deploying.  My logs are saying that my heroku log is saying @activites does not exists.  \r\n\r\n```\r\n2016-09-15T23:03:16.285208+00:00 app[web.1]: LINE 1: SELECT \"activities\".* FROM \"activities\"\r\n2016-09-15T23:03:16.285210+00:00 app[web.1]: : SELECT \"activities\".* FROM \"activities\"):\r\n2016-09-15T23:03:16.285447+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e]     10:   </li>\r\n2016-09-15T23:03:16.285207+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e] ActionView::Template::Error (PG::UndefinedTable: ERROR:  relation \"activities\" does not exist\r\n2016-09-15T23:03:16.285474+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e]     11:   <li>\r\n2016-09-15T23:03:16.285531+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e]     13:       <% @activities.shuffle.first(1).each do |activity| %>\r\n2016-09-15T23:03:16.285564+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e]     14:       <%= activity.title %>\r\n2016-09-15T23:03:16.285594+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e]     15:       <% end %>\r\n2016-09-15T23:03:16.285625+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e]     16:     </div>\r\n2016-09-15T23:03:16.285502+00:00 app[web.1]: [a0cbc06e-b37d-493c-b575-6bc2a611671e]     12:     <div id=\"content\">\r\n\r\n```\r\n\r\nThis may or may not be the issue here.  It is referring to my views.  But my views are rendering correctly on the local host.  And I am demployed technically.  I am just getting the old.\r\n\r\n\"We're sorry, but something went wrong.\r\n\r\nIf you are the application owner check the logs for more information.\"\r\n\r\nerror.\r\n\r\nThis is my welcome view\r\n\r\n```\r\nclass WelcomeController < ApplicationController\r\n  def index\r\n    @activities = Activity.all\r\n  end\r\nend\r\n\r\n```\r\n\r\nThis is my welcome index view\r\n\r\n```\r\n<h2 class=\"welcome\">There's always something to do.</h2>\r\n\r\n\r\n<ul class=\"generate\">\r\n  <li>\r\n    <h2 id=\"live\">\r\n      You should ...\r\n    </h2>\r\n\r\n  </li>\r\n  <li>\r\n    <div id=\"content\">\r\n      <% @activities.shuffle.first(1).each do |activity| %>\r\n      <%= activity.title %>\r\n      <% end %>\r\n    </div>\r\n  </li>\r\n\r\n  <!-- <div id=\"makali\">\r\n  </div> -->\r\n</ul>\r\n\r\n```\r\n\r\nPlease let me know what else I can do.  I am still in the GA building if anyone is still around."}}
{"actor":{"display_login":"pamelaolney"}}