Jim and anyone else that can answer,

Could you please walk me through the steps to using this in an extension in a production environment:

<pre>
 begin
   require_dependency 'application_controller'
 rescue MissingSourceFile
   require_dependency 'application'
 end
</pre>



This is what I have already tried in copy_move ( which only required 'application_controller' ).


Adding at the beginning of file, restart server.
Adding at the beginning of file, commenting out <require_dependency 'application_controller'> restart server.

Each time the mongrel server failed to start, giving various errors.


Thanks in advance,

-Daniel

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to