2008/10/28 dc <[EMAIL PROTECTED]>: >> How would thor task guess your database? Given database.yml may be missing. > > indeed, but it is confusing to setup a "stack" that is incomplete, > requiring other tasks to be run afterward.
So, how should thor task guess your database? the only way I see is to use sqlite by default with database name of <app name>_development.sqlite3 in application root, and run rake tasks after generation. again, I think it's too much of automation, if you start projects often you probably end up creating your own Merb stack with tools and plugins you use, and one or two commands after generation make no different if they work. By adding more and more assumptions you gonna irritate others who do not think that "that DB should be default". If you have a perfect setup a lot of people would love, patches are welcome. -- MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
