From: Ross Bamford Date: 2006-11-01T21:05:17+09:00 Subject: Re: Ruby tools for managing static websites? On Wed, 01 Nov 2006 06:08:06 -0000, Chris Pearl wrote: > The only part that would appear to be helpful is ActionView, and maybe > some helpers (most helpers are oriented to dynamic web-application > needs: dynamic forms, AJAX etc.) I'm not sure the above overhead is > worth it just to get a templating system, that's - let's face it - an > integrated ERB :) > Actually, Rote allows you to mix in ActionView helpers to your pages - we've already made a start on making the Page API compatible for that. Obviously not everything makes sense in a static site, but the tag helpers, form helpers, etc. can be pretty useful. All it takes is: require 'active_support' require 'action_view' class Rote::Page include ActionView::Helpers::FormHelper end dropped in the Rakefile rote gives you. We're also looking at getting partials working properly, too. -- Ross Bamford - rosco@roscopeco.remove.co.uk