check `supports_view_paths?` at registration time
check `supports_view_paths?` at registration time

If we check the conditional at registration time, then we can avoid the
conditional at runtime.  This commit checks for view path support when
the handler is registered so that runtime calls to `find_dependencies`
won't need to check the conditional.  The idea is that
`register_tracker` is called only once where `find_dependencies` may be
called many times.

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