hey guys im so stumped trying to figure this out how active scaffold
does it.

i'd like to know how active scaffold renders the templates that are in
its plugin folder - particular those that are in active_scaffold/
frontends/default/views

I kept on  tracing the stack one at a time and everytime i try to
comment out something everything still works!

Eg, my  active scaffold now does not go through both
action_Controller_rendering.rbr and action_view_rendering.rb, yet it
is still loading the templates from the frontends folder!

First i'd like to know what is going on in here:

active_scaffold_default_frontend_path = File.join(Rails.root,
'vendor', 'plugins', ActiveScaffold::Config::Core.plugin_directory,
'frontends', 'default' , 'views')

@active_scaffold_frontends << active_scaffold_default_frontend_path

I guess itrying to save the path to the frontends directory - but
where is that used in from there on? I can't trace how that variable
is used.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to