Don't generate `foreign_type` if `options[:polymorphic]` is not given
Don't generate `foreign_type` if `options[:polymorphic]` is not given

Because the reflection doesn't have `foreign_type` unless the
association is a polymorphic association.

baerjam/rails,starknx/rails,assain/rails,fabianoleittes/rails,rafaelfranca/omg-rails,esparta/rails,baerjam/rails,vipulnsward/rails,yawboakye/rails,baerjam/rails,palkan/rails,printercu/rails,gauravtiwari/rails,Envek/rails,yhirano55/rails,repinel/rails,kmcphillips/rails,tgxworld/rails,fabianoleittes/rails,kamipo/rails,brchristian/rails,bogdanvlviv/rails,illacceptanything/illacceptanything,travisofthenorth/rails,lcreid/rails,kmcphillips/rails,yasslab/railsguides.jp,felipecvo/rails,illacceptanything/illacceptanything,BlakeWilliams/rails,odedniv/rails,Edouard-chin/rails,joonyou/rails,rails/rails,illacceptanything/illacceptanything,starknx/rails,rafaelfranca/omg-rails,assain/rails,EmmaB/rails-1,illacceptanything/illacceptanything,EmmaB/rails-1,betesh/rails,betesh/rails,jeremy/rails,tjschuck/rails,prathamesh-sonpatki/rails,bogdanvlviv/rails,printercu/rails,yhirano55/rails,illacceptanything/illacceptanything,iainbeeston/rails,Stellenticket/rails,arunagw/rails,flanger001/rails,Envek/rails,illacceptanything/illacceptanything,repinel/rails,printercu/rails,flanger001/rails,tjschuck/rails,assain/rails,lcreid/rails,brchristian/rails,iainbeeston/rails,Vasfed/rails,notapatch/rails,tgxworld/rails,joonyou/rails,MSP-Greg/rails,tjschuck/rails,Stellenticket/rails,felipecvo/rails,illacceptanything/illacceptanything,schuetzm/rails,kmcphillips/rails,Vasfed/rails,yalab/rails,pvalena/rails,georgeclaghorn/rails,yasslab/railsguides.jp,rafaelfranca/omg-rails,pvalena/rails,starknx/rails,flanger001/rails,yalab/rails,felipecvo/rails,deraru/rails,mechanicles/rails,rails/rails,deraru/rails,eileencodes/rails,kamipo/rails,lcreid/rails,printercu/rails,yhirano55/rails,travisofthenorth/rails,illacceptanything/illacceptanything,utilum/rails,iainbeeston/rails,untidy-hair/rails,untidy-hair/rails,brchristian/rails,bogdanvlviv/rails,betesh/rails,assain/rails,yawboakye/rails,pvalena/rails,Vasfed/rails,Envek/rails,tgxworld/rails,kmcphillips/rails,yasslab/railsguides.jp,Envek/rails,aditya-kapoor/rails,esparta/rails,jeremy/rails,shioyama/rails,rails/rails,vipulnsward/rails,kirs/rails-1,schuetzm/rails,georgeclaghorn/rails,MSP-Greg/rails,utilum/rails,yawboakye/rails,vipulnsward/rails,shioyama/rails,mohitnatoo/rails,joonyou/rails,travisofthenorth/rails,kirs/rails-1,arunagw/rails,gfvcastro/rails,notapatch/rails,joonyou/rails,eileencodes/rails,yalab/rails,notapatch/rails,kamipo/rails,pvalena/rails,aditya-kapoor/rails,kddeisz/rails,fabianoleittes/rails,yalab/rails,iainbeeston/rails,palkan/rails,gfvcastro/rails,aditya-kapoor/rails,jeremy/rails,illacceptanything/illacceptanything,travisofthenorth/rails,utilum/rails,illacceptanything/illacceptanything,repinel/rails,kddeisz/rails,Vasfed/rails,Edouard-chin/rails,palkan/rails,prathamesh-sonpatki/rails,shioyama/rails,illacceptanything/illacceptanything,eileencodes/rails,yahonda/rails,yahonda/rails,shioyama/rails,yawboakye/rails,georgeclaghorn/rails,illacceptanything/illacceptanything,deraru/rails,mohitnatoo/rails,BlakeWilliams/rails,georgeclaghorn/rails,arunagw/rails,BlakeWilliams/rails,yhirano55/rails,BlakeWilliams/rails,rails/rails,Erol/rails,tgxworld/rails,tjschuck/rails,schuetzm/rails,odedniv/rails,gauravtiwari/rails,aditya-kapoor/rails,Stellenticket/rails,gfvcastro/rails,illacceptanything/illacceptanything,mohitnatoo/rails,esparta/rails,untidy-hair/rails,mohitnatoo/rails,jeremy/rails,odedniv/rails,prathamesh-sonpatki/rails,untidy-hair/rails,deraru/rails,Erol/rails,notapatch/rails,illacceptanything/illacceptanything,mechanicles/rails,mechanicles/rails,baerjam/rails,EmmaB/rails-1,flanger001/rails,esparta/rails,yahonda/rails,vipulnsward/rails,Edouard-chin/rails,fabianoleittes/rails,Edouard-chin/rails,mechanicles/rails,prathamesh-sonpatki/rails,bogdanvlviv/rails,yahonda/rails,yasslab/railsguides.jp,kddeisz/rails,Erol/rails,Stellenticket/rails,schuetzm/rails,MSP-Greg/rails,Erol/rails,gauravtiwari/rails,eileencodes/rails,kirs/rails-1,MSP-Greg/rails,gfvcastro/rails,palkan/rails,arunagw/rails,betesh/rails,lcreid/rails,illacceptanything/illacceptanything,repinel/rails,kddeisz/rails,utilum/rails