is highrisehq.com 2 separate rails app?

0 views
Skip to first unread message

Dorren

unread,
Apr 27, 2007, 12:50:51 AM4/27/07
to Ruby on Rails: Talk
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?

subimage interactive

unread,
Apr 27, 2007, 1:15:31 AM4/27/07
to rubyonra...@googlegroups.com
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

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

Dan

unread,
Apr 27, 2007, 1:49:59 AM4/27/07
to rubyonra...@googlegroups.com
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 <dorre...@gmail.com> wrote:
>>
> --
> --------------------
> seth at subimage interactive
> -----
> http://www.subimage.com
> http://sublog.subimage.com
> -----
> http://www.getcashboard.com
> http://dev.subimage.com/projects/substruct


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

subimage interactive

unread,
Apr 27, 2007, 2:54:00 AM4/27/07
to rubyonra...@googlegroups.com
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...

Dorren

unread,
Apr 27, 2007, 3:02:55 PM4/27/07
to Ruby on Rails: Talk

> 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"

Reply all
Reply to author
Forward
0 new messages