From: David Lewis Date: 2008-11-17T01:53:50+09:00 Subject: Re: erb & action_view outside rails Brian Candler wrote: > This question would be better asked on a Rails mailing list. > > I've always been under the impression that the url helpers were very > specific to controllers, i.e. didn't make any sense outside of a > controller action, but I could be mistaken and the real Rails experts > will hang out on Rails lists. OK, makes sense, except... Your response gave me a clue to get through the requires, namely prepend -- require 'action_controller'. But then I've still gotta deal with all the controller infrastructure that gets pulled in, so I think your impression is correct. Bottom line, it isn't worth it. Either I'll roll my own small package, or... Any suggestions for a lightweight html generation package that can be used inside ERb templates, outside of Rails. Thanks. --David. -- Posted via http://www.ruby-forum.com/.