Displaying 20 results from an estimated 110 matches similar to: "Working with one model from another"
2007 Mar 20
2
collection_select - why doesn't it work?
Hi all
I guess this is quite a newbie question, but I''m just stuck here and
don''t know why.
<%= form.collection_select :origin_country, Country.find(:all), :id,
:name %>
gives me a select list with name="member[origin_country]". When
submitting the form the following error is shown:
Country expected, got String
When I try
<%= form.collection_select
2010 Sep 09
2
[PATCH]: add libxl python binding
Changes since last time:
- split auto-generated code in to c and h files
- un-break the build system
- fix ocaml binding due to libxl API change
- lot''s of tidy-ups too numerous to mention
Please consider and apply :)
-----8<---------------------------------------------------------------
Introduce python binding for libxl. The binding is not yet complete but
list_domains,
2012 Nov 20
0
[PATCH 04 of 15] libxl: ocaml: fix code intended to output comments before definitions
# HG changeset patch
# User Ian Campbell <ijc@hellion.org.uk>
# Date 1353432141 0
# Node ID be294b1cdd00dac5d3a1b42faf06656902b99e5b
# Parent 739989dcd108c6dac61aa9c87be2a75feafb9871
libxl: ocaml: fix code intended to output comments before definitions
I''m not sure how useful these comments actually are but erred on the
side of fixing rather than removing.
Signed-off-by: Ian
2004 Jul 14
4
String overflow in safe_strcpy .
Just Installed 3.0.5rc1 and the problem persists unfortunately,
heres a sample of my log :
wins[15212]: [2004/07/12 12:31:03, 0] lib/util_str.c:safe_strcpy_fn(600)
Jul 12 12:31:03 mandrake1 nss_wins[15212]: ERROR: string overflow by 1
(9 - 8) in safe_strcpy [TAENO~EI.PDF]
Jul 12 12:31:03 mandrake1 nss_wins[15212]: [2004/07/12 12:31:03, 0]
lib/util_str.c:safe_strcpy_fn(600)
Jul 12 12:31:03
2008 May 23
1
[LLVMdev] DebugInfoBuilder?
Evan Cheng wrote:
> I don't think so. Contribution welcome! :-) LLVM debugging support
> isn't anywhere near where it needs to be.
>
Well, here's a rough sketch of what I was thinking of:
class DebugInfoBuilder {
public:
/// Constructor
DebugInfoBuilder();
/// Return the type defined by llvm.dbg.anchor.type
StructType * GetAnchorType() const;
///
2010 Sep 06
2
[LLVMdev] More DIFactory questions - still stumped
On Sun, Sep 5, 2010 at 1:02 PM, Renato Golin <rengolin at systemcall.org>wrote:
> On 5 September 2010 19:32, Talin <viridia at gmail.com> wrote:
> > I've carefully studied the source code of CGDebugInfo in clang as a
> working
> > example. One puzzlement is that there's a discrepancy between what the
> > "source level debugging with LLVM" docs
2006 Apr 28
0
What is i2 ? 911 Candian Style
NENA i2
The NENA i2 architecture was designed to support the interconnection
of Voice over Internet Protocol (VoIP) domains with the existing
Emergency Services Network infrastructure. This overview will
describe the functional elements and call flow of a VoIP 9-1-1 call
over the i2 architecture.
The NENA i2 architecture was also designed to utilize existing 9-1-1
voice and data links to all
2014 Oct 17
1
Making parent.env<- an error for package namespaces and package imports
I'd like to propose a change to the R language so that calling
'parent.env<-' on a package namespace or package imports is a runtime
error.
Currently the documentation warns that it's dangerous behaviour and
might go away:
The replacement function ?parent.env<-? is extremely dangerous as
it can be used to destructively change environments in ways that
violate
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings
to libxl, to make them useful for clients such as xapi/xenopsd (from XCP).
There are a number of bugfixes to the existing bindings as well. I have an
experimental version of xenopsd that successfully uses the new bindings.
An earlier version of the first half of the series was submitted to the last
by Ian Campbell on
2012 Nov 07
4
conditional coding question
I have a big dataset. I want to create a new factor variable with certain
conditions based on two existing numeric variables.
Existing variables: indinc (range: 0 to 16), groupinc (range -3 to 5)
Conditional values that 'incorp' will take:
If groupinc = 5, then ?cons?;
If groupinc is -3 : -2, AND indinc < 9, then ?ethnat?;
If groupinc is -2 : -1, AND indinc > 8, then ?civic?;
If
2012 Sep 27
18
[PATCH 09/11] add iomem support to libxl
This patch adds a new option for xen config files for
directly mapping hardware io memory into a vm.
Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
index 013270d..428da21 100644
--- a/docs/man/xl.cfg.pod.5
+++ b/docs/man/xl.cfg.pod.5
@@ -496,6 +496,17 @@ is given in hexadecimal and may either a span e.g.
2008 May 21
2
[LLVMdev] DebugInfoBuilder?
Are there any utility classes, similar to IRBuilder, for creating source
level debugging info?
-- Talin
2008 May 21
0
[LLVMdev] DebugInfoBuilder?
I don't think so. Contribution welcome! :-) LLVM debugging support
isn't anywhere near where it needs to be.
Evan
On May 20, 2008, at 9:53 PM, Talin wrote:
> Are there any utility classes, similar to IRBuilder, for creating
> source
> level debugging info?
>
> -- Talin
>
> _______________________________________________
> LLVM Developers mailing list
>
2006 Mar 21
7
Nuube Sequence problem
In my database the id for a field is 810. RoR thinks that it is 809.
My log file (below) shows that just before the insert it grabs the next
sequence value. I dont think it should do that. This causes problems
further down the line when trying to access the Person object.
Development Log file :
"SQL (0.016000) select people_seq.nextval id from dual
Person Create (0.015000) INSERT
2012 Feb 06
0
destroy snapshot vs. destroy incomplete snapshot
Recently I had a system with an incomplete snapshot. The
destination system hung in the middle of a zfs recv. It ended up
taking about 75 GB of kernel memory to destroy that incomplete
snapshot. Yet destroying another copy of that same snapshot took less
than 6 GB of memory.
Does a destroy of a snapshot take a different path through the
code than destroying an incomplete snapshot (as part of
2008 Nov 20
0
Elastix workshop in Toronto; Wed Nov 26th, 2008
This Wednesday, November 26th, the Toronto Asterisk Users Group invites
all in the area to join us for a telephony workshop and talk sponsored by
Sangoma Inc.[1]
Jose Landivar, co-founder of PaloSanto Solutions[2], creators of Elastix,
will be running a "getting started" workshop on Elastix, followed by a
talk discussing how it differs from other Asterisk-based distributions,
and a
2002 Sep 24
1
Linux Kernel crash on S390
Hi,
I was hoping some one may be able to help with a problem I have.
If I try to modify/write to a share from a windows 2000 desktop (through
windows explorer or through command prompt) then Linux crashes with the
following error.
kernel BUG at fcntl.c:417!
illegal operation: 0001
CPU: 0
Process smbd (pid: 347,
2012 Jun 18
1
Restore destroyed snapshot ???
OK, I am a butt-head and accidentally destroyed my last snapshot of a
replicated ZFS dataset. The dataset is NOT mounted and other than a
resilver going on, there is no I/O going on to this dataset. Is there
any way to roll back and get my latest snapshot back?
from zpool history -i:
2012-06-18.10:34:00 zfs destroy xxx at 1339668001
2012-06-18.10:34:00 [internal destroy txg:2213852] dataset =
2012 Apr 04
10
[PATCH 0 of 2] libxl: add libxl_domain_config_init
The following series implements libxl_domain_config_init as per the
libxl API requirement that each type has an init function.
The first function does this in an open coded manner and is proposed
for Xen 4.2.
The second function is RFC only since it moves the definition of this
type into the IDL and makes the required infrastructure updates to
enable this. I think this is more 4.3 material at
2006 Mar 03
0
Important Statement to Review for Signing
(Seems to me that Icecast folks would be particularly concerned
about this. Please consider the following, lend your signatures,
and also *send it on* to appropriate interested parties. If you
are a blogger or know clueful bloggers, please try to have it
posted in a highly visible forum. -- Seth Johnson)
Hello folks,
Please review the important joint statement below, related to the
WIPO