So where's the fork? -------------------- seth - subimage llc ----- http://sublog.subimage.com ----- Cashboard - Estimates, invoices, and time tracking software - for free! http://www.getcashboard.com ----- Substruct - Open source RoR e-commerce software. http://code.google.com/p/substruct/
On Wed, Sep 17, 2008 at 11:17 AM, Emanuele Tozzato <[EMAIL PROTECTED]> wrote: > > Hello, > I forked the sweet Substruct and applied Advanced Recipe 83: I associate a > different shop (separate database) to each 'installation' according to the > subdomain the application is accessed from. Do you think it makes sense? > Basically AR queries main database once to fetch 'installation' object and > connects to installation.database if the subdomain is configured or loads > the demo database/shop instead. It seems a good idea (to me) to keep every > (admin) account clearly separated and it's by far easier not to completely > re-write Substruct logic to manage more than one admin. Passenger on > dreamhost. > > -- > Emanuele Tozzato > +1 (619) 549 3230 > 4955 Narragansett Ave Apt #9 > San Diego Ca 92107-3157 > http://mekdigital.com > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

