News for hackers. Stuff that matters.
Re:Ask HN: Things that you can do with django but not with r... by ElongatedTowel on Friday June 21, 2013 @03:06PM (#5920258)
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.

Re:Ask HN: Things that you can do with django but not with r... by methehack on Monday June 24, 2013 @10:01PM (#5937037)
Is this what you mean by "template inheritance"? http://railscasts.com/episodes/269-template-inheritance