3 ms·
I also don't think Rails templating is anything special but it's well designed. One strong point is that it's full Ruby, so there is no need to learn another l
by pmontra 9y ago
I also don't think Rails templating is anything special but it's well designed.
One strong point is that it's full Ruby, so there is no need to learn another language. This means that one could write the application in the views (just like vanilla PHP) but in my experience nobody does it.
Another nice feature is that every instance variable of the controller is available in the view. No need to waste time to declare them and get an extra chance to add some bug (I'm looking at you, Django.) I still remember how good it felt coming from Java Struts in 2005.