similar to: lighttpd - sporadic mysql errors

Displaying 20 results from an estimated 100 matches similar to: "lighttpd - sporadic mysql errors"

2005 Apr 27
5
Eager load mysteriously deletes records
Hi This looks like a bug in ActiveRecord. I am messing with eager loading (on 12.1) and all of a sudden records started disappearing from a table (and I am not doing anything delete related)!! The following line works OK:- @todos = Todo.find(:all, :include => [ :whens],:order => "position ASC") The following line is mysteriously deleteing :where rows from the DB after
2005 Mar 10
0
Need Help with Flaky FastCGI on Windows
Hi Everyone - I have a rails 0.10.1 application deployed on a Windows 2003 server under XAMPP Lite 1.4.12. Running under CGI, the application works fine (a bit slow, obviously, but no problems). When I run under FastCGI, the app is fine until I leave it alone for a few hours. For example, last night I switched it to FastCGI and everything seemed to be working fine. When I woke up this
2005 Mar 04
3
optimization
Ok, so, I''ve written my first app in rails. It''s pretty nifty. Only one problem. Slower than you could possibly comprehend. Processing PersonController#show (for 67.138.254.231 at Thu Mar 03 21:04:16 Eastern Standard Time 2005) Parameters: {:id=>"1", :controller=>"person", :action=>"show"} [4;35mPerson Load (0.219000) [0;37mSELECT
2005 May 29
0
validates_length_of && validates_presence_of: Duplicate error messages?
validates_presence_of :login , :on => :create, :message => "Please enter a login." validates_length_of :login, :within => 3..40, :message => "Login must be a minimum of 3 characters." Right now if the login field is left blank, both these errors get thrown. I assume that setting a conditional for the first one if the second one is thrown, something like
2005 Aug 18
0
Vitalsource - what are the potential applications of this?
If you haven''t seen Vitalsource (http://www.vitalsource.com), take a look at it. Very cool stuff, apparently they''re putting a native GUI frontend on their Rails app. What kinds of possibilities does this open up? ___________________ Ben Jackson Diretor de Desenvolvimento ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org http://www.incomumdesign.com
2007 Nov 10
2
Problem with view spec - works inside the browser but spec fails with nil object
Hi, I''ve been trying to find an answer for this problem in the last couple hours, but I think no discussion was about this exact same thing. So here it goes, hope someone can help. I''m trying to spec a view which works correctly on the browser, but that generates the following error when I run "rake spec:views". ActionView::TemplateError in ''/survey/show
2005 Jul 27
1
Upload Progress, Error in Ajax.PeriodicalUpdater
Hi, I''m using Upload Progress class of rails and geting this javascript error in js console: "*Ajax.PeriodicalUpdater is not a constructor*" The view have somethink like: <%= form_tag_with_upload_progress( {:action => ''create_gallery''}, { :name => ''new_gallery'', :begin =>
2005 May 10
6
How not to use AJAX
Hi all, Just ran across this article http://blog.taragana.com/index.php/archive/how-not-to-use-ajax/ and was curious what the consensus is on the bookmarking and search indexing problems. I remember seeing something about bookmarking on the list. Thanks, Ben -- Ben Jackson Diretor de Desenvolvimento INCOMUM Design & Conceito ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org
2005 Apr 20
4
Error in tutorial or sintax changed?
Hi, In this tutorial http://wiki.rubyonrails.com/rails/show/HowtoUseJoinsWithFindAll it sad: sql =<<SQL SELECT articles.*, authors.name AS author_name FROM articles LEFT JOIN authors ON author_id = authors.id SQL and this return *app/controllers/media_controller.rb:366: can''t find string "SQL" anywhere before EOF* what is wrong? the tutorial or ruby changed? please,
2000 Jun 16
0
glm under R versions 1.0.1 and 1.1.0
I have fitted a number of models with receipt of social assictance (toim1) during a year (values 0 or 1) with a number of covariates. The data include sampling weights which I use in the models. Using the exact same data, glm() under 1.0.1 and 1.1.0 give different results in many (but not all) of the models. I have re-installed 1.0.1 to check this and I found now mention in the NEWS file that
2006 Mar 13
3
unit tests executed for every page load ?
After I installed the very sweet file_column plugin I get strange output on my html pages. At the very end I always get something like this: "Loaded suite dispatch.cgi Started Finished in 0.000218 seconds. 0 tests, 0 assertions, 0 failures, 0 errors " Seems like there is executed a non existent test suite for every page load. Can anybody help me find the lines that force this
2005 May 17
5
Strings, Variables and GetText
Hi, I''m starting to use GetText and have this code: render_text %(<script language="JavaScript" type="text/javascript"> parent.mainframe.onUpdateNew("Gallery <b>#{@media.name}</b> was successfully created.", "#{@media.name}","#{String(@media.id)}","#{@media.media_type}"); </script>) I need to convert
2009 Jul 21
1
package quantreg behaviour in weights in function rq,
Dear all, I am having v.4.36 of Quantreg package and I noticed strange behaviour when weights were added. Could anyone please explain me what if the results are really strange or the behavioiur is normal. As an example I am using dataset Engel from the package and my own weights. x<-engel[1:50,1] y<-engel[1:50,2] w<-c(0.00123, 0.00050, 0.00126, 0.00183, 0.00036, 0.00100, 0.00122,
2007 May 17
1
use loop or use apply?
Hi, I have two matrices, A (axd) and B (bxd). I want to get another matrix C (axb) such that, C[i,j] is the Euclidean distance between the ith row of A and jth row of B. In general, I can say that C[i,j] = some.function (A[i,], B[j,]). What is the best method for doing so? (assume a < b) I have been doing some exploration myself: Consider the following function: get.f, in which,
2009 Aug 11
1
Selecting/Accessing the last vector in a list of a list of data.frames
Hello Again R Folks: I?m trying to clean up some code. Suppose I have an object like this: > str(test) List of 2 $ G:List of 2 ..$ cls:'data.frame': 101 obs. of 2 variables: .. ..$ V1: num [1:101] -0.0019 -0.0019 -0.00189 -0.00188 -0.00186 ... .. ..$ V2: num [1:101] 0.000206 0.000247 0.000288 0.000329 0.000371 ... ..$ rob:'data.frame': 101 obs. of 2
2012 Aug 22
1
Error in if (n > 0)
I've searched the Web with Google and do not find what might cause this particular error from an invocation of cenboxplot: cenboxplot(cu.t$quant, cu.t$ceneq1, cu.t$era, range=1.5, main='Total Recoverable Copper', ylab='Concentration (mg/L)', xlab='Time Period') Error in if (n > 0) (1L:n - a)/(n + 1 - 2 * a) else numeric() : argument is of length zero I do
2008 Jul 02
0
question on dispersion parameter
Hi, I'm programming in R and below is a summary of a generalized linear model: ************************************************** *** Call: glm(formula = offspring ~ degdays, family = quasi(link = "log", variance = "mu"), data = fecundity) Deviance Residuals: Min 1Q Median 3Q Max -0.76674 -0.29117 -0.09664 0.15668 1.00800 Coefficients: Estimate Std. Error t value
2006 Aug 16
1
update entry in a has_many relation
Hello all, I want to upate a entry in a one to many relation, but is doesn''t work. I can add or delete a specific entry, but I can''t update it. Can anyone help me? Here is the code: class Person < ActiveRecord::Base has_many :materials end class Material < ActiveRecord::Base belongs_to: person end class PersonController < ApplicationController def update
2005 Sep 29
0
:include doesn't respect :conditions of the included model
Hi all, I have something like the following in my model(s) class Person < ActiveRecord::Base has_many :planung has_one :last_planung :class_name => "Planung", :conditions => "exist IS TRUE", :order => "date DESC" end class Planung < ActiveRecord::Base belongs_to :person end And the corresponding
2005 Mar 04
17
active record logs format
Hi, I think this has already been asked on the list, but I can''t seem to be able to find it again: currently, active record does some weird thing with its sql logs i.e.: [4;33mSQL (0.000000) [1;37mPRAGMA table_info(map_locations) how do I remove the "[4;35m" thx Jean