Confusing dependencies

spyfalcon
Fri, 25 Jul 2008 15:59:19 -0000

Hello,

I''m currently working on a plugin. To set the (minimal) testing
environment for the plugin up I invoke Rails::Initializer (instead of
loading config/environment.rb). As the plugin just depends on AR I
tried to disable all apparently unneeded frameworks. However, it''s not
possible to disable more than :action_mailer and :active_resource.
Loading the database config file e. g. requires ERB which again is
part of ActionView. ActionController can''t be disabled as ActionView
depends on it in turn (AV requires html-parser
''html/document'', which
isn''t found unless AC is loaded).

Now I wondered if these depenencies are intended (to keep complexety
as low as possible), and -- if not --, whether there''re plans for
rather autonomous frameworks.

Cheers
Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com