{"action":"created","issue":{"url":"https://api.github.com/repos/Ada-C4/typo/issues/26","repository_url":"https://api.github.com/repos/Ada-C4/typo","labels_url":"https://api.github.com/repos/Ada-C4/typo/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Ada-C4/typo/issues/26/comments","events_url":"https://api.github.com/repos/Ada-C4/typo/issues/26/events","html_url":"https://github.com/Ada-C4/typo/pull/26","id":144741182,"number":26,"title":"Admin Categories Controller Bug Fix","user":{"login":"lacuchilla","id":5484041,"avatar_url":"https://avatars.githubusercontent.com/u/5484041?v=3","gravatar_id":"","url":"https://api.github.com/users/lacuchilla","html_url":"https://github.com/lacuchilla","followers_url":"https://api.github.com/users/lacuchilla/followers","following_url":"https://api.github.com/users/lacuchilla/following{/other_user}","gists_url":"https://api.github.com/users/lacuchilla/gists{/gist_id}","starred_url":"https://api.github.com/users/lacuchilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacuchilla/subscriptions","organizations_url":"https://api.github.com/users/lacuchilla/orgs","repos_url":"https://api.github.com/users/lacuchilla/repos","events_url":"https://api.github.com/users/lacuchilla/events{/privacy}","received_events_url":"https://api.github.com/users/lacuchilla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-30T22:45:02Z","updated_at":"2016-03-30T22:47:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Ada-C4/typo/pulls/26","html_url":"https://github.com/Ada-C4/typo/pull/26","diff_url":"https://github.com/Ada-C4/typo/pull/26.diff","patch_url":"https://github.com/Ada-C4/typo/pull/26.patch"},"body":"The link for Categories on the admin dashboard began to function after I added a case statement to the admin categories controller to handle cases when there is no id in the params hash. I made a new category to test out the functionality and now there is a new error. When I was debugging and testing using local host as my server, I discovered that the url for the permalink was being saved as the id, instead of the actual id of the new category. I was able to fix the problem locally by dropping and reseeding the database, but I am having difficulty dropping and reseeding the database in production, and I'm not sure that this is the reason why an error comes up in production."},"comment":{"url":"https://api.github.com/repos/Ada-C4/typo/issues/comments/203671770","html_url":"https://github.com/Ada-C4/typo/pull/26#issuecomment-203671770","issue_url":"https://api.github.com/repos/Ada-C4/typo/issues/26","id":203671770,"user":{"login":"kariabancroft","id":7269204,"avatar_url":"https://avatars.githubusercontent.com/u/7269204?v=3","gravatar_id":"","url":"https://api.github.com/users/kariabancroft","html_url":"https://github.com/kariabancroft","followers_url":"https://api.github.com/users/kariabancroft/followers","following_url":"https://api.github.com/users/kariabancroft/following{/other_user}","gists_url":"https://api.github.com/users/kariabancroft/gists{/gist_id}","starred_url":"https://api.github.com/users/kariabancroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kariabancroft/subscriptions","organizations_url":"https://api.github.com/users/kariabancroft/orgs","repos_url":"https://api.github.com/users/kariabancroft/repos","events_url":"https://api.github.com/users/kariabancroft/events{/privacy}","received_events_url":"https://api.github.com/users/kariabancroft/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T22:47:04Z","updated_at":"2016-03-30T22:47:04Z","body":"The db_development and db_test files should not be included in your commits, please delete and add to gitignore"}}