TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Proffer: Stop Action Controller Exposing Instance Variables to Views

8 pointsby mudgemeisterabout 13 years ago

2 comments

ncabout 13 years ago
Would like to see this functionality merged into Gon, <a href="https://github.com/gazay/gon" rel="nofollow">https://github.com/gazay/gon</a>. (and maybe Rails core someday).
anethabout 13 years ago
It's already possible to write templates this way.<p>render 'template', :locals =&#62; {:wombat =&#62; 'foo'}