Y
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
nc
5189 days ago
Would like to see this functionality merged into Gon,
https://github.com/gazay/gon
. (and maybe Rails core someday).
link
aneth
5189 days ago
It's already possible to write templates this way.
render 'template', :locals => {:wombat => 'foo'}
link