Forum: Ruby on Rails DRY

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
DRY
2dd904ec5981c31e7bb7a5743a53caf8?d=identicon&s=25 Bruce Balmer (brucebalmer)
on 2005-12-10 21:42
(Received via mailing list)
Would it  not have honored 'dry' more to have layered the effects of
templates such that we have application.rhtml   then within that we
place the controller layout code and within that we place the view
layout rather than having either application.rhtml OR controller
layout template determining the layout?

bruce
1e99128ebac5ca41c91940291d315332?d=identicon&s=25 Luke Redpath (Guest)
on 2005-12-12 02:06
(Received via mailing list)
+1

Agreed, I always thought this made more sense.

Cheers
Luke
This topic is locked and can not be replied to.