Displaying 20 results from an estimated 400 matches similar to: "Not Active Record Model Validation"
2011 Feb 25
1
Small enhancement for CMD check
It would be nice if the 00check.log file also included this part of the
output:
Running ?bladder.R?
Comparing ?bladder.Rout? to ?bladder.Rout.save? ... OK
Running ?book1.R?
Comparing ?book1.Rout? to ?book1.Rout.save? ... OK
Running ?book2.R?
Comparing ?book2.Rout? to ?book2.Rout.save? ... OK
etc.
The survival package has enough test scripts that it exceeds my
terminal's scroll
2006 Apr 09
6
Write/Display AR query as Grouped Results?
I''ve got a publications table that contains an author_id foreign key and
a pubrole_id foreign key. What I want to do is query the DB using AR so
that I can get a list of all publications that belong_to a particular
author, and group the results by the pubrole.role_name (Author, Joint
Author, Editor, etc.) so that the results look something like:
Author
book1 info
book2 info
etc.
2006 Jun 11
6
page.update_html not executed
Hi,
when doing:
render :update do |page|
page.replace_html ''suggested_contractors'', :partial =>
''contractors''
page.visual_effect :highlight, ''suggested_contractors''
end
I got js as output, it is not executed, return html *contains*:
try { Element.update("suggested_contractors", "
\n 12345678910\n
\n
2002 May 06
4
Subtitle?
Hi,
Is it possible to add a subtitle that appears directly below the main
title?
I tried the "sub" parameter, but it adds sub-title to the bottom of the
plot.
Cheers,
Kevin
------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Postgraduate PGDipSci Student
Department of Statistics
University of Auckland
New Zealand
Homepage:
2008 Feb 26
3
using eval-parse-paste in a loop
R-helpers
I have 120 small Excel sheets to read and I am using
library(xlsReadWrite): one example below.
I had hoped to read sheets by looping over a list of numbers in their
name (eg Book1.xls, Book2.xls, etc).
I thought I had seen examples which used eval-parse-paste in this way.
However, I have not been able to get it to work..
1. is this a feasible approach?
2. if not
2006 Apr 08
1
help : uninitialized constant Song
Hi,
I''m facing the following issue.
I have a class A in that i tried instantiating another class B.
but got uninitialized constant B error..Any idea how to over come this.
Here is my code.
--------------------
class SongList
#initialize the array
def initialize
@songs=Array.new
end
def aSong(aSong)
@songs.push(aSong)
self
end
2005 Nov 10
1
# symbol in input data (PR#8296)
Full_Name: Richard L Lozes
Version: 2.1.1
OS: Win XP
Submission from: (NULL) (69.107.18.35)
"#" appearing in a quoted string in input causes further input of that line to
be ignored.
Can be cured by escaping (i.e., "\#"), but in big data sets it is onerous to
find.
# should not be "special" inside a quoted string.
Here is a small input file. Read it with
2004 Aug 06
1
bit/bytes
If you look at the PLS file for SomaFM's "Goove Salad" channel you'll see :
------------------------------------------------
[playlist]
numberofentries=3
File1=http://64.236.34.97:80/stream/1018
Title1=SomaFM Presents: Groove Salad 128k (Feed #1)
Length1=-1
File2=http://205.188.245.133:8076
Title2=SomaFM Presents: Groove Salad 128k (Feed #2)
Length2=-1
2012 Aug 17
4
Appending many different and separate Excel files using R
Dear all,
Good day!
I have a problem in reading Excel files in R and appending them to each other. Suppose we have several Excel files in a directory with headers and want to use R to append them in a single file with an additional variable in the final file indicating from which files the data come from.
As I have many Excel files and their sizes are very big I should write a loop in R to do
2009 Jul 02
2
Passing expression as argument to do.call
Dear R-users,
I would like to know how expressions could be passed as arguments to
do.call functions. As illustrated in the short example below,
concatenating lists objects and an expression creates an expression
object, which is not an acceptable argument for do.call. Is there a way
to avoid that?
Thanks you
Sebastien
foo <- list(x=1:10, y=1:10)
mylist <- list(pch=6, col=2)
title
2020 Sep 16
3
Internal error on Samba 4.10.17
On 9/16/20 2:27 AM, Andrew Walker wrote:
>
>
> On Tue, Sep 15, 2020 at 2:58 PM Budi Janto via samba
> <samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote:
>
> Hi,
>
> For 3 days uptime serve about 40 client Windows workstation with traffic
> average 50 Mbps - 80 Mbps (Video streaming) running on FreeBSD system
> with 16
2007 Jul 28
3
SMS Gateway .... for Rails app? (a bit OOT)
I''m simply looking for a SMS gateway... The ones like what Twitter uses...
The intended audience would be globally.
Some of you would have used them and I''d really appreciate if you could
share your experience.
I''ve Googled and the problem isn''t that there is none, the problem is
that there are simply too many. Almost like looking for a webhosting. So
human
2020 Sep 15
4
Internal error on Samba 4.10.17
Hi,
For 3 days uptime serve about 40 client Windows workstation with traffic
average 50 Mbps - 80 Mbps (Video streaming) running on FreeBSD system
with 16 GB RAM already installed.
# uname -smrv
FreeBSD 12.1-STABLE FreeBSD 12.1-STABLE r364492 GENERIC amd64
# pkg info samba\*
samba410-4.10.17
I got this produce error in /var/log/message, any clue for this problem?
Sep 14 10:20:15 BEC-STG-P1
2005 Feb 07
4
[patch] MetaInfo.from_stream
This patch fixes a typo in MetaInfo.from_stream.
Alexander.
-------------- next part --------------
Index: rubytorrent/metainfo.rb
===================================================================
RCS file: /var/cvs/rubytorrent/rubytorrent/rubytorrent/metainfo.rb,v
retrieving revision 1.8
diff -u -r1.8 metainfo.rb
--- rubytorrent/metainfo.rb 7 Feb 2005 19:52:53 -0000 1.8
+++
2005 Sep 28
1
Errors in odbcConnectExcel()
Dear R-help
I would like to read Excel Spreadsheets using
odbcConnectExcel()
in RODBC, but data in the first row can not be read.
For example, I tried to read Excel file 'Book1.xls' in the
current Work Directory with the following data
(Range("A1:B5") in Excel),
1 19
2 27
3 61
4 76
5 98
My commands and the result are as follows.
> library(RODBC)
> Book1 <-
2005 Jul 25
3
FW: Problem with Intros in Relay with RealPlayer
Corrected example playlist file:
Example Playlist file:
[playlist]
File1=http://38.116.36.62:8000/ClassicRock
Title1=Test
Length1=-1
NumberOfEntries=1
Version=2
Fred
-----Original Message-----
From: icecast-bounces@xiph.org [mailto:icecast-bounces@xiph.org] On Behalf
Of Fred Black
Sent: Monday, July 25, 2005 1:12 PM
To: 'icecast'
Subject: RE: [Icecast] Problem with Intros in Relay
2005 Jan 19
3
rubytorrent problem on windows xp
Hi everyone
Is rubytorrent work on windows XP.
I have problem for using it.
Here my Configuration
OS: Windows XP
Ruby Version: 1.8.2
Already Install Azureus and ABC torrent. I manage to set Azerus behave
as tracker that listen to IP 127.0.0.1 and seeding file from
"\ekobudi\bittorrent\host0". After that I copy torrent file
from"\ekobudi\bittorent\host0" to"
2003 Oct 20
1
Office2K & file overwriting problems
Using Office2K (Word & Excel) on NTWS 4.0 and samba 3.0.0 on Debian
Linux, kernel 2.4.21.
1. Run Excel and create a sheet. Save it to the Samba server. No problem.
2. Close the sheet and open a new one (File->New).
3. Try to save the new sheet over the first one and Excel gives the
error: "Cannot save the file. 'H:\test\Book1.xls' is not a valid file name."
4. Click
2006 Jun 14
3
Prevent duplicate HABTM associations
Hi,
I am trying to restrict duplicate has_and_belongs_to_many associations.
I tried to find support for a association validation for duplicates but
couldn''t find anything.
I understand I could use :uniq=>true on the model association but this
would only prevent it from displaying duplicates, I want to stop
duplicate associations being inserted in the first place.
I have a vague
2006 Nov 29
2
validates_uniqueness w scope
In a one-to-many relationship (domain has_many :categories and
category belongs_to :domain)
In the category model I use:
validates_uniqueness_of :name, :case_sensitive => false
but upon creation of a category this validation is performed on ALL
domains,
can I restrict it only to the categories of the current domain, the to
which teh category being saved belongs_to ? if yes ? how ?
thanks