Is highrisehq.com 2 separate rails app?

is highrisehq.com 2 separate rails apps or just one?

From poking around, it seems like the main signup site is separate
from client site, like xyz.highrisehq.com. If so, what’s the reason
for 2 separate apps?

It’s easier to separate functionality that way.

For instance with Cashboard I run 2 separate apps off the same database.

…and the actual app @ http://*.cashboardapp.com

I wouldn’t be surprised if the signals are doing the same thing.

On 4/26/07, Dorren [email protected] wrote:

seth at subimage interactive

http://www.subimage.com
http://sublog.subimage.com

http://dev.subimage.com/projects/substruct

Subimage Interactive wrote:

It’s easier to separate functionality that way.

For instance with Cashboard I run 2 separate apps off the same database.

http://www.getcashboard.com
…and the actual app @ http://*.cashboardapp.com

Just curious how are you doing controller routing. i.e. say app1.xyz.com
=> has an action which goes to app2.xyz.com? What I would like to know
is there any elegant DRY way of doing redirect_to back and forth from
completely different app but under same domain?

What I have done so far is typing in actual URL for redirect_to …is
there a better way…

Cheers

I wouldn’t be surprised if the signals are doing the same thing.
On 4/26/07, Dorren [email protected] wrote:

seth at subimage interactive

http://www.subimage.com
http://sublog.subimage.com

http://www.getcashboard.com
http://dev.subimage.com/projects/substruct

There’s only one instance where I link from one app to the other.

After a signup on www.getcashboard.com, the user is automatically
redirected
to their application specific URL and prompted to login.

The Account model stores this url, so redirecting is brain-dead.

Sorry I couldn’t be more of a help…

On 4/26/07, Dan [email protected] wrote:

Just curious how are you doing controller routing. i.e. say app1.xyz.com

On 4/26/07, Dorren [email protected] wrote:


Posted via http://www.ruby-forum.com/.

seth at subimage interactive

http://www.subimage.com
http://sublog.subimage.com

http://dev.subimage.com/projects/substruct

Just curious how are you doing controller routing. i.e. say app1.xyz.com
=> has an action which goes to app2.xyz.com? What I would like to know
is there any elegant DRY way of doing redirect_to back and forth from
completely different app but under same domain?

if client1.xyz.com client2.xyz.com are on the same rails app, then you
can add “:host” option to your redirect_to, like
redirect_to :controller => “forum”, :action => “show”, :host =>
client3.xyz.com