I google translated what you have written and as I understand database 
connection is not a problem. After some time your query returns nil for 
where should have been same data. You could try newer Postgress. 9.2 is 
the latest. Search logs for strange errors.

This line:

time = (Parameter.find(:first, :conditions => ["name=?",
"login_error_wait"])).value

can be done differently in 3.2.7 and I can also advice you this:

t = Parameters.where("name" => "login_error_wait").first
if t.nil?
  do some debugging
end
time = t.value

by
TheR

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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to