[SDRuby] Re: Adding methods to ApplicationController in an Engine

2009-06-06 Thread Guyren G Howe
On Jun 6, 2009, at 11:13 , Rob Kaufman wrote: > Hi Guyren, > Where you able to figure this out? > Rob No, I ran out of time. Maybe at another meeting, we can take a look at it during the coding part. I would love to release Catwalk. I don't know of another such user-configurable generic l

[SDRuby] Re: Adding methods to ApplicationController in an Engine

2009-06-06 Thread Rob Kaufman
Hi Guyren, Where you able to figure this out? Rob On Thu, Jun 4, 2009 at 12:24, Guyren G Howe wrote: > > On Jun 4, 2009, at 7:58 , Martin Emde wrote: > > > A lot of plugins I've seen just have you include a module into > > ApplicationControllet as part of the install. It's explicit and > > obv

[SDRuby] Re: Adding methods to ApplicationController in an Engine

2009-06-04 Thread Guyren G Howe
On Jun 4, 2009, at 7:58 , Martin Emde wrote: > A lot of plugins I've seen just have you include a module into > ApplicationControllet as part of the install. It's explicit and > obvious. > > The other way I've seen is monkey patching ActionController::Base. The > logic behind this is that the p

[SDRuby] Re: Adding methods to ApplicationController in an Engine

2009-06-04 Thread Martin Emde
A lot of plugins I've seen just have you include a module into ApplicationControllet as part of the install. It's explicit and obvious. The other way I've seen is monkey patching ActionController::Base. The logic behind this is that the plugin is modifying rails core, not your app's files (