{"action":"closed","issue":{"url":"https://api.github.com/repos/rails/rails/issues/24219","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/24219/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/24219/comments","events_url":"https://api.github.com/repos/rails/rails/issues/24219/events","html_url":"https://github.com/rails/rails/issues/24219","id":141322758,"number":24219,"title":"PG::NotNullViolation: ERROR:  null value in column \"created_at\" violates not-null constraint","user":{"login":"ryush00","id":4997174,"avatar_url":"https://avatars.githubusercontent.com/u/4997174?v=3","gravatar_id":"","url":"https://api.github.com/users/ryush00","html_url":"https://github.com/ryush00","followers_url":"https://api.github.com/users/ryush00/followers","following_url":"https://api.github.com/users/ryush00/following{/other_user}","gists_url":"https://api.github.com/users/ryush00/gists{/gist_id}","starred_url":"https://api.github.com/users/ryush00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryush00/subscriptions","organizations_url":"https://api.github.com/users/ryush00/orgs","repos_url":"https://api.github.com/users/ryush00/repos","events_url":"https://api.github.com/users/ryush00/events{/privacy}","received_events_url":"https://api.github.com/users/ryush00/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-16T16:14:08Z","updated_at":"2016-03-16T23:11:46Z","closed_at":"2016-03-16T23:11:46Z","body":"### Steps to reproduce\r\nThere is no way to reproduce this problem.\r\n\r\nI start the server. It works great during only a few hours. After a few hours, It show me the error.\r\n\r\n\r\n### Expected behavior\r\nInsert record without error.\r\n\r\n### Actual behavior\r\nhttps://gist.github.com/ryush00/322cd74b3d8ed07d99ba\r\n\r\n### System configuration\r\n**Rails version**: 4.2.5.2\r\n\r\n**Ruby version**: 2.2.4\r\n\r\n**db.yml**\r\n\r\n```\r\nproduction:\r\n  <<: *default\r\n  database: minelist_production\r\n  pool: 5\r\n  host: <%= ENV[\"POSTGRESQL_HOST\"] %>\r\n  username: <%= ENV[\"POSTGRESQL_USERNAME\"] %>\r\n  password: <%= ENV[\"POSTGRESQL_PASSWORD\"] %>\r\n```\r\n\r\n**deploy/production.rb**\r\n\r\n```\r\nset :puma_threads, [16, 16]\r\nset :puma_workers, 2\r\nset :puma_worker_timeout, nil\r\nset :puma_init_active_record, true\r\nset :puma_preload_app, false\r\nset :nginx_use_ssl, false\r\n```"}}