similar to: logic inside a view file

Displaying 20 results from an estimated 4000 matches similar to: "logic inside a view file"

2006 Feb 07
7
select list error - following Agile guide
I would swear that I am tracking exactly the method used in Agile book... TypeError in Placements#edit Showing app/views/placements/_form.rhtml where line #33 raised: wrong argument type String (expected Module) Extracted source (around line #33): 30: <tr> 31: <td><label for "type">Type</label></br><%= 32: options = [["Select
2006 Apr 18
3
ez_where query question
I''m having fun composing queries with ez_where, but am stuck on how to formulate the following using the ez syntax: (begin_date >= ? OR end_date >= ?) AND (description LIKE ? OR name LIKE ?) There are two clauses, each containing OR operators (the ez ''any'' syntax) but both clauses must evaulate to true for a match. Can anyone suggest the proper way to construct
2008 Dec 08
2
Stability unmatched!
I never did solve my "puzzle" as to how to kill a Linux process that seems to be deadlocked in kernel space, but thought I would report to the list that the server did manage to stay up and continue to process several thousand calls per day: ast% uptime 11:49:37 up 1000 days, 16:30, 1 user, load average: 1.00, 1.00, 1.00 ast% Since for the past four weeks I have forced my poor
2005 Mar 09
4
Lattice device page options-margins
I am using lattice to make figures as pdfs: trellis.device(device = "pdf",file = "Figure6.pdf",color = FALSE) I need to specify some blank space on the left-hand margins (the pages will be bound so we need about 0.5 inch)). I have tried a number of solutions but none seems to work (e.g. par.set). Can this be done when initiating the plotting device? Or is the some other way
2011 Nov 28
1
code problem with the optim() function
Please forgive me if someone has seen this duplicated email, because I sent the email to the wrong address just now. Hi, all, I'm estimating an inter-rater coefficient, Aickin (1990)'s alpha. It's been a long time for me to figure out how to make it work, but it's still of no avail. The problem seems to be my code with the optim() function. Can anyone help me take a look at the
2004 Jun 11
7
Can't open configuration file
Hi I'm getting Jun 11 13:12:46 "Fatal: Can't open configuration file /home/dovecot/dovecot-pgsql.conf: Permission denied this file have fulle permissions and has belonged to dovecot and root but still no joy what am i missing must be something stupid on this side Thanks for the previos comments about scripting I am swithcing to postgress for the mail env and will look at mysql
2006 May 17
5
select list
I''m trying to build a selection list which I have done in various ways but this one is new to me. I have a ''facilities'' table which has all the outpatient facilities but I need to add ''Float'' and ''Main Office'' which I don''t want to add to the ''facilities'' table itself. so I figure I can add these to an
2004 Feb 03
2
Jim diGriz''s QoS Script
Hi sombody know what is happen with Jim diGriz''s QoS Script Web Page ? www.digriz.org.uk/jdg-qos-script Regards _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2011 May 28
1
newbie xml parsing question
I am trying to read some data off the zillow site. Newbie to xml, html, parsing and the xml package. I've been able to load the web page I'm interested with the following code but I'm not sure of the next step to get the information I'm interested in into R : library(XML) url <- "http://www.zillow.com/homes/511 W Lafayette St, Norristown, PA_rb" doc <-doc <-
2007 Aug 02
1
New user help with plot.default
Hi - I'm just starting out with R and have come up against a problem with what should be a simple operation. I'm plotting a range of safety standards for 7 different chemicals. I don't want the standard box and whisker plot - I just a dot for each value. Whilst using "plot.default" I get the error "invalid xlim value" - which is confusing since using the same script
2008 May 28
1
calling C function from R
Hi, I am reading the source code of rpart. I have problems understand the following code and would appreciate for any helps. In rpart.s, there is a line: rpfit &lt;- .C(C_s_to_rp, &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; n = as.integer(nobs), &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; nvarx
2006 Jun 14
4
could someone tell me how to implement a multiple comparison test for proportions in a 2xc crosstabulation
Dear all, I wanna to do multiple comparison test for proportions (multiple chi squre ?), could someone tell me how in R, thank you!
2012 Sep 03
2
virtual network bug?
I have had a number of occasions lately where a virtual "NAT" network (such as default) has stopped working. I have attempted to stop and then restart the network from the "network details" but the only thing that seems to work is to restart all of the virtual guests which use that network. I don't believe that I should have to do that. Is there some command which
2006 Sep 07
4
Install config: lighttpd dead but pid file exists
I''m trying to run rails on RHED (centos 4) by following this tutorial: http://wiki.rubyonrails.org/rails/pages/RailsOnRHEL and something is gone a bit astray during the install process that is not allowing lighttpd \ apache to run rails on the web. Since i''m running Centos, I should mention I''m NOT running SELinux. As it is, i''m at a total loss as to why
2007 Aug 10
2
available.packages (PR#9841)
Full_Name: Zivan Karaman Version: 2.5.1 OS: Windows XP SP2 Submission from: (NULL) (195.6.68.214) I think that I have encountered a bug in the function "available.packages" when using a local repository (file:// ) on Windows. Version information: platform i386-pc-mingw32 arch i386 os mingw32 system
2020 Jan 03
2
bug report
Hi, &nbsp; &nbsp; I have use&nbsp; kvm ? virsh ? virt&nbsp; &nbsp;for almost half year ?all things goes well ? &nbsp; &nbsp; but recently? I use virt-copy-in&nbsp; found some problem ? I&nbsp; have&nbsp; &nbsp;do&nbsp; nothing&nbsp; with my server&nbsp; ?but the problem appear .&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
2005 Nov 08
6
Running Xen 3.0, guest OS does not open a window
Dear Xen community, I have Xen 3.0 installed on RedHat Linux Enterprise RHEL4U2. "xend install" runs fine with no error messages. However, when I start "xm cr guest-vmx.conf" I do not get any new window open for the new guest OS. "xm list" shows that the vmx has started and seems to be working fine (just for testing, when I type "xterm" an X window
2020 Jan 08
3
回复: bug report
Hi,Tomas: &nbsp; &nbsp; &nbsp;here is the&nbsp; test info:&nbsp; &nbsp;Thanks for your kind help .&nbsp; &nbsp; &nbsp;************************************************************ &nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IMPORTANT NOTICE &nbsp; &nbsp;
2006 Sep 25
3
In place editing an empty field
I am trying to use the Scriptaculous InPlaceEditor and in some cases the field will be empty. That is, the field currently has no value but the user wants to enter a value. The InPlaceEditor appears to not work in this case. Other identical fields (except wit different ids and some value) do work. I have tried using a nonbreaking space (&nbsp;), and this does cause the editor to appear,
2007 Mar 19
3
R4.1: seq.POSIXt, tz="AEST" (PR#9572)
Times from seq.POSIXt come out wrong in AEST timezone around Feb 29 every leap year before 1970 (on Windows XP). According to help(DateTimeClasses), this is handled by "our own C code". > x <- as.POSIXct("1968-02-27") # tz="AEST" > x.gmt <- as.POSIXct("1968-02-27", tz="GMT") > data.frame( GMT=seq(x.gmt, by="day",