{"height":"190","provider_url":"https://hatena.blog","image_url":null,"version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/omiend/","type":"rich","blog_title":"the industrial","url":"https://omiend.hatenablog.jp/entry/2018/10/14/185555","provider_name":"Hatena Blog","published":"2018-10-14 18:55:55","description":"Rails4\u304b\u3089Rails5\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3059\u308b\u969b\u3001\u91cd\u8981\u30ed\u30b8\u30c3\u30af\u306e\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u3002 \u305d\u3053\u3067\u3001\u6539\u3081\u3066RSpec\u3092\u4f7f\u304a\u3046\u3068\u601d\u3044\u3044\u308d\u3044\u308d\u8abf\u3079\u3066\u3044\u308b\u4e2d\u3067\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u4f5c\u6210\u30c4\u30fc\u30eb\u306b FactoryBot \u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3002 \u3057\u304b\u3057\u3001\u3044\u304f\u3089\u8a66\u305b\u3069\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u30fb\u30fb\u30fb\u3002 Failure/Error: config.include FactoryBot::Syntax::Methods NameError: uninitialized constant FactoryBot # ./spec/rails_helper.rb:63:in `block in <top (required\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fomiend.hatenablog.jp%2Fentry%2F2018%2F10%2F14%2F185555\" title=\"FactoryBot\u304c\u300cFailure/Error: config.include FactoryBot::Syntax::Methods\u300d\u3067\u8aad\u307f\u8fbc\u3081\u306a\u304b\u3063\u305f\u8a71 - the industrial\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"omiend","blog_url":"https://omiend.hatenablog.jp/","categories":["RubyOnRails","Rails","Ruby"],"title":"FactoryBot\u304c\u300cFailure/Error: config.include FactoryBot::Syntax::Methods\u300d\u3067\u8aad\u307f\u8fbc\u3081\u306a\u304b\u3063\u305f\u8a71"}