I'd have to concur. But if you must have separation like that, you might want two separate apps but use the same db. Otherwise, you'll need some sort of API to share between two.
On Wednesday, October 3, 2012 7:43:46 AM UTC-6, Bryan Larsen wrote: > > I don't think two instances of Hobo in the same application will work. > We do have a couple of class variables that will probably conflict, > as well as the generation problem you noticed. Probably not a lot of > work to fix up, but nobody's needed it before, and the design of Hobo > predates engines. > > My question is why? What do you want to do? Have you seen Hobo > subsites? I think subsites are you want. It's quite common for > people to have a "front" subsite which generates into the root and > then an "admin" subsite which generates into app/views/admin/*/* and > app/controllers/admin/* > > If you need even more separation, you can always run two different > Hobo applications on the same server. As far as I can tell, the only > real difference between two separate apps and using two engines in the > same app is that in the former you use the server to route to the two > apps whereas the latter uses rack to route between the two engines. > > Bryan > > > On Tue, Oct 2, 2012 at 4:03 PM, Mitchell <[email protected] <javascript:>> > wrote: > > I've been playing with Hobo for the last couple of days and I must say I > > like it overall! > > > > But I was wondering if it is possible to separate logic over multiple > rails > > engines? I've been trying to get this to work but since most of the > magic of > > hobo comes from the automatic generation of views, routes etc. I can't > seem > > to find a way to get this to work. It just seems like it isn't possible, > or > > am I looking over something? > > > > I would like a setup in which my main application has the basic logic > such > > as Users and some other basic stuff and have a saperate engine which has > > Projects which users can create. > > > > Is this at all possible with the latest beta of hobo? > > > > Thanks! > > > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Hobo Users" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/hobousers/-/5-43hZnCz2IJ. > > To post to this group, send email to [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > For more options, visit this group at > > http://groups.google.com/group/hobousers?hl=en. > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/84WbLLqrF8IJ. 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/hobousers?hl=en.
