{"action":"created","issue":{"url":"https://api.github.com/repos/mondeun/Real-Estate/issues/2","repository_url":"https://api.github.com/repos/mondeun/Real-Estate","labels_url":"https://api.github.com/repos/mondeun/Real-Estate/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mondeun/Real-Estate/issues/2/comments","events_url":"https://api.github.com/repos/mondeun/Real-Estate/issues/2/events","html_url":"https://github.com/mondeun/Real-Estate/issues/2","id":153672546,"number":2,"title":"Duplicate Db rows at runtime","user":{"login":"mondeun","id":2684404,"avatar_url":"https://avatars.githubusercontent.com/u/2684404?v=3","gravatar_id":"","url":"https://api.github.com/users/mondeun","html_url":"https://github.com/mondeun","followers_url":"https://api.github.com/users/mondeun/followers","following_url":"https://api.github.com/users/mondeun/following{/other_user}","gists_url":"https://api.github.com/users/mondeun/gists{/gist_id}","starred_url":"https://api.github.com/users/mondeun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mondeun/subscriptions","organizations_url":"https://api.github.com/users/mondeun/orgs","repos_url":"https://api.github.com/users/mondeun/repos","events_url":"https://api.github.com/users/mondeun/events{/privacy}","received_events_url":"https://api.github.com/users/mondeun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mondeun/Real-Estate/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-08T19:16:08Z","updated_at":"2016-05-08T20:05:22Z","closed_at":"2016-05-08T20:05:22Z","body":"Certain fields in our seed gets duplicated at random times.\r\nMigrations.Seed method getting called multiple times?"},"comment":{"url":"https://api.github.com/repos/mondeun/Real-Estate/issues/comments/217742996","html_url":"https://github.com/mondeun/Real-Estate/issues/2#issuecomment-217742996","issue_url":"https://api.github.com/repos/mondeun/Real-Estate/issues/2","id":217742996,"user":{"login":"RobinLjungqvist","id":17403394,"avatar_url":"https://avatars.githubusercontent.com/u/17403394?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinLjungqvist","html_url":"https://github.com/RobinLjungqvist","followers_url":"https://api.github.com/users/RobinLjungqvist/followers","following_url":"https://api.github.com/users/RobinLjungqvist/following{/other_user}","gists_url":"https://api.github.com/users/RobinLjungqvist/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinLjungqvist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinLjungqvist/subscriptions","organizations_url":"https://api.github.com/users/RobinLjungqvist/orgs","repos_url":"https://api.github.com/users/RobinLjungqvist/repos","events_url":"https://api.github.com/users/RobinLjungqvist/events{/privacy}","received_events_url":"https://api.github.com/users/RobinLjungqvist/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T20:05:22Z","updated_at":"2016-05-08T20:05:22Z","body":"Fixed it by checking the databases if any rows existed in the database before seeding.\r\nIf rows exists it skips the seeding for those specific tables."}}