similar to: Rails Sessions - Disabling and Garbage Collection

Displaying 20 results from an estimated 4000 matches similar to: "Rails Sessions - Disabling and Garbage Collection"

2006 Feb 27
21
what hardware shuld I but to manage 100k of connections per day?
I''m doing a fotolog for a company. It''s expected to manage about 100k of connections per day and about 1500 concurrents connections. What hardware should I buy to manage those numbers of connections? I''m planning to use slackware + lighttpd + fastcgi, but perhaps we will have to reuse some scripts in php, in that case I would use slackware + apache + mod_php + fastcgi
2006 May 11
9
Undoing a SHA1
Hello for my password recovery system I want to recover the users password and send it to them. In the DB its saved via SHA1 (login generator) -- Posted via http://www.ruby-forum.com/.
2006 Jan 27
17
Multiple Model Validation
Hey All ! I have a form which contains two models. I would like both models to be validated, but have their validations aggregated on the page. If I do: <%= error_messages_for(:model1) %> <%= error_messages_for(:model2) %> It puts two big validation blocks on the page. I would like all the errors from both models, but only in one validation box. Is this possible ? All my attempts
2006 Jan 28
7
cool components in the form
Is there a easy way to add components like: http://www.dynarch.com/projects/calendar/ http://tinymce.moxiecode.com/example_full.php?example=true in ruby forms, by plugins or whatever? Thank you Rodrigo Dom?nguez Iplan Networs www.iplan.com.ar <http://www.iplan.com.ar/> ? rdominguez@iplan.com.ar www.rorra.com.ar <http://www.rorra.com.ar/> ? rorra@rorra.com.ar --------------
2006 Mar 09
6
rmagick and captcha
Has anyone implemented a captcha with ruby on rails and rmagick? I tried this example: http://wiki.rubyonrails.com/rails/pages/HowtoSecureFormsWithNoisyImages but I got an error: undefined method `size'' for #<NoisyImage:0x34d8070> Thank you -------------------------------------------------- Rodrigo Dominguez ? Iplan Networks ???????????????Datos Personales
2006 Jun 05
4
transactions
Can you give me some links where transactions in rails are explained in depth? Thank you PS: I''ve looked in google, but I just couldn''t find good articles, I''m working with postgresql Rodrigo Dominguez Iplan Networks Datos Personales rdominguez@iplan.com.ar rorra@rorra.com.ar www.iplan.com.ar <http://www.iplan.com.ar/>
2006 Jun 21
48
Freelance Rate
Hi, Not sure where to address this question ... but I guess this is a good start. I am a freelance Rails developer - and have been developing Rails apps professionally for about a year now. I just want to get an idea of what you other freelancers charge yourselves out at. I have been charging the equivalent of about $28/hour, but get a sense that I could/should charge a whole lot more. I am
2006 May 24
2
array parameters in web services
I''m working in a web service, actually, I have: class UnifiedLoginApi < ActionWebService::API::Base class CLL_Metadata < ActionWebService::Struct member :key, :string member :type, :string member :value, :string member :webapplication_id, :string member :user_tenfold_id, :string member :login_username, :string
2006 Jun 21
3
validation help
I would like to validate a number within a certain range. To first test that a entry is a valid number i use validates_numericality_of :my_number, :message =>''sorry, not a number'' to test if the number is within a certain range i use validates_inclusion of :my_number, :in => min..max, message => ''outside range!'' If the numericality test fails, I
2006 Aug 14
1
various returns parameters in action web service
I''m working with ActionWebService, building a SOAP Service. I realize that I can returns various values, in example: api_method :foo, :expects [ { :value1 => :int }, { :value2 => :int } ], :returns [ { :return_value_1 => :int}, { :return_value_2 => :string}, { :return_value_3 =>
2006 May 12
5
how long before deleting sessions ?
What is the recommended amount of time to keep sessions around in the database (i store them in a sessions table). IF you get 1 million requests per day you are going to get 1 million new session entries in the DB. This would need some serious cleaning so just wondering what a safe cleanup time would be. Also does anyone know how to prevent new sessions records from being created if session
2006 Jan 28
1
Unit Tests Take 2
Different question this time, and maybe only a core developer can answer. In 1.0, use_instantiated_fixtures is turned off by default. What is the new best-practice for not tying your tests to your test data? Before you would use: In clients.yml first_client: id: 1 name: Fred In a test case: def test_sometest assert_equal @first_client.name, @client.name end
2006 Jun 23
5
how can i alter the validations error messages.
hello my name is reynaldo my question is the next. i want change the text of the validations error messages generated by ruby when you don''t wrote properly the data in the form. -- Posted via http://www.ruby-forum.com/.
2003 Jul 30
2
Should garbage collection be automatic in R sessions?
Hello all, I am having problems with memory when running R on my PC. I do not have many large objects in my workspace, and yet when trying to create a new vector I often encounter this error message: > lat <- header$lat[match(profile$id, header$id)] Error: cannot allocate vector of size 4575 Kb Since it seems like this may indicate that I don't have enough memory available, I
2006 Feb 27
2
list of countries, states, cp, etc.
I''m doing a registration form. I saw many registrations forms which asks you for a country and it lists all the countries of the world, and when you select a country the form is actualized with all the states or provinces, and when you select a state/province then the form is actualized with all the cities. I''m looking to do something like that, is there a free service or pay
2006 May 27
5
Rails without cookies
Why does rails keep installing cookies on users machines, even if I am not ussing th session variable for anything? How do I stop this? Thanks, Scott -- Easily help charity when you shop: www.GiveTeam.org I''m a member of the Give Team, are you?
2006 Jun 23
4
Ajax.Request with page reload?
I need to send a POST request via a link, along with paramater data for an action, and the page needs to reload. link_to_remote worked great when I was updating a DOM element but obviously won''t work when I need to reload a page. Is there an option -- Posted via http://www.ruby-forum.com/.
2001 Jul 04
1
connection attempt timeout - possible feature?
I'm writing a network monitoring script, that has to traverse a bunch of firewalls (joy ...) and so for connectivity tests, I'm using ssh (OpenSSH 2.x). I'm being lazy, and trying to avoid parallel tasks/threading, so I'm interested in reducing the amount of time OpenSSH will wait to connect to something before giving up. I've already set the ConnectionAttempts flag to 1,
2006 Apr 28
5
please explain web services
could someone explain some of the uses for a web service. i''m reading about how to make them, but i''m still not quite sure what they''re good for. i have multiple rails apps that i would like to pass user information back and forth to. i''m not sure if something like this could help me or not. thanks -- Posted via http://www.ruby-forum.com/.
2006 May 11
7
current user''s id?
I''m new to rails and have a question that seems simple but that I cannot resolve. Is there a way to find the id of the currently logged in user? Thanks, JP -- Posted via http://www.ruby-forum.com/.