Displaying 20 results from an estimated 5000 matches similar to: "Reload instance data on instantiate"
2005 Sep 06
6
strange behavior of acts_as_taggable
I was testing my models with this new library and I got:
>> s.tag "warp"
ActiveRecord::StatementInvalid: ERROR: inserción o actualización en la tabla
«tags_stories» viola la llave foránea «tags_stories_story_id_fkey»
DETAIL: La llave (story_id)=(8) no está presente en la tabla «stories».
: INSERT INTO tags_stories ("tag_id", "story_id") VALUES
2006 Dec 15
3
Problem Joining an XP CPU to Samba Domain
Hello,
I have an XP (SP2) CPU that has just been reloaded with the OS (hard drive
was reformatted).
The NIC works and I can access the Internet with no problem.
When I join the CPU to the domain (there are many other CPUs already on this
domain), it joins.
After the mandatory reboot, if I try to log in using a domain account, I get
an error saying the username and password are incorrect. I
2005 Oct 21
0
[RFC] Multi-language rails
I''ve started working on rails translations and localization.
My first notes are at
http://wiki.rubyonrails.com/rails/pages/RailsLocalization
First doubt:
ri18n uses functions like _(), _i(), or n_() to mark translatable strings. We
need to mark some of these in ActiveRecord and maybe another components of
the framework. Since the translation framework is initialized by railties,
this
2006 Jan 20
1
XMLRPC::DateTime from AWS
When I do an XMLRPC webservice call to retrieve a single Product, my
DateTime fields in the products table do not get converted to a valid
DateTime value, but remain as XMLRPC::DateTime structures.
So, say my webservice call is:
@product = @aws.get_product(1)
Then my @product object looks like this:
name: My product
last_updated: #<XMLRPC::DateTime:0x37c5338>
description: This is my
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client
and by project. There''s a Windows application that allows me to do this, but
I''m looking for a cross-platform solution.
I looked at ConsultComm but it wouldn''t install on my Mac. Rather than
rewriting what seems like a commonly-required app, I wondered if anyone else
had something they
2011 Sep 02
3
[LLVMdev] LLVM: Cannot instantiate JIT execution engine
Hi, guys.
Have a strange problem with LLVM in my project (
https://github.com/ababo/AntOS). Cannot instantiate JIT execution engine
(NULL returns; message: Interpreter has not been linked in.). As you can see
from the code I call InitializeNativeTarget. Also I tried to directly
include the "llvm/ExecutionEngine/JIT.h" header, but with no success. I link
with `llvm-config --ldflags
2006 Jun 23
1
instantiate record in single table inheritance
Hi,
is there a way to instantiate a _concrete_ subtype from within an
ActiveRecord collection?
Example:
class Link < ActiveRecord::Base
end
class InternalLink < Link
end
class ExternalLink < Link
end
internal_link = my_navigation.links.create_[xxxxxxx]
external_link = my_navigation.links.create_[xxxxxxxx]
the [xxx] is what I am missing...
I could do this
external_link =
2015 Jan 29
0
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
Hi Eric,
as I was working on the same issues that are covered in your patch I also made a change in clang driver to pass this option to the assembler. Could you please review it and tell me your opinion?
http://reviews.llvm.org/D6091
Thanks
Vladimir
________________________________
From: Daniel Sanders
Sent: Wednesday, January 28, 2015 8:59 PM
To: Eric Christopher; Vladimir Medic; llvmdev at
2011 Sep 03
1
[LLVMdev] LLVM: Cannot instantiate JIT execution engine
Isn't there someone to help me with this issue? I'm very upset about this
stupid problem which wasted the whole day. BTW, I can create JIT from
main.cpp, but not in the required source file (runtime.cpp), so this is not
about linking. Very weird.
2011/9/2 Semion Prihodko <semion.ababo at gmail.com>
> I cannot call the constructor explicitly, because ForceJITLinking is a name
2011 Sep 03
0
[LLVMdev] LLVM: Cannot instantiate JIT execution engine
I see two problems in your code
1) you need to #include "llvm/ExecutionEngine/JIT.h"
2) you must pass an empty string to EngineBuilder::setErrorStr. See
JIT::createJIT for the reason.
Jeff
On Sat, Sep 3, 2011 at 8:33 AM, Semion Prihodko <semion.ababo at gmail.com> wrote:
> Isn't there someone to help me with this issue? I'm very upset about this
> stupid problem
2015 Jan 28
3
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
Hi Eric,
The main thing we need to fix is that the selection between ELF32/ELF64 needs to depend on the ABI being N64 and not on whether we used a mips-linux-gnu triple versus a mips64-linux-gnu triple. So 'clang -target mips-linux-gnu' -mips64r2 -mabi=64' should produce an ELF64 and 'clang -target mips64-linux-gnu -mips32r2 -mabi=32' should produce an ELF32. In terms of code,
2008 Apr 01
1
Navigation Problems
Hi,
I am having problems with my page. I have a banner and navigation bar in
controller_name.rhtml in app/views/layout. Can someone please help?
Thanks
In the navigation bar, I have the following links:
Category1
Sub-Category1
Sub-Category2
Sub-Category3
Sub-Category4
Sub-Category5
Sub-Category6
In the main content, I have the following links:
Sub-Category1 edit delete
2009 Feb 19
0
Can't seem to instantiate Builder::XmlMarkup.new?
I am unable to instantiate the Builder::XmlMarkup.new on one
development machine ( Windows ) and upon my CentOS server. When I run
the same code on my Ubuntu 8.10 VMWare machine, everything runs great?
In the Builder documentation ( http://builder.rubyforge.org/ ) it
shows to put this at the top of the controller;
require ''rubygems''
require_gem ''builder''
but
2006 Nov 28
1
link_to and url_for in ActionMailer
I am new to ActionMailer and having a problem.
I want to be able to send a notification e-mail when a new item is added
to a list. Sending an e-mail to the right people on creation is working
fine.
However, I want to include in the e-mail a link to the application so
that users can click on the link in the e-mail and immediately be taken
to the show view for the new item. When I add a link_to
2012 May 04
1
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
Hello,
I am working on a tool which takes c++ header files and based on interfaces defined in them generates csharp classes and glue layer for interop. For analyzing the c++ code I am currently using clang, which parses the headers and writes output into xml via -ast-print-xml (yes, this unfortunately means that it is a very old version of clang). I then use these xml files to generate the csharp
2015 Jan 27
2
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
Hi all,
we have several features in Mips that are dependent on target abi. A recent commit(r224492) introduced a new -target-abi option to TargetOptions struct that provides access to abi string. This info is stored in MCSubtarget class(ARMSubratget in this case) and distributed to other libraries. Unfortunately, for Mips we need this info in other classes that don't have access to MCSubtarget
2007 Apr 17
1
[LLVMdev] Instantiating the new Instructions from CallInst Class
Hello All,
I'm developing timing analysis tool using LLVM.
After several analysis phases, I want to instantiate several
instructions in the basic block.
Instructions that I try to instantiate are like below;
call void (int)* %waitABC(int 10)
%tmp = call int (int, int*)* %doABC(int %i, int* %total)
I think I should use 'CallInst' class in 'Instructions.h' file.
How I could
2012 May 07
0
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
Is the original definition of the template available in the XML file, not
just the reference to the specific instantiations (i.e.
IMyEnumerator<int>).
On Mon, May 7, 2012 at 12:08 PM, Ondrej Kolacek <natris1 at gmail.com> wrote:
> (another try from different mail account; I hope I was able to clarify
> my issue better. )
>
> Hello,
> I am working on a tool which takes
2006 Apr 28
0
Add extra data to objects in an instance variable?
I am building an issue log with models:
issues (belongs_to :user, has_many :comments)
comments (belongs_to :issues, belongs_to :user)
users (has_many :comments, has_many :issues)
In the list view for the issues I wanted to print the time it was last
updated. This should come from the most recent comment added, or if
there are no comments added we fall back to the creation time of the
issue:
2012 May 08
0
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
My gut tells me that if it isn't already available, then it will
be difficult as the instantiation has to occur for the final compilation,
but that must be occurring in a later phase of compilation than the one
where the XML file is generated. Their is also a good chance that the
instantiation depends on information that isn't available until after the
XML file is generated (things like