[ci skip] Avoid suggesting dangerous code in i18n guide
[ci skip] Avoid suggesting dangerous code in i18n guide

Calling `to_sym` on user input opens apps up to Denial of Service attacks, via the symbol table being expanded to consume vast swathes of memory.

It is a fairly common configuration to have DNS configured such that all subdomains route to your Rails app, in which case an attacker visits `www1.foo.com`, `www2.foo.com`, and so on until something gives.

It is far less likely to have this problem with TLDs, so that change was only for consistency.

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