Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The point about the templates is that they're evaluated in the same context as the actions. Have a common context between the controller and the view makes a lot of sense to me. I don't see any reason why this is necessary though, you could always pass a context object to the template parser.


The point of rails is that when there is something "you could always do" you find a way never to do it.


I'm going to bite and just say YAGNI




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

Search: