{"action":"opened","issue":{"url":"https://api.github.com/repos/thoughtbot/factory_bot_rails/issues/258","repository_url":"https://api.github.com/repos/thoughtbot/factory_bot_rails","labels_url":"https://api.github.com/repos/thoughtbot/factory_bot_rails/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/factory_bot_rails/issues/258/comments","events_url":"https://api.github.com/repos/thoughtbot/factory_bot_rails/issues/258/events","html_url":"https://github.com/thoughtbot/factory_bot_rails/issues/258","id":300824944,"number":258,"title":"Downgrade to factory_bot_rails breaks hundreds of our tests","user":{"login":"jkugler","id":78939,"avatar_url":"https://avatars2.githubusercontent.com/u/78939?v=4","gravatar_id":"","url":"https://api.github.com/users/jkugler","html_url":"https://github.com/jkugler","followers_url":"https://api.github.com/users/jkugler/followers","following_url":"https://api.github.com/users/jkugler/following{/other_user}","gists_url":"https://api.github.com/users/jkugler/gists{/gist_id}","starred_url":"https://api.github.com/users/jkugler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkugler/subscriptions","organizations_url":"https://api.github.com/users/jkugler/orgs","repos_url":"https://api.github.com/users/jkugler/repos","events_url":"https://api.github.com/users/jkugler/events{/privacy}","received_events_url":"https://api.github.com/users/jkugler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-27T22:54:49Z","updated_at":"2018-02-27T22:54:49Z","closed_at":null,"author_association":"NONE","body":"So, we are using factory_girl(_rails)  4.9.0. We tried moving to factory_bot, but only a 4.8.2 version is available. However, moving to that version (and replacing all names per https://github.com/thoughtbot/factory_bot/blob/v4.9.0/UPGRADE_FROM_FACTORY_GIRL.md) breaks over half of our 512 test throwing the error:\r\n```\r\nTypeError:\r\n         no implicit conversion of Hash into String\r\n```\r\nis there anything else we are supposed to do to downgrade from factory_girl to factory_bot?\r\n\r\nWas there a breaking change between factory_girl 4.9.0 and factory_bot 4.8.2?\r\n\r\nI'll gather up some code samples and more detailed error messages. I just wanted to get the ball rolling on this."}}
{"actor":{"display_login":"jkugler"}}