Displaying 20 results from an estimated 5000 matches similar to: "Rails validation scheme: why not validate params directly."
2010 Feb 14
4
Problem in performing goodness of fit test in R.
I am trying to perform goodness of fit test using R. I am using this website http://wiener.math.csi.cuny.edu/Statistics/R/simpleR/stat013.html for help. However, I am unable to carry out the test successfully. My code follows. It is taken from the website just mentioned.
freq=c(22,21,22,27,22,36) # frequencies obtained after rolling the dice 150 times.
prob=c(1,1,1,1,1,1)/6 # specify expected
2008 May 03
4
Bug#479197: xen-hypervisor-3.2-1-amd64: hypervisor fails to load dom0 ("not an ELF binary")
Package: xen-hypervisor-3.2-1-amd64
Version: 3.2.0-5
Severity: important
The hypervisor loads OK but then fails to load my dom0 kernel. I get
an erorr message "not an ELF binary" followed after 5s by a hypervisor
reboot.
/boot/grub/grub.cfg contains:
menuentry "Debian GNU/Linux, Xen 3.2-1-amd64, Linux
2.6.22-3-vserver-amd64 (single-user mode)" {
set root=(hd0,1)
2008 Oct 09
1
The ordinal 6877 could not be located in the dll
That's the message i get when i try to run "replay media catcher".
Any ideas why i'm geting this erorr?
Thanks
2010 Mar 30
1
SHLIB not working (Win Vista)
Dear R-helpers,
I tried to build a DLL like I have done so many times, but this time
on my new machine, but it gives the erorr:
(from cmd window)
>R CMD SHLIB Boxcnt.f
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error c:/PROGRA~1/R/R-210~1.1/share/make/winshlib.mk 4: Command syntax error
*** 1 errors during make ***
The error is not in my Fortran file, because I also tried other files
2016 Oct 26
2
Problem setting up ssl connection
Hello
I keep getting the following error when trying to connect to the
Asterisk server using AMI :
$socket = fsockopen("tls://11.22.33.44","5039", $errno, $errstr, 5);
Erorr on CLI :
[Oct 26 14:38:19] ERROR[2992]: tcptls.c:609 handle_tcptls_connection:
Problem setting up ssl connection: error:14094418:SSL
routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
[Oct 26 14:38:19]
2019 Feb 26
2
Dovecot 2.3.3 Mailbox does not exist
HI,
I would deeply aprechiate if someone here could help me address a problem
with ACL. I would personally refrain from e-mailing ever so often as I
understand other users have more important issues to discuss about. Anyways
I hope someone here could help.
When I run ;-
doveadm acl get -A Public/Archive
I keep getting an error that says Mailbox does not exist . See erorr
message below : -
2019 Sep 08
6
Error: package or namespace load failed for ‘utils
Hi,
When starting an embedded R I encounter the following issue under certain
conditions:
```
Error: package or namespace load failed for ?utils? in if (.identC(class1,
class2) || .identC(class2, "ANY")) TRUE else {:
missing value where TRUE/FALSE needed
```
(more such errors for grDevices, graphics, and stats)
And in the end:
```
Warning messages:
1: package ?utils? in
2019 Sep 08
1
Error: package or namespace load failed for ‘utils
Also, check the settings of R_HOME and/or R_LIBS.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Sun, Sep 8, 2019 at 9:58 AM William Dunlap <wdunlap at tibco.com> wrote:
> Look at section 6.1 of the R Installation and Admin manual.
>
> 6.1 Default packages
>
> The set of packages loaded on startup is by default
>
> > getOption("defaultPackages")
> [1]
2013 Jan 31
4
[RFC][PATCH 2/2] Btrfs: implement unlocked dio write
This idea is from ext4. By this patch, we can make the dio write parallel,
and improve the performance.
We needn''t worry about the race between dio write and truncate, because the
truncate need wait untill all the dio write end.
And we also needn''t worry about the race between dio write and punch hole,
because we have extent lock to protect our operation.
I ran fio to test the
2006 May 15
11
can you explain this benchmark?
I want to load about 14000 words (a subset of /usr/share/dict/words)
into a MySQL table in a migration:
class CreateWords < ActiveRecord::Migration
def self.up
create_table :words, :force => true do |t|
t.column :word, :string
end
say_with_time ''loading words...'' do
words = File.join(RAILS_ROOT, ''db'',
2006 May 03
11
Curse words
Hello, I just had a problem with someone cusing on my rail app now is
there somthing like Red Cloth that I can use to disable ''dirty words''
--
Posted via http://www.ruby-forum.com/.
2008 Mar 05
14
[Stories] Login and subdomain
I''ve just begin using rspec stories, and i m encountering some
problems. In my application i have different subdomains in which
specific users can log in, for example an admin will go to
admin.myapp.com/authenticate/login, and an user belonging to a
specific company will log in company.myapp.com/authenticate/login, and
of course both have a different login process.
To perform some
2009 Mar 18
3
[PATCH] ocfs2: Fix 2 warning during ocfs2 make.
fs/ocfs2/dir.c: In function ?ocfs2_extend_dir?:
fs/ocfs2/dir.c:2700: warning: ?ret? may be used uninitialized in this function
fs/ocfs2/suballoc.c: In function ?ocfs2_get_suballoc_slot_bit?:
fs/ocfs2/suballoc.c:2216: warning: comparison is always true due to limited range of data type
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/dir.c | 2 +-
fs/ocfs2/suballoc.c |
2008 Nov 01
8
OpenVZ & shorewall. Did'nt work acl based on ip range.
Hello all,
It''s my first letter on this list, and, my English is not very well.
Please take me indulgence
for grammar/syntax and over erorrs :))
I have trouble for acl''s of ip range. But, acl for one host (with ip
adress) work fine.
Please help me for make work acl/find erorr in acl.
Becouse I''m new shorewall user, I maked test configuration on Virtual
Mashine
2006 Aug 09
3
select with country names
Hi,
I need to create a list of coutries in a driop down.
I''m aware of a function ''country_options_for_select'' however this jsut
seems to output a string of all countires.
How can I get this list in a drop down?
Thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Jan 04
8
Trying to display data from two tables
Alrighty folks, I''m really trying here, and want to succeed with Ruby on
Rails.
I''m trying to display data that is linked from two tables using the
Active Record naming conventions, as described in Agile Web book.
The stripped-down basics;
Database
drop table if exists people;
CREATE TABLE `people` (
`id` int(6) NOT NULL auto_increment,
`lastname` varchar(30) NOT NULL,
2006 Feb 27
1
rails activerecord
i found model allway query this sql:
SHOW FIELDS FROM test_table
if my code needn''t know table structure, how to remove it?
--
Posted via http://www.ruby-forum.com/.
2008 Sep 08
1
[PATCH] [VTD] Enable pass-through translation for Dom0
If pass-through field in extended capability register is set, set
pass-through translation type for Dom0, that means DMA requests with
Untranslated addresses are
processed as pass-through in Dom0, needn''t translate DMA requests
through a multi-level page-table.
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
2006 Apr 26
0
Validation of params
As we all know you cannot trust anything you receive from the internet.
I am wondering what the correct RoR way is to solve this. For the model
there are various validates_* methods that you can use to ensure some
integrity of that part. That is good by itself. Though it would be nice
if setting these would also result in enforcement in the database backend
itself when supported. Here I am as
2012 Jul 12
1
Asterisk with OpenBTS and mobile phone
Hello mailinglist,
I want to connect Asterisk with OpenBTS and make a call with a mobile
phone.
I use:
Ubuntu 11.10 + Kernel 3.0.22
GnuRadio 3.3.0
Asterisk 1.8.13
OpenBTS 2.8
Nokia Mobile Phone
OpenBTS works and I can send sms from the OpenBTS server to the
mobile phone. What I also need is a call between Asterisk and OpenBTS.
I have also two soft phones which works with Asterisk. And also