Hi Tomaso, On Dec 29, 2007 6:41 AM, Tomaso Tosolini <[EMAIL PROTECTED]> wrote: > Hi :), > maybe it became very simple, the next simplification we'll stop having a > plugin...
I'm not so sure, I was looking at the "restful_authentication" plugin (http://svn.techno-weenie.net/projects/plugins/restful_authentication/) as a sort of guide and it seems it's using some kind of generators. It copies their model into the target application model/ (migrations included). It seems like a kind of standard in the Rails plugins world, maybe we should do the same with our migrations. > 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.... OK, I will propose something (patch) about that, to stick back to your initial idea. > 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 ;) > ) Thanks Tomaso, I hope to have you still around next year. You're bringing a lot. Happy new year, John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
