[報錯記錄]ActiveRecord::StatementInvalid

Published on:

位置:終端機

錯誤:進行rails c 測驗j.collectors << u的時候失敗,顯示ActiveRecord::StatementInvalid: Could not find table 'job_favorites'

解法:
因為顯示『Could not find table 'job_favorites'』 檢查自己是不是沒有rake db:migration
果然! rake後就成功了~

Comments

comments powered by Disqus