search for: staments

Displaying 8 results from an estimated 8 matches for "staments".

Did you mean: statments
2010 Nov 09
1
dovecot sieve plugin
hi... ?exist some way to extract message body contect to a variable with dovecot sieve plugin? ?:(? it's needed to do something like these: if address :matches ["From"] ["*"] { set "sender" "${0}"; <extract body content> # i try using something like "if body :raw :contains ["*"]" and use ${1} but i cant
2005 Aug 05
1
Is there a right place for a include_once statement in a PHP AGI script?
Hello there, I'm new to PHP AGIs and I'm having problems with a particular script that has a "include_once" statement on it. If I remove that stament, the script runs until the section of the code that depends on the include and then returns. If I include that statement, the script does not seem to run at all. What shall I do? Thanks in advance, Leo
2002 Jul 25
1
Calling the correct one of 2 conflicting functions
...way to ensure that the correct ecdf function is called by one of my own functions, that is, if both packages are in the search path? For example, > library(stepfun);library(hmisc) > vv <- rnorm(1000) > ecdf(vv) yields a plot using the hmisc ecdf function, and the following additional staments yield a similar plot using Martin's version: > detach("package:stepfun");library(stepfun) > ecdf(vv) > plot(.Last.value) But then doing > this <- ecdf(vv,pl=F) ,trying to use an argument to specify Frank's function, leads to an error. Is there a way to explicitl...
2006 Aug 11
0
habtm in a standalone ruby script broken?
Hi, i have a ruby script which uses the activerecord models of my rails application. this is achieved with $LOAD_PATH << ''...../availdb/app/models'' require ''rubygems'' require_gem ''activerecord'' require ''host_downtime'' require ''host_scheduled_downtime'' And in .../app/models/host_downtime.rb: class
2006 Jan 30
0
Adding ActiveRecord objects to the session
Hi all, I am creating an AJAX quoting/puchasing system and I am having a bit of unexpected behavior when adding ActiveRecord objects to the session. When I add the ActiveRecord object (in this case QuotePart) to the session it automatically saves the object that was added to the session to the DB. And the oddest part is that it automatically fills in the foreign key field quote_id, even though
2006 Jul 12
6
So what is REST? I don''t get how it fits in Rails
Does someone have an actual example of this? I saw DHH''s slides where he said that you could have your app automatically respond with HTML, XML, atom, whatever. So far I''ve found tons of discussion on REST and CRUD in Rails, but I haven''t seen anything that actually shows me what it all is. There''s simply_restful, which apparently makes things easier...I
2012 Nov 20
2
hiera values issue
Hi, I have a puppetmaster - agent architecture. I have a module for the vsftpd configuracion in the agents. The configuration of the value ''max_per_ip'' in the agents may vary. This is a line of the manifest: $max_per_ip = hiera(''max_per_ip'',10) I want to specify different values for each agent using hiera. The problem is I am only able to specify the
2005 Oct 14
10
Active Record: Prepared Statements?
Hello all, my first project is on it''s way, and I am loving it! But, and that''s a big BUT: Active Record does not use prepared statements! How is that? Everybody is bragging about performance and the most obvious tuning measure is missing. Ok, I don''t know, if MySQL can even do them as I am using Postgres, but still. I started looking at the code and it is not