ask the request object for the session
ask the request object for the session

The flash middleware shouldn't know how to look up the session object.
Just ask the request for that information.

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