Displaying 20 results from an estimated 300 matches similar to: "Proper usage of identify(label)"
2009 Nov 14
3
authlogic fails on existing accounts when crypted_password is blank
I recently ran a migration to add the following to an existing user
model:
t.string "crypted_password"
t.string "password_salt"
t.string "persistence_token"
There is an existing (cleartext) password field, but authlogic doesn''t
seem to be reading that on existing accounts. As a result, all logins
for existing accounts fail.
How can I get
2009 Nov 20
3
Ensuring that foreign key is valid
I am trying to set up a validation in a model to ensure that a record
can''t be saved unless the foreign key it belongs_to is a valid record.
My model says:
class Admin < ActiveRecord::Base
validates_presence_of :user_id
validates_numericality_of :user_id
validates_uniqueness_of :user_id
validates_associated :user
belongs_to :user
end
but I can still create an admin
2009 Nov 17
2
rake db:seed with authlogic fails to populate users
I have a db/seeds.rb file that I want to load, but while the rest of the
seeds file works fine, nothing is ever populated in :users. I just fails
silently, so I can''t figure out what exactly is causing the problem.
I have authlogic installed into the user.rb model with
acts_as_authentic. I''m sure that''s part of the problem, but I''m not sure
that manually
2007 Jul 12
2
[AVS] Question concerning reverse synchronization of a zpool
Hi,
I''m struggling to get a stable ZFS replication using Solaris 10 110/06
(actual patches) and AVS 4.0 for several weeks now. We tried it on
VMware first and ended up in kernel panics en masse (yes, we read Jim
Dunham''s blog articles :-). Now we try on the real thing, two X4500
servers. Well, I have no trouble replicating our kernel panics there,
too ... but I think I
2008 Dec 16
3
Backing up Outlook pst files
Hi - I'm backing up a Windows client which has a number of Outlook
mail archives (pst files) and annoyingly whenever you open Outlook it
updates the modification dates of all pst files - even if you don't
change any of the emails contained in the archive.
What's the best way of backing up these files without having them fill
up my backup disk with mostly identical copies of
2006 Feb 01
3
norm package prelim.norm
Hey eveyone! I hope someone can help wiht this question. I have a matirux of all zeros and ones and I would like to indentify all unique patterns in the rows andthe number of times the pattern occurs. I changed all zeros to NA tried to use prelim.norm to identify all patterns of missing data in the rows. I got the message
Warning message:
NAs introduced by coercion
Any ideas of how
2005 Jan 23
5
How to use "identify"
I can't get identify to work, using R 2.0.1 under windows xp pro,
service pack 2. Here's what I enter, and the result:
> plot((our.frame2$c1),(our.frame2$c9)) # Produces desired plot
> identify(our.frame2$c1) # Plot comes to forefront, so I select a point
warning: no point with 0.25 inches
numeric(0)
Is my call to identify correct? The help page for indentify (from
2013 Sep 24
2
PJSIP Authrentication by IP fails
I have one single endpoint
[inhouse](endpoint-basic)
type=endpoint
and one section like this
[indentify]
endpoint=inhouse
match=X.Z.Y.X
But when I call in from IP X.Z.Y.X, it does not match my peer. It
tries to send the call the "default" context, and the number is not
found.
I know that I should have loaded this module,
res_pjsip_endpoint_identifier_ip.so
and it is loaded. In fact,
2007 Jan 10
2
labels outliers in boxplot
Dear R-users,
Following is part of my data, where slide has 36
levels and block 48 levels. I have done boxplot for
each slide on the same graph. There are outliers for
each slide and I tried to use indentify functtion to
identify outliers in such a way that when I click on
an outlier or point, the points will be labelled by
either their block or ID or by both but without
success. How can I make
2014 May 28
1
Asterisk crashes suddenly
Hello friends,
I have been experienced suddenly stops for my Asterisk server, I do not why
is it happening. Asterisk's debug messages only tell me I have lacked g729
codec for translation to one peer minutes before the crashes occur
[2014-05-27 09:48:30] WARNING[15384][C-0000017c] channel.c: Unable to find
a codec translation path from (ulaw) to (g729)
[2014-05-27 09:48:30]
2008 Oct 05
4
Graphic problems starting Wine or winecfg
Hi,
I installed wine on my Debian system, but if i try to start wine or wine config my screen get screwed up. After I try it, everthing on screen is scattert to little qubes or/and lines, I can't select or indentify anything on it.
Thanks
2003 Jun 27
1
How to get pixel position of a plot
Hi,
I would like to plot a graph on the jpeg device for example and to write
a table associated to this plot where I have the pixel coordonates of
each plotted point so that I could include the jpeg image onto a html
page and get all the information about each point when the mouse button
is pressed. The indentify() can do it but on the window device...
Thanks for any idea.
Philippe
--
2002 Nov 05
1
NILO PXE Help wanted
Hi,
I need help about the stuff in nilo that gets burnt on a rom to make it a pxe bootrom. In etherboot, it's the file .rom and .lzrom etc.
please help me indentify, what component in nilo is used with an eeprom writer to create a pxe bootrom from a 27c512 eprom.
thanx and regards,
milan
--
Powered by Outblaze
2006 Sep 12
2
How HVM domain distingush ioemu disk and VBD disk
Hi,
From cset 10921, ioemu: prefix is removed from disk config in /etc/xen/xmexample.hvm. Now HVM VBD driver is available, this thus raises a question: how would HVM domain know if one disk is a qemu-dm disk or a VBD disk?
From current implementation, qemu-dm will recognize disk had, hdb, hdc, hdd, and VBD drive can recognize all disk (had~hdd, hde, hdf ...) . So the result is: qemu-dm will
2008 Jan 17
6
Apache22+mod_proxy+mongrel+ssl
I am trying to move a Rails application, that uses SSL, from an
Apache/FastCGI stack, that works fine, to Apache22 and mongrel
working with a single mongrel instance (i.e., not mongrel cluster, yet.)
I have a single mongrel instance demonized and working fine on http,
on port 3000. Apache/OpenSSL/certs working fine.
Here is my test http.conf (deliberately kept as simple as possible):
2005 Aug 26
1
Help in Compliling user -defined functions in Rpart
I have been trying to write my own user defined function in Rpart.I
imitated the anova splitting rule which is given as an example.In the
work I am doing ,I am calculating the concentration index(ci) ,which
is in between -1 and +1.So my deviance is given by
abs(ci)*(1-abs(ci)).Now when I run rpart incorporating this user
defined function i get the following error message:
Error in
2008 Mar 14
3
SSL doesn''t activate in Mongrel
I have an app I''ve been working on for a while. I just tried to
activate SSL for it. I followed the instructions found at
<http://wiki.rubyonrails.com/rails/pages/HowToEnableSSL>. Everything
seemed to install/configure OK, no errors. But I now find that nothing
is listening on port 443. "Connection refused"
So what might be the problem?
--
Posted via
2003 Apr 29
1
ISDN - Dialout MSN setting ??
I haven't managed to work this one out yet, so any assistance
appreciated ...
We want to be able to set the outgoing caller-id on, BRI according to
the extension but haven't worked how with asterisk ?
we have several hundred inbound numbers on these BRI so we are able o
use any one these to sett on outdial.
One other point I have been told should work, bu have no way of
trying...
In
2008 Mar 11
1
Question on SATA DVD using centos 5.1
On my machine I have
SATA0: HD
SATA1: HD these two drives are set as RAID1
SATA2: HD extra
SATA3: DVD
SATA4: external USB disk
Snip from dmesg shows the ATAPI device being detected.
ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xe400 irq 10
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xe408 irq 10
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: ATAPI: PIONEER BD-ROM
2019 Nov 22
2
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
Driver virtio_net is not handling error events for TX provided by
dev_watchdog. This event is reached when transmission queue is having
problems to transmit packets. This could happen for any reason. To
enable it, driver should have .ndo_tx_timeout implemented.
This commit brings back virtnet_reset method to recover TX queues from a
error state. That function is called by schedule_work method and