我已将avatarUploader安装为carrierwave docs中的show
FactoryGirl.create(:user, remote_avatar_url => "https://scontent.xx.fbcdn.net/v/t1.0-1/p100x100/14938353_1195336437213378_941804383137628957_n.jpg?oh=163a1fef88ec96558056094f60152976&oe=5A81C63F")`
当我尝试使用网址
创建用户时item
NameError:未定义的局部变量或方法`remote_avatar_url' for main:Object
答案 0 :(得分:2)
你忘了冒号:
HELLO PEEPS HELLO PEEPS