Re:Ruby Frameworks? Which one? Bye bye Rails.
by Xylakant on Tuesday January 31, 2012 @10:08AM
(#3533519)
Can you host arbitrary Rails applications in other rails applications like you can host arbitrary Padrino applications within another Padrino application? (it should even be possible to host padrino apps in any other rack app, though I've never done that so far, it might need a little hackery)
[ Parent
| on HN ]
Re:Ruby Frameworks? Which one? Bye bye Rails.
by kaiuhl on Tuesday January 31, 2012 @12:16PM
(#3534149)
Yes, they're called Rails Engines:
Re:Ruby Frameworks? Which one? Bye bye Rails.
by fullsailor on Tuesday January 31, 2012 @12:30PM
(#3534210)
Rails is a Rack application, so yes a Rails app could play host to more than one sub app. In fact this is such a good pattern, that Rails core added Rails Engines which do just but better.