Christo Karlson wrote:

> I can't see how you can implement good DRY-solution in ruby/rails given 
> the above problem but it should be possible since ruby/rails is a much 
> newer/more modern framework than old asp.
> 
> Of course you can put the methods in an helper method but then you don't 
> have access to the <% %> tags and you don't have access to variables 
> declared in the view.

As is was using ERB without Rails i made the switch to a template engine 
called tenjin. There it's possible to have clean subtemplate resolution.

Can't be of any help regarding rails.

cheers kerthi

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to