{"action":"closed","issue":{"url":"https://api.github.com/repos/the-teacher/the_comments/issues/35","labels_url":"https://api.github.com/repos/the-teacher/the_comments/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/the-teacher/the_comments/issues/35/comments","events_url":"https://api.github.com/repos/the-teacher/the_comments/issues/35/events","html_url":"https://github.com/the-teacher/the_comments/issues/35","id":51630982,"number":35,"title":"State machine warning if default state changed in config","user":{"login":"dept42","id":314916,"avatar_url":"https://avatars.githubusercontent.com/u/314916?v=3","gravatar_id":"","url":"https://api.github.com/users/dept42","html_url":"https://github.com/dept42","followers_url":"https://api.github.com/users/dept42/followers","following_url":"https://api.github.com/users/dept42/following{/other_user}","gists_url":"https://api.github.com/users/dept42/gists{/gist_id}","starred_url":"https://api.github.com/users/dept42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dept42/subscriptions","organizations_url":"https://api.github.com/users/dept42/orgs","repos_url":"https://api.github.com/users/dept42/repos","events_url":"https://api.github.com/users/dept42/events{/privacy}","received_events_url":"https://api.github.com/users/dept42/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-11T00:36:19Z","updated_at":"2015-01-06T07:41:58Z","closed_at":"2015-01-06T07:41:58Z","body":"I set the config to have comments published by default:\r\n\r\n```ruby\r\nconfig.default_state       = :published              # default state for comment\r\n```\r\n\r\nThis resulted in a warning from state machine about conflicting defaults. The warning went away when I rolled back the migration creating comments, and removed the schema default for the state column."}}