Displaying 20 results from an estimated 1200 matches similar to: "Please: Desperately Seeking Session expiration (DRbStore)"
2006 Mar 16
6
Newbie question - Rails without database
Hello to all,
I am entirely new to Ruby and also to Ruby on Rails. As far as I understand,
Rails builds its model according to the a specified table structuree in in the
database.
However, most of my applications, are for the most part (except some backend
CRUD stuff) not database centric. They do a lot of calculation for the user.
So, how can I create a model, when no database is needed,
2006 Jul 09
4
concurrent ajax requests
Hello,
maybe someone on this list can help me. I am trying to implement a sort of long
database search. In order inform the user about what''s happening, status
messages should be displayed to the user while the request is working.
e.g.
- starting search process
- currently searching through database A
- found 10 results
- currently searching through database B
- found 25 results
-
2006 Mar 22
0
Session accounting with DRbStore: how?
Hello,
I''ve setup Session storage for DRbStore. Now, how can I retrieve the stored
sessions from DRbStore? I could neither find documentation nor an example on this.
Any help is appreciated.
Greetings
Michael
2006 Mar 20
22
Applicationwide BusinessObject/Hash
Hello,
I''m a total newbie, so please forgive my ignorance.
I am trying to port an application from java to ruby. In order to do that, I
need to put the object containing all the business logic into something like
application scope.
The nicest solution would be just to have an application wide hash, where I can
put all kinds in of objects.
Where and how would I instantiate such an
2006 Apr 04
0
Session-Problem: singleton can''t be dumped
Hello,
after having changed the session store from CGI::Session::DRbStore to
CGI::Session::ActiveRecordStore, I keep getting an error which says:
singleton can''t be dumped
However, my session object is not a singleton.
Does anybody know what causes this error?
I can also post the full stack trace, if required.
Greetings
Michael Kastner
2006 Mar 30
6
Stable Production Environment on Unix/Linux
Hello,
I wonder what would be the most stable production runtime environment for a
rails application on Unix/Linux. I am not very fond of FastCGI indeed, since
it''s not seen any further developement lately.
What are your experiences e.g. with the mongrel server? Has anybody used it for
production?
What are the alternatives?
May be some fine lad could just point me to web site
2013 Jun 05
1
Precompile with compression in development
Hi,
I''d like to do precompilation with compression in development mode.
I''ve set
config.assets.js_compressor = :uglifier
config.assets.css_compressor = :sass
in development.rb.
But compression only seems to work in production mode, is that right?
Michael Kastner
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Jul 18
6
backgroundrb - Connection closed
Hello,
maybe someone can help with backgroundrb. I''ve written an application, which
makes use of backgroundrb. Everything works fine on my development machine, but
it crashes on my production server.
Something seems to be wrong with backgroundrb, but I don''t know the cause. All I
get is the error message attached below, which is extracted from the production.log.
I
2006 Mar 20
1
Location to startup DRb Server
Hello,
where (in which file/object) would I invoke the startup of the DRb server to
support a rails application?
It wouldn''t be config/boot.rb ?
How would I shut it down cleanly?
Greetings
Michael Kastner
2006 Jan 12
4
has_one relationship problem
I was wondering if anyone could see the error in this littte application
I have two models, User and Selection
Selection is an extension of the User model
so in the User model I have a has_one :selection
and in Selection I have a belongs_to :user
in my views, i cannot get @user.selection to work but @user works fine.
http://www.rafb.net/paste/results/GSBt1e61.html
Thanks,
r.b
2005 Dec 17
9
How to clear sessions with cron?
Anyone got a quick code snippet I can add to my crontab? Since Rails
doesn''t do any housekeeping, my /tmp directory just keeps getting fatter
and fatter. I found this useless snippet in the Agile book:
find /tmp/ -name ''ruby_sess*'' -ctime +12h -delete
Fedora Linux complains about the ''h'' in 12h, then if you remove the ''h''
he
2008 Jun 16
5
Re: ssh between DomUs in Xen3.2
Hi Waldirio:
I tried telnet earlier from one DomU to another
[root@localhost ~]# telnet 192.168.17.201 22
Trying 192.168.17.201...
Connected to 192.168.17.201 (192.168.17.201).
Escape character is ''^]''.
and then it just hangs...
So it looks like I can connect to the port from DomU to DomU.
But from Dom0 to a DomU
[root@gxn-wn2 ~]# telnet 192.168.17.201 22
Trying
2006 Jan 20
10
1st attempt at rails testing - could really use some help...
Howdy, I''m attempting my first rails test & I could use some help... I
have the test posted at http://rafb.net/paste/results/YjWkIh45.html...
when I run it, the test fails, but the db table is never restored & it
seems that the fixtures file was never loaded... Any ideas as to what
I''m doing wrong? Thanks!
--
Posted via http://www.ruby-forum.com/.
2009 Feb 25
4
[Bug 20309] New: Nouveau problem with setting screen resolution on a monitor connected to VGA output on Geforce 7050
http://bugs.freedesktop.org/show_bug.cgi?id=20309
Summary: Nouveau problem with setting screen resolution on a
monitor connected to VGA output on Geforce 7050
Product: xorg
Version: 7.4
Platform: Other
URL: http://rafb.net/p/prrKfp36.html
OS/Version: All
Status: NEW
Severity: normal
2007 Aug 15
8
Shorewall and printing problems in the LAN ( loc ) zone
Guys,
Just a quick check. From what i have read in the
shorewall site, intrazone traffic is allowed
completely by shorewall i.e. there is no filtering or
packet size limiting ,etc,etc.
I ask this becos after getting shorewall up and
running well, someone has complained that they cannot
print pdf files larger than 100k at one go but that
they have to print one page at a time.
Some details;
2008 Mar 03
5
No Internet Connection?
I try to use an ebook reader with wine! It needs to activate itself, so I can open it.
When I try to to so I get the error massage from the eBook reader application, that i would be not connected to the internet... witch is silly because I play an MMORPG game with Wine!
What could be the problem? Any ideas?
2008 Jan 21
1
shared sessions and rails2
Hi all
How would you go about sharing a session between two rails2 applications? I
am using restful_authentication.
A point in the direction of some relevant blogs would also be a great help.
Regards
Ivor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2009 Feb 28
2
rgl persp3d bounding box color problem.
Hi guys,
I hit on a problem when I use rgl.
Could you try to run the code here in this link and see why the first persp3d gives a red bounding box and the second shows black?
http://rafb.net/p/g1i7ur33.html
(sorry for not pasting the code here directly but my previous email got filtered by this list so I suspect my code looks like spam to the spam filter)
I'm expecting black color to be
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers,
For some time now I''ve been looking for a decent Rails equivalent of PHP''s
"htmlentities" command, because ERB''s html_escape (or more commonly called as
just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me.
Back in PHP land, I actually had an extended version of the htmlentities
command to deal with
2009 Aug 06
18
Best Practices Question
Should models call action mailers, or should those calls always
originate from controllers? For example, should user.forgot_password
send the email, or should the user_controller.forgot_password?
Just looking for some opinions...
Thanks,
Tom