Hacker News new | ask | show | jobs
by ElongatedTowel 4741 days ago
I'm still a rails newbie so I might be mistaken, but it seems there is no template inheritance in rails.

I absolutely love the way of thinking template inheritance is driving me to. Rails seems to take a similar approach as JavaScript frameworks and follows a more widget like approach (layouts) or a simple inclusion of template parts (partials).

I know that is true for erb, maybe rails adds something on top of that I'm not aware of.

Honestly I'm rather annoyed by the lack of template inheritance in a lot of templating engines. Partials just don't cut it.

1 comments

Is this what you mean by "template inheritance"? http://railscasts.com/episodes/269-template-inheritance