Displaying 20 results from an estimated 40000 matches similar to: "Sharing data between several Rails apps"
2009 May 13
8
Sharing sessions across rails apps 2.3.2
I''ve done this in 2.2, but cannot figure it out for 2.3.2:
Basically, I want to be able to share session data across a couple of
apps.
The way I did this in 2.2 was to create a view called sessions in the
second app that read the sessions table of the first app.
This done, I could tell them both to use active record sessions, and,
lo! I had a shared session.
Once I''d written a
2018 Feb 04
2
halo not work as desired!!!
I have 2 data centers in two different region, each DC have 3 severs, I
have created glusterfs volume with 4 replica, this is glusterfs volume info
output:
Volume Name: test-halo
Type: Replicate
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 4 = 4
Transport-type: tcp
Bricks:
Brick1: 10.0.0.1:/mnt/test1
Brick2: 10.0.0.3:/mnt/test2
Brick3: 10.0.0.5:/mnt/test3
Brick4: 10.0.0.6:/mnt/test4
2018 Feb 05
0
halo not work as desired!!!
I have mounted the halo glusterfs volume in debug mode, and the output is
as follows:
.
.
.
[2018-02-05 11:42:48.282473] D [rpc-clnt-ping.c:211:rpc_clnt_ping_cbk]
0-test-halo-client-1: Ping latency is 0ms
[2018-02-05 11:42:48.282502] D [MSGID: 0]
[afr-common.c:5025:afr_get_halo_latency] 0-test-halo-replicate-0: Using
halo latency 10
[2018-02-05 11:42:48.282525] D [MSGID: 0]
2008 Feb 25
3
customize resource routes
Hi all,
I have this application that lists videogames, which i am rewriting to
follow REST.
I need to have this url :
/games/xbox360/halo-3 ( map.connect "/
games/:platform_id/:permalink",:controller => "games",:action =>
"show" )
This is no problem with map.connect, but with map.resources i can not
make this.
map.resources :games do |game|
2008 Mar 23
13
Halo PC update error
ok i have been using linux for about three days now and i must say it is pretty cool.
my only problem is that when i tried to update halo pc to play online wine froze. so when i tried to do it manually by clicking on halo update.exe everything seemed to download fine until it started to update.
then it had some weird error about internet explorer.
here is a picture
[Image:
2006 Sep 07
21
Multiple rails apps with Mongrel
I''m trying to set up several different Rails apps on the same domain, each
one running Mongrel. After reading all of the documentation, it''s fairly
clear how to use subdomains - create several Apache virtual hosts, each of
which has a different ProxyPass and ProxyPassReverse command to redirect
from different ports (ie, 3000, 3100), and then have each Mongrel instance
(or
2017 Nov 07
2
Enabling Halo sets volume RO
Hi all,
I'm taking a stab at deploying a storage cluster to explore the Halo AFR feature and running into some trouble. In GCE, I have 4 instances, each with one 10gb brick. 2 instances are in the US and the other 2 are in Asia (with the hope that it will drive up latency sufficiently). The bricks make up a Replica-4 volume. Before I enable halo, I can mount to volume and r/w files.
The
2008 Dec 30
5
Trying to run (tweak) a few games on Wine
Hello,
I'm a relatively new user to Linux, it's only been two weeks since I'm using it. I'm trying to run two games right now : Halo and Live for Speed. Here are the issues for each.
Halo :
Performance in Halo is excellent, it's actually better in Linux than it was in Windows XP. Frame rate is good, looks like solid 60 FPS all the time. The only problem is the mouse movement
2011 Jun 27
1
how to share vdi among several xcp pools
hi
I am having several pools of xcp with NFS shared storage as default SR
on each pool and i want to do following in this arrangement
-I want to share vdis among all pools, i.e. for example if I want to
detach a vdi from a vm in pool-1 to a vm in pool-2.
so is this possible to do so?
vdi export is one of the solution but i want to do it seamlessly just
like it happens within the same pool or
2006 Jun 09
3
using a variable as substitute for a method
That probably isn''t the right title for this topic, but I''m not sure how
else to explain in succintly. I''m sorry if this is obvious but I
couldn''t find the answer in the Ruby/Rails docs.
How do I use a variable as a substitute for a method/field, so that I
can call the object with the variable that contains the method name.
For example, say I have the
2005 Nov 22
4
multiple rails apps on one lighttpd
Good evening (or afternoon or whatever it is where you are),
Before I start setting it all up, I have a question about lighttpd and
multiple rails apps. From what I have read, it is at the minute only
possible to do multiple rails apps using subdomains:
typo.mysite.com
hieraki.mysite.com
rforum.mysite.com
etc, etc
and not currently possible to do this:
mysite.com/typo
mysite.com/rforums
2017 Nov 08
0
Enabling Halo sets volume RO
I think the problem here is by default the quorum is playing around
here, to get rid of this you can change quorum type as fixed and the
value as 2 , or you can disable the quorum.
Regards
Rafi KC
On 11/08/2017 04:03 AM, Jon Cope wrote:
> Hi all,
>
> I'm taking a stab at deploying a storage cluster to explore the Halo
> AFR feature and running into some trouble. In GCE, I
2006 Jul 28
5
Best practice for sharing code between rails apps.
Is there a writeup about how to structrure your rails applications so
that you can share models, gems, libraries, helpers, and controllers
between them. It would be especially helpful if the discussion
involved how to structure your codebase in version control and how to
manage deployement.
2011 Dec 03
4
directx 9 bug in games.
Hey im having trouble with directx. 9 I have a black and gray models in portal and halo combat evolve.
OS:Ubuntu 11.10
RAM:1.5
GFX:Intel gma 900 NOTE: portal and halo combat evolve do work in a windows OS, So do not say it wont run.
RES:1024x768
Screen shot of bug: http://s1196.photobucket.com/albums/aa405/se7enjojo/?action=view¤t=Screenshotat2011-12-02170852.png
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it
can be configured however is best - initially, "ease of setup" is important,
but then soon after will be scaling and response time). I''ve read a lot of
emails on this topic, and checked out the Mongrel pages, etc, but I''m left
with this question of what is recommended:
For a
2017 Oct 24
2
active-active georeplication?
Halo replication [1] could be of interest here. This functionality is
available since 3.11 and the current plan is to have it fully supported in
a 4.x release.
Note that Halo replication is built on existing synchronous replication in
Gluster and differs from the current geo-replication implementation.
Kotresh's response is spot on for the current geo-replication
implementation.
Regards,
2009 Jul 31
3
fullscreen uses panning, and xrandr has cursor moving
I'm having a problem with games running in wine fullscreen with nvidia proprietary driver 185.18 under Fedora 11 64-bit.
My desktop resolution is 1920x1200, and when I run a game with 1280x960 fullscreen setup (like Halo for example), it changes resolution to 1280x960 and runs fullscreen as expected, but when I move the mouse toward the edge rapidly, it pans the game screen away as if
2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 195
Unsubscribe
Sent from my BlackBerry? wireless handheld
-----Original Message-----
From: rails-request@lists.rubyonrails.org
Date: Fri, 9 Jun 2006 18:24:09
To:rails@lists.rubyonrails.org
Subject: Rails Digest, Vol 21, Issue 195
Send Rails mailing list submissions to
rails@lists.rubyonrails.org
To subscribe or unsubscribe via the World Wide Web, visit
2013 May 24
3
Dovecot mysql replication
Halo,
(First time posting, please forgive English is not native)
Change from Courier to Dovecot 2.1.16
Having two server.
Having mysql on thiz two server, one master, one slave.
What we wish is slave Dovecot only ask slave mysql, unless slave mysql not
work when then ask master, we have Postfix do thiz fallover good, but
Dovecot talk to slave and master no mater what, we think thiz defeat
2017 Sep 20
3
Backup and Restore strategy in Gluster FS 3.8.4
> First, please note that gluster 3.8 is EOL and that 3.8.4 is rather old in
> the 3.8 release, 3.8.15 is the current (and probably final) release of 3.8.
>
> "With the release of GlusterFS-3.12, GlusterFS-3.8 (LTM) and GlusterFS-
> 3.11 (STM) have reached EOL. Except for serious security issues no
> further updates to these versions are forthcoming. If you find a bug please