{"action":"created","issue":{"url":"https://api.github.com/repos/ryuzee/SlideHub/issues/368","repository_url":"https://api.github.com/repos/ryuzee/SlideHub","labels_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/368/comments","events_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/368/events","html_url":"https://github.com/ryuzee/SlideHub/issues/368","id":335243869,"node_id":"MDU6SXNzdWUzMzUyNDM4Njk=","number":368,"title":"migrateに失敗する","user":{"login":"Zaki-XL","id":1776330,"node_id":"MDQ6VXNlcjE3NzYzMzA=","avatar_url":"https://avatars3.githubusercontent.com/u/1776330?v=4","gravatar_id":"","url":"https://api.github.com/users/Zaki-XL","html_url":"https://github.com/Zaki-XL","followers_url":"https://api.github.com/users/Zaki-XL/followers","following_url":"https://api.github.com/users/Zaki-XL/following{/other_user}","gists_url":"https://api.github.com/users/Zaki-XL/gists{/gist_id}","starred_url":"https://api.github.com/users/Zaki-XL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zaki-XL/subscriptions","organizations_url":"https://api.github.com/users/Zaki-XL/orgs","repos_url":"https://api.github.com/users/Zaki-XL/repos","events_url":"https://api.github.com/users/Zaki-XL/events{/privacy}","received_events_url":"https://api.github.com/users/Zaki-XL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T03:00:36Z","updated_at":"2018-06-25T03:03:14Z","closed_at":null,"author_association":"NONE","body":"@ryuzee \r\n1.6にバージョンアップした所、migrate中のseed処理でabortします\r\n\r\n```\r\n[root@ip-xx-xx-xx-xx ~]# docker exec $CONTAINER_ID bash -l -c 'bundle exec rake db:seed RAILS_ENV=production'\r\nstdin: is not a tty\r\nrake aborted!\r\nActiveModel::UnknownAttributeError: unknown attribute 'name' for Category.\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:48:in `_assign_attribute'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:39:in `each'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activemodel-5.1.6/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/core.rb:337:in `initialize'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/inheritance.rb:66:in `new'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/inheritance.rb:66:in `new'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb:33:in `create'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb:31:in `block in create'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb:31:in `collect'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb:31:in `create'\r\n/opt/application/current/db/seeds.rb:9:in `<top (required)>'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:286:in `load'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:286:in `block in load'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:in `load_dependency'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:286:in `load'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/engine.rb:549:in `load_seed'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/tasks/database_tasks.rb:270:in `load_seed'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/railties/databases.rake:184:in `block (2 levels) in <top (required)>'\r\n/opt/application/current/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'\r\n/root/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\r\n/root/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\r\nTasks: TOP => db:seed\r\n(See full trace by running task with --trace)\r\n```\r\n\r\nご確認よろしくお願いいたします"},"comment":{"url":"https://api.github.com/repos/ryuzee/SlideHub/issues/comments/399817585","html_url":"https://github.com/ryuzee/SlideHub/issues/368#issuecomment-399817585","issue_url":"https://api.github.com/repos/ryuzee/SlideHub/issues/368","id":399817585,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTgxNzU4NQ==","user":{"login":"Zaki-XL","id":1776330,"node_id":"MDQ6VXNlcjE3NzYzMzA=","avatar_url":"https://avatars3.githubusercontent.com/u/1776330?v=4","gravatar_id":"","url":"https://api.github.com/users/Zaki-XL","html_url":"https://github.com/Zaki-XL","followers_url":"https://api.github.com/users/Zaki-XL/followers","following_url":"https://api.github.com/users/Zaki-XL/following{/other_user}","gists_url":"https://api.github.com/users/Zaki-XL/gists{/gist_id}","starred_url":"https://api.github.com/users/Zaki-XL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zaki-XL/subscriptions","organizations_url":"https://api.github.com/users/Zaki-XL/orgs","repos_url":"https://api.github.com/users/Zaki-XL/repos","events_url":"https://api.github.com/users/Zaki-XL/events{/privacy}","received_events_url":"https://api.github.com/users/Zaki-XL/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T03:03:14Z","updated_at":"2018-06-25T03:03:14Z","author_association":"NONE","body":"seed処理でabortしてるのでadminでログインできなかった…"}}
{"actor":{"display_login":"Zaki-XL"}}