Re: [Rails-core] Engines, Components and Modules

2005-12-31 Thread James Adam
I would love to be able to do this. The one sticking point that I've come across at the moment is the way that Rails' dependencies automatically creates modules for ApplicationController subclasses. Continuing the WikiEngine example, intuitively you'd want to put your controllers underneath the Wi

[Rails-core] Engines, Components and Modules

2005-12-31 Thread Andreas
Hi, at the moment it is quite difficult to combine multiple Rails apps, e.g. a forum and a wiki. Neither components nor engines provide a sufficient level of separation between the parts of the applications to make this considerably easier, because in the end everything becomes mixed up in th

[Rails-core] Engines, Components and Modules

2005-12-31 Thread Andreas
Hi, at the moment it is quite difficult to combine multiple Rails apps, e.g. a forum and a wiki. Neither components nor engines provide a sufficient level of separation between the parts of the applications to make this considerably easier, because in the end everything becomes mixed up in the sa

Re: [Rails-core] call a method once per page request

2005-12-31 Thread Rick Bradley
* Jean-Christophe Michel ([EMAIL PROTECTED]) [051230 17:33]: > I'm wondering if there is a simple solution to call a method once per > page request. > > I tried to place my call in a before_filter in ApplicationController but > it'd called a second time if I use render_component from a view. > See

Re: [Rails-core] Components and Plugins

2005-12-31 Thread Abdur-Rahman Advany
Well, I will try to experiment a bit with both plugins/generators and components and see where it leads me. Ill will get back to this thread.. Michael Koziarski wrote: On 12/31/05, Abdur-Rahman Advany <[EMAIL PROTECTED]> wrote: Generating code is something I have never liked. Its good for b