Displaying 20 results from an estimated 2000 matches similar to: "Instal MySQL gem problem"
2010 Oct 01
8
field_with_errors.
If a model doesn''t pass validation the field in the view is put under
a <div class="field_with_errors">.
But who create that div? field_text helper do it?
--
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
2011 Feb 24
1
Rails 3 save parent model and association if nested attributes validation fails for uniqueness
Hi,
Song
has_and_belongs_to_many :people
accepts_nested_attributes_for :people
Person
validates :uniqueness => true
If person record not present, nested attributes working great! in rails way.
i.e., inserting into songs, people and people_songs table correctly.
I am interested in:-
*If there is person exist, it should skip insertion into people table but
data should be inserted in songs and
2003 Sep 19
3
Locate first index
Hi, all. I'd like to know if exists a manner to get the first index where
a condition is attained in a vector. For example,
There is a better solution than
first.index <- table(subject[corretor==27])[1]
(give me the subject for the first time that corretor is 27)?
Thanks,
========================================
Cezar Freitas (ICQ 109128967)
IMECC - UNICAMP
Campinas, SP - Brasil
2010 Oct 03
7
Rails 3, Validates, Custom Message
In Rails < 3, I could have a validation on model such as:
validates_presence_of :name, :message => "some custom message here"
If I try something similar in Rails 3:
validates :name, :presence => true , :message => "some other custom
message"
obviously, it throws an exception. So the question is, in Rails 3, how
to you give a simple custom message? Do I need to
2009 Jun 26
5
(performance) time in Windows vs Linux
Hi, all.
I began to migrate my R codes from Windows to Linux and surprised me
with an old question. I simplified the problem and made a little test to compare times at same
computer and the Linux time is worse (not so little) than Windows time:
28 vs 53 seconds.
I make an example (below) to facilitate all to see the difference.
I also build from source (it's my first time) a version of R to
2010 Feb 22
1
Raster table: how separate lines with the same value (count > 1)
Dear all,
I intend to do some statistics with my raster table, like correlations or
regression analysis. For that, I need that each pixel be in one line, that
is, there is no count > 1. So, all columns should have the same number of
lines, when I compare (combine) rasters.
I'd like to know if there is a way to create lines and copy the values of
the lines, when count is > 1. So, even
2007 Feb 23
2
OCFS 1.2.4 memory problems still?
I have a 2 node cluster of HP DL380G4s. These machines are attached via
scsi to an external HP disk enclosure. They run 32bit RH AS 4.0 and
OCFS 1.2.4, the latest release. They were upgraded from 1.2.3 only a
few days after 1.2.4 was released. I had reported on the mailing list
that my developers were happy, and things seemed faster. However, twice
in that time, the cluster has gone down due
2006 Aug 09
8
Server Hacked: Cpanel
Hi,
I have servers of mixed OS, some Centos, some Fedora, and after the flame war that erupted last week (where I said basically nothing and just watched), my server was hacked by this team of hackers, actually their friend:
http://www.sibersavascilar.com/
This made Karanbir's statements about mixing Cpanel and Centos (any maybe any linux distro) come true very quickly. If
2009 Nov 07
3
my cpanel can not shows up after running 'latest'.
Dear my friends...
I am still new in CentOS. I use CentOS 5 for my new server with cpanel.
I have installed the cpanel. The steps were:
1. cd /tmp
2. wget http://layer1.cpanel.net/latest
3. sh latest
The installation show a message that the cpanel installation
was completed.
But I can not see the cpanel login form on my server,
either:
"http://WWW.MYWEBSERVER.COM:2082"
or:
2005 Mar 26
3
cpanel on CentOS
Hello,
Anyone running cpanel on CentOS3.4, could you please tell me what you
see at the top right corner of your WHM, where the version numbers are
listed?
Do you have "RedHat Enterprise 3 i686" like on RHEL or is cpanel aware
that it''s CentOS?
Thanks,
Francois
2016 Dec 15
8
Alternative to cPanel
Dear All,
Im looking for alternative for cPanel and somehow I read that the 'cwp
control web panel' (http://centos-webpanel.com) and Sentora (
http://www.sentora.ga) is the good alternative for cPanel.
Is there someone using this application and what can you tell about or
recommend.
Thank you all.
unable to access Linux HVM via xm console - Could not read tty from store: No such file or directory
2008 Jun 16
2
unable to access Linux HVM via xm console - Could not read tty from store: No such file or directory
Hi all
I''m running CentOS 5.1 x64 + Xen 3.0 & I have setup a CentOS 5.1 x64
domU as a HMV. For the setup I used VNC, but I would prefer to be able
to access it via "xm console cPanel" via SSH directly.
Here''s the output cPanel HVM:
[root@pc-00059 ~]# more /etc/xen/cPanel
name = "cPanel"
uuid = "ff940501-507d-04ca-e590-831e79ba0397"
maxmem =
2008 Jun 17
4
Re: unable to access Linux HVM via xm console - Couldnot read tty from store: No such file or directory
HVM = fully virtualized. The question is, why are you using fully virtualized domUs? Why not paravirtualized (PV)?
>>> On 2008/06/16 at 16:07, Rudi Ahlers <Rudi@SoftDux.com> wrote:
Itamar - IspBrasil wrote:
> why you''re using hvm ? its slow
>
>
>
> Rudi Ahlers wrote:
>> Hi all
>>
>> I''m running CentOS 5.1 x64 + Xen 3.0 & I
2005 Apr 26
3
cpanel and ices
Why does cpanel want to remove ices files? How can I prevent this from
occurring?
What I get is /libexec/ld-elf.so.1: Shared object "libshout.so.3" not
found, required by "ices" after cpanel does it nightly updates.
Also if I do a SIGHUP to ices to update a playlist, do I just need to
issue the command ices SIGHUP? What would be the correct format.
Again, I apologize for
2008 Dec 19
2
hardware needed for OCFS
Hi,
Does OCFS require NAS hardware to run or does normal PC hard disk work?
Thanks,
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20081219/1bc9110b/attachment.html
2019 Oct 29
2
Recovering emails from "dead" server
I have a Linix server that won't boot. I've patched in a live CD and
mounted the original HDDs so I can browse the files using SSH.
I am trying to find where all my customer emails are stored so that I can
(hopefully) copy them off this "dead" server onto a new server which is also
running cPanel and Dovecot.
Does anyone know where Dovecot stores emails for each email
2018 Jan 27
2
Dovecot 2.3.0 assertion failure on LMTP delivery
Hi,
We are seeing a frequent assertion failure on LMTP delivery with 2.3.0. This only appears to happen on CentOS/RHEL 7.
Jan 24 08:30:58 smoker-devautomerge-c7-1 dovecot: lmtp(29540): Panic: file lib-event.c: line 148 (event_unref): assertion failed: (event != current_global_event)
Jan 24 08:30:58 smoker-devautomerge-c7-1 dovecot: lmtp(29540): Error: Raw backtrace:
2006 Feb 05
2
works best with centos 4+? CPanel or Plesk?
Hi there i was wondering if anyone on this list has any comments on
CPanel vs Plesk on Centos 4+? Looking for the one that best work with
the "out of the box" RPMs for Centos.
Thanks in advance!
Dustin
2002 Nov 11
2
making Samba works together with PAM
Ok fellows,
This is my last try. Please, anybody tell me if
something is missing on this list!
I need to setup on a Linux + Samba (PDC) to restrict
just one login per ID (not allow two logins with same
id).So:
1 - edit /etc/pam.d/samba -> chaging session line with
session required /lib/security/pam_limits.so
2 - in /etc/security/limits.conf:
* - maxlogins 1
3 - in smb.conf:
2009 Dec 03
2
adding bmp/jpg/gif to an existing plot
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main="test")
image = read.X("myimage.jpg")
add.image(image, x.left=2, y.bottom=4,