Proffer: Stop Action Controller Exposing Instance Variables to Views(github.com)8 points·by mudgemeister·قبل 14 سنة·2 commentsgithub.comProffer: Stop Action Controller Exposing Instance Variables to Viewshttps://github.com/hudge/proffer2 commentsPost comment[–]nc·قبل 14 سنةreplyWould like to see this functionality merged into Gon, https://github.com/gazay/gon. (and maybe Rails core someday).[–]aneth·قبل 14 سنةreplyIt's already possible to write templates this way.render 'template', :locals => {:wombat => 'foo'}