On 12/31/05, Abdur-Rahman Advany <[EMAIL PROTECTED]> wrote:
> Generating code is something I have never liked. Its good for basic
> setup but hard to maintain. One of the benefits of components is that it
> would be easy to update them...
Conversely, generated code is easy to modify.
The assumpti
I have tried all night trying to find a way to get the host name which is
currently being used within my routes.rb file to do some case/when switching
for specific domains such as this
cgi = ActionController::CgiRequest.new(CGI.new)
case cgi.domain(1)
when /www/
Generating code is something I have never liked. Its good for basic
setup but hard to maintain. One of the benefits of components is that it
would be easy to update them...
Deirdre Saoirse wrote:
On Dec 30, 2005, at 5:08 AM, Abdur-Rahman Advany wrote:
Thnx for the responds, but I think peop
On Dec 30, 2005, at 5:08 AM, Abdur-Rahman Advany wrote:
Thnx for the responds, but I think people are misunderstanding me.
However, there are cases where you just need to make a component to
hide the complexity of implementation (thats the case with for
example fckeditor). It would just b
Hi,
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.
Seems to me that a hook should be added in Dispatcher#prepare_applicati
Hi,
Thnx for the responds, but I think people are misunderstanding me. I
have read a lot of the blogs (including davids) about rails and I
understand his hesitation to resist the development of highlevel
components. I have learned a lot by making a component based framework,
it just doesn't w
To answer Abdur's question - as I understand it, the core team want to
keep the plugin system very simple, and while there are some
mechanisms to handle plugin 'dependencies' (the private method
'load_plugin', for example - I can't find the Ticket that discusses
this in its comments), there has als