Hacker News new | ask | show | jobs
Proffer: Stop Action Controller Exposing Instance Variables to Views (github.com)
8 points by mudgemeister 5189 days ago
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'}