Hacker News new | past | comments | ask | show | jobs | submit login
Proffer: Stop Action Controller Exposing Instance Variables to Views (github.com/hudge)
8 points by mudgemeister on April 1, 2012 | hide | past | favorite | 2 comments



Would like to see this functionality merged into Gon, https://github.com/gazay/gon. (and maybe Rails core someday).


It's already possible to write templates this way.

render 'template', :locals => {:wombat => 'foo'}




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: