Add a test case for save(validate:false) with invalid foreign key.
Add a test case for save(validate:false) with invalid foreign key.

It is supposed to raise ActiveRecord::InvalidForeignKey when the
database has a fk constraint.

printercu/rails,amoody2108/TechForJustice,kirs/rails-1,baerjam/rails,illacceptanything/illacceptanything,koic/rails,88rabbit/newRails,rossta/rails,matrinox/rails,tgxworld/rails,kachick/rails,repinel/rails,shioyama/rails,mtsmfm/railstest,travisofthenorth/rails,pvalena/rails,flanger001/rails,EmmaB/rails-1,tjschuck/rails,yawboakye/rails,eileencodes/rails,mohitnatoo/rails,vipulnsward/rails,untidy-hair/rails,rossta/rails,schuetzm/rails,gcourtemanche/rails,kmcphillips/rails,koic/rails,bradleypriest/rails,gavingmiller/rails,felipecvo/rails,deraru/rails,kmayer/rails,bradleypriest/rails,vipulnsward/rails,maicher/rails,brchristian/rails,mechanicles/rails,baerjam/rails,aditya-kapoor/rails,kirs/rails-1,Spin42/rails,kmayer/rails,Vasfed/rails,arjes/rails,Edouard-chin/rails,Envek/rails,pvalena/rails,lcreid/rails,joonyou/rails,sergey-alekseev/rails,richseviora/rails,Edouard-chin/rails,sergey-alekseev/rails,ttanimichi/rails,riseshia/railsguides.kr,ledestin/rails,stefanmb/rails,ngpestelos/rails,fabianoleittes/rails,Spin42/rails,sealocal/rails,ngpestelos/rails,sealocal/rails,prathamesh-sonpatki/rails,ttanimichi/rails,tjschuck/rails,alecspopa/rails,illacceptanything/illacceptanything,yawboakye/rails,fabianoleittes/rails,starknx/rails,vipulnsward/rails,mathieujobin/reduced-rails-for-travis,elfassy/rails,Spin42/rails,fabianoleittes/rails,Stellenticket/rails,aditya-kapoor/rails,sergey-alekseev/rails,schuetzm/rails,kddeisz/rails,palkan/rails,mohitnatoo/rails,mtsmfm/railstest,Stellenticket/rails,mijoharas/rails,amoody2108/TechForJustice,illacceptanything/illacceptanything,coreyward/rails,assain/rails,marklocklear/rails,esparta/rails,Vasfed/rails,joonyou/rails,repinel/rails,pvalena/rails,schuetzm/rails,yawboakye/rails,iainbeeston/rails,riseshia/railsguides.kr,shioyama/rails,eileencodes/rails,bogdanvlviv/rails,BlakeWilliams/rails,esparta/rails,rails/rails,starknx/rails,assain/rails,Erol/rails,MichaelSp/rails,voray/rails,ledestin/rails,georgeclaghorn/rails,deraru/rails,odedniv/rails,bolek/rails,untidy-hair/rails,illacceptanything/illacceptanything,gfvcastro/rails,tjschuck/rails,kmayer/rails,samphilipd/rails,yhirano55/rails,kachick/rails,yhirano55/rails,kenta-s/rails,kaspth/rails,aditya-kapoor/rails,felipecvo/rails,samphilipd/rails,schuetzm/rails,88rabbit/newRails,rails/rails,rbhitchcock/rails,kmcphillips/rails,vassilevsky/rails,gavingmiller/rails,Envek/rails,deraru/rails,MSP-Greg/rails,joonyou/rails,yalab/rails,arunagw/rails,arjes/rails,illacceptanything/illacceptanything,yhirano55/rails,notapatch/rails,pvalena/rails,illacceptanything/illacceptanything,tgxworld/rails,prathamesh-sonpatki/rails,Edouard-chin/rails,xlymian/rails,mohitnatoo/rails,coreyward/rails,gauravtiwari/rails,illacceptanything/illacceptanything,palkan/rails,xlymian/rails,lucasmazza/rails,bogdanvlviv/rails,maicher/rails,eileencodes/rails,flanger001/rails,mechanicles/rails,vassilevsky/rails,jeremy/rails,mechanicles/rails,palkan/rails,travisofthenorth/rails,iainbeeston/rails,BlakeWilliams/rails,mtsmfm/railstest,MSP-Greg/rails,felipecvo/rails,kmcphillips/rails,gfvcastro/rails,kirs/rails-1,baerjam/rails,gauravtiwari/rails,hanystudy/rails,Vasfed/rails,jeremy/rails,yahonda/rails,eileencodes/rails,coreyward/rails,mohitnatoo/rails,rbhitchcock/rails,Erol/rails,yalab/rails,mathieujobin/reduced-rails-for-travis,kachick/rails,gcourtemanche/rails,MSP-Greg/rails,fabianoleittes/rails,marklocklear/rails,koic/rails,lucasmazza/rails,notapatch/rails,rossta/rails,yalab/rails,Stellenticket/rails,mathieujobin/reduced-rails-for-travis,Sen-Zhang/rails,odedniv/rails,Stellenticket/rails,rails/rails,printercu/rails,starknx/rails,mijoharas/rails,gfvcastro/rails,repinel/rails,rafaelfranca/omg-rails,gavingmiller/rails,riseshia/railsguides.kr,voray/rails,jeremy/rails,amoody2108/TechForJustice,rafaelfranca/omg-rails,bolek/rails,rails/rails,mtsmfm/rails,notapatch/rails,illacceptanything/illacceptanything,lcreid/rails,EmmaB/rails-1,Erol/rails,georgeclaghorn/rails,notapatch/rails,kenta-s/rails,kenta-s/rails,esparta/rails,gauravtiwari/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,jeremy/rails,yhirano55/rails,arunagw/rails,yasslab/railsguides.jp,ttanimichi/rails,tijwelch/rails,BlakeWilliams/rails,iainbeeston/rails,Edouard-chin/rails,assain/rails,yalab/rails,BlakeWilliams/rails,yawboakye/rails,yahonda/rails,odedniv/rails,marklocklear/rails,illacceptanything/illacceptanything,kaspth/rails,ledestin/rails,georgeclaghorn/rails,Sen-Zhang/rails,utilum/rails,tijwelch/rails,illacceptanything/illacceptanything,elfassy/rails,Envek/rails,gfvcastro/rails,printercu/rails,kamipo/rails,aditya-kapoor/rails,voray/rails,tgxworld/rails,riseshia/railsguides.kr,palkan/rails,bogdanvlviv/rails,assain/rails,alecspopa/rails,illacceptanything/illacceptanything,richseviora/rails,kaspth/rails,matrinox/rails,repinel/rails,shioyama/rails,esparta/rails,alecspopa/rails,tijwelch/rails,matrinox/rails,utilum/rails,printercu/rails,vassilevsky/rails,prathamesh-sonpatki/rails,lcreid/rails,gcourtemanche/rails,xlymian/rails,rafaelfranca/omg-rails,yahonda/rails,elfassy/rails,shioyama/rails,bolek/rails,Erol/rails,samphilipd/rails,MichaelSp/rails,utilum/rails,pschambacher/rails,yahonda/rails,iainbeeston/rails,bogdanvlviv/rails,lcreid/rails,kamipo/rails,88rabbit/newRails,utilum/rails,rbhitchcock/rails,arunagw/rails,illacceptanything/illacceptanything,yasslab/railsguides.jp,prathamesh-sonpatki/rails,EmmaB/rails-1,joonyou/rails,betesh/rails,untidy-hair/rails,MichaelSp/rails,brchristian/rails,travisofthenorth/rails,untidy-hair/rails,betesh/rails,mtsmfm/rails,baerjam/rails,MSP-Greg/rails,georgeclaghorn/rails,Vasfed/rails,vipulnsward/rails,lucasmazza/rails,stefanmb/rails,travisofthenorth/rails,flanger001/rails,deraru/rails,kamipo/rails,pschambacher/rails,bradleypriest/rails,mechanicles/rails,maicher/rails,richseviora/rails,yasslab/railsguides.jp,hanystudy/rails,brchristian/rails,kddeisz/rails,stefanmb/rails,hanystudy/rails,illacceptanything/illacceptanything,pschambacher/rails,sealocal/rails,yasslab/railsguides.jp,arjes/rails,Envek/rails,mtsmfm/rails,betesh/rails,kddeisz/rails,kmcphillips/rails,tgxworld/rails,betesh/rails,kddeisz/rails,Sen-Zhang/rails,tjschuck/rails,mijoharas/rails,flanger001/rails,ngpestelos/rails,arunagw/rails