[Radiant] ActionView helpers in a behavior - I think I got it!

Andrew Hodgkinson ahodgkin at rowing.org.uk
Tue Jul 18 12:21:10 CDT 2006


Jay Levitt wrote:

> Thanks.  If I run into any weird side effects I'll start by assuming
> they're not my fault now...

Well, kind of; I think the "Right Answer" might be to modify the 
Behavior API so that Radiant's existing ActionController::Base instance 
gets passed in as a parameter rather than generating a new 
instantiation. You could default the parameter to 'nil' and use a new 
instance of ActionController::Base if need be, for cases where your 
modified Behavior code got installed into an older Radiant version.

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



More information about the Radiant mailing list