Thanks for your response Wes. I need to do is have my Heroku apps with their own database and using a different database with the engine
At the moment I am thinking of inheriting all my Engine's Models from one abstract model with a establish_connection set to my engine's DB. However I am not sure if that will work well with Heroku. Does anyone know of any better approaches? On Nov 23, 9:53 pm, Wes Gamble <we...@att.net> wrote: > Do a search in the Heroku list archives for DATABASE_URL - you can force > the value of this to be the same for two applications. > > Heroku reserves the right to change the DATABASE_URL at any time for one > of the apps., so this is not a perfect solution. > > Wes > > On 11/23/10 8:16 AM, Mark Ellul wrote: > > > > > > > > > BUMP. > > > I need to know this as well, as I am creating a rails engine which > > will be used by 2 apps so that data is shared across the two > > applications. > > > What is the best way to do this? > > > On Nov 6, 4:15 pm, linojon<lino...@gmail.com> wrote: > >> Hi, my app needs to access an external database (cloud-accessible > >> postgres database) and a local one. Generally the external database is > >> accessed via admin pages (and rake tasks) to import data into the > >> local database. I've been using the connection_ninja gem for this. Is > >> there a way to deploy that database.yml to heroku, or can you > >> recommend another way to do this? -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.