Hi :), maybe it became very simple, the next simplification we'll stop having a plugin...
It's sure that in lib/openwfe_plugin.rb engine_class = OpenWFE::CONFIG[:flavor] don't work unless you require somewhere the file containing the class you are going to use. This is due to rails' dependencies ... There is no constraint in the config mechanism, my only idea was to enable user (almost) fully configure the plugin and so the engine behavior from the configuration file, this was why i put engine_class_file directive: without that you should put a require in the config files, environment.rb or other, (before the config directive :flavor => <...> because at that time the interpreter expects that const defined...). With the strings there is no such problem but one must do evals.... I removed also the "stores" table because if one wants(or needs so) he can also create his ActiveStoreP from an array so loading them necessarily from a table may seem a constraint Thanks(perhaps we'll meet again next year, so happy New Year to everyone ;) ) Tom On Dec 27, 2007 10:45 AM, John Mettraux <[EMAIL PROTECTED]> wrote: > > On Dec 27, 2007 6:35 PM, Tomaso Tosolini <[EMAIL PROTECTED]> > wrote: > > Hi John, hi All, > > > > Season's Greetings to everyone > > Merry Christmas and have a good 2008 > > :) > > > So about the plugin: ok, with the changes you propose it becomes > > really simple, but for me it is good. > > Cool, but please tell me if it becomes too simple, what's your feeling > about the configuration bit ? You're a more experienced Railist than I > am, do we have to stick with a hash of string configuration ? > > > Can you commit you patch, please? > > After that i'll put in sync all the files(READMES, comments and other > > stuff...) > > Great ! Merry Christmas and a Happy New Year ! > > -- > John Mettraux -///- http://jmettraux.openwfe.org > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" 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/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
