Displaying 20 results from an estimated 20000 matches similar to: "Issue with validation"
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted
to run by you all, see if anyone''s synapses connect -- mine def.
aren''t!
I''m running a fairly simple rails app through a mongrel cluster (2
mongrels). This site is consistently sloooow -- memory on the server
is regularly paging (and shouldn''t be). ssh-ing in and running top
shows
2007 Jun 11
3
domU on gfs
Hey All,
I have a cluster setup and exporting gfs storage everything is
working ok(as far as I know anyway). But instead of mounting the gfs
storage I want the xen guest to be installed on the shared gfs storage.
But with my current setup when I install the domU on the gfs storage it
changes it to ext3. Is it possible this way or does the domU have to be
on an ext file system?
2005 May 27
2
undefined method `>' for nil:NilClass
I''m following the Depot tutorial in the Rails book, and have just hit a wall.
As instructed by the tutorial, I added the following code to the Product model:
protected
def validate
errors.add(:price, "should be positive") unless price > 0.0
end
When I attempt to add a new product, I''m getting an error:
undefined method `>'' for nil:NilClass
2006 Feb 17
4
Bridged line appearance
So are there any plans for bridged line appearance support in Asterisk? The
new Linksys SPA9000 supports it. A lot of other VoIP systems from Nortel,
Sylantro etc. supposedly support it. Seems to me that Asterisk needs to
get on the bandwagon or be relegated to call centers, specialized voicemail
applications, and phone chat businesses. It's not needed for companies used
to PBX's but
2005 Mar 02
2
.ps and .pdf page size differences in FC vs. Debian
R version: 2.0.0
OS: Fedora Core 1
When I'm using Fedora Core 1, Rplots.ps (and subsequent Rplots.pdf
created after using ps2pdf Rplots.ps) which are created from the command
line execution of R are too large to fit on a US Letter sized page when
printed. The same code will produce a US letter sized page when I'm on
my Debian Sid box. Both boxes are connected to the same shared
2009 Jul 24
2
Setting up Linux File Servers in a University Environment
Hello Everyone
I work for a University Department that has a high number of Linux
Desktop Users. Currently we provide a users home directory via NFS from
a file server. Generally it works well for us, but I have been asked to
look at our options for expanding the storage we have available.
So I thought one of the first things I had better do is consider are
there alternatives to the way we
2006 May 04
7
windows / migration issues
Running latest rails, etc on windows xp.
I can''t use "rake migrate" to migrate to latest version. I NEED to
specify, i.e. "rake migrate VERSION=11" for things to work
consistently.
plain ''ol "rake migrate" never makes it to the latest version. no
errors, she just stops short of the latest version.
hasn''t been a problem until now --
2013 Jun 26
3
XYZ data
I have x, y, z data. The x, y fields dont change but Z does. How do I add a
very small number onto the end of each x, y data point.
For example:
Original (X) Original (Y) Original (Z)
15 20 30
15 20 40
New (X) New (Y)
2011 Dec 11
2
ToDo List Notation
I just joined this mail-list, so I apologize if this has been discussed
before, but:
Has anyone suggested adding a "todo list notation" to Markdown?
Specifically, I'd like to see an open paren, brace or bracket, at the start
of a line, followed by a space, a "/", or a "X", followed by a matching
closing paren, brace, or bracket, followed by a space and more text
2006 Mar 01
2
GXP-2000 Volume Issue
Is anyone else having an issue with GXP-2000s and transmit gain? All my
other phones are fine on my TDM400P with txgain set at 0, but the GXP-2000
caps at about a third of the scale in ztmonitor. I'm getting people
complaining they can't hear me on my GXP-2000s, whereas my Snom 320 and
Polycom 301 are great, and my Budgetones are overmodulating. Is there any
conceivable fix on the
2004 Jun 16
3
Aggregating on Water Year Rather Than Calendar Year
The US water year extends from 01 October yyyy-1 through 30 September yyyy
and is referenced by the year starting on the included 01 January yyyy.
I'd like to be able to find the annual means for the water year. To do so
I've taken the input date-time, which is in the usual format
"1991-10-07 10:35:00"
changed it by:
w$d<-as.POSIXct(w$date.time)
Now I can add an
2010 Oct 15
1
Dealing with Non-Standard Hours
A data set I obtained has the hours running from 01 through 24
rather than the conventional 00 through 23. My favorite, strptime,
balks at hour 24.
I thought it would be easy to correct but it must be too late on
Friday for my brain and caffeine isn't helping.
TIA for a hint,
Clint
--
Clint Bowman INTERNET: clint at ecy.wa.gov
Air Quality Modeler INTERNET: clint at math.utah.edu
2011 May 07
1
Typing "startx" gives me a black scrren, have to reboot to get back to runlevel 3
Hello everyone,
I have been having a vexing problem for a year, and I cannot solve it.
Hopefully, someone has a tip to get me over the hump to fix this once and
for all.
When I type "startx" from root, I get:
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!
2015 Jan 11
2
Link-dest thinks file is newly created, but it isn't
On Sat Jan 10 2015 at 5:21:33 AM Kevin Korb <kmk at sanitarium.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What does --itemize-changes say about that file? Try using the stat
> command on the various copies of it to see what is different about them.
>
In my original message, I stated I used --itemize-changes, and I reported
the following:
>
2006 Jul 11
1
Validating composed_of
Hi,
How do I validate a composed_of attribute in my model?
I have a product model with:
composed_of :price, :class_name => ''Money'', :mapping => %w(cents cents)
This maps the price attribute to the Money
(http://dist.leetsoft.com/api/money/) class. I want to make sure that
the price only contains a price to 2 decimal places i.e. 1.25. This is
because if someone enters
2006 Feb 21
17
What business IP phone to use
I have been struggling with this issue for about a year now. There were
just too many IP phones to choose from at all sorts of price points and not
enough information about any of them. Now I am looking at the situation
again and if anything it has gotten worse. There are even more phones and
all sorts of opinions. For every person that says phone x is great there is
someone else complaining
2015 Oct 28
2
Disabling "quick check"
Ok, thank you for this extra info. I have experienced exactly what you
described. The rsync dry run is _still_ running after being started at
1:30am PST :)
But it is finding the right files to update. Most of the entries are:
>fc........
Which is what I want.
So, just because I see:
>f
at the beginning...
That doesn't necessarily mean that the file is going to get updated at the
2009 Apr 24
2
AllowGroup no longer a Valid option for SSHD
Hi,
Can anyone else confirm that AllowGroup is no longer an accepted
configuration option for openssh-server-4.3p2-29.el5. And is this
intended or should I be submitting a Bug Report ?
Thanks
2015 Jan 10
2
Link-dest thinks file is newly created, but it isn't
Hi:
I've been using rsync for a couple years now. Unfortunately, I've made some
changes on both ends, so it's unclear what could be the culprit. I make
extensive use of --link-dest to provide a cheap "Time Machine"-like backup
for a Windows machine.
Source: Windows 7 running Cygwin (CYGWIN_NT-6.1 sith 1.7.33-2(0.280/5/3)
2014-11-13 15:47 x86_64 Cygwin)
Destination: Synology
2015 Oct 28
2
Disabling "quick check"
What about -c? It seems I'm getting a lot of spurious file transfer
candidates when using:
-avvznIi --no-o --no-g --no-p
It's showing transfers (receive) for many files I know haven't been
tampered with.
Thanks,
-Clint
On Tue, Oct 27, 2015 at 7:53 PM, Kevin Korb <kmk at sanitarium.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> That is correct.