Displaying 20 results from an estimated 500 matches similar to: "model with type attribute"
2007 Jan 17
1
ferret and mongrel
Dear all,
Does anybody know if there''s problem with ferret running with mongrel ? I
got unpredictable segfaults. Everything works well with fastcgi instead of
mongrel.
I use ruby 1.8.5, apache 2, mod proxy, mongrel 0.3.13.4, ferret 0.10.13 and
rails 1.1.6
Thanks,
Johan
Johan Duflost
Analyst Programmer
Belgian Biodiversity Platform ( http://www.biodiversity.be)
Belgian Federal
2007 Jan 22
1
stopwords
Hello all,
Does anybody know if the word ''other'' is a special word for ferret ? I
don''t manage to index it !
Johan
Johan Duflost
Analyst Programmer
Belgian Biodiversity Platform ( http://www.biodiversity.be)
Belgian Federal Science Policy Office (http://www.belspo.be )
Tel:+32 2 650 5751 Fax: +32 2 650 5124
2006 Oct 05
1
sort
Dear all,
It seems there''s a sort bug with ferret 0.10.9 on Debian. I sort the search
results by a field which can contain null values. The string sort type
doesn''t work. If I test the values and replace null by empty strings when
indexing, it works.
Johan
Analyst Programmer
Belgian Biodiversity Platform ( http://www.biodiversity.be)
Belgian Federal Science Policy Office
2006 Feb 23
0
acts_as_tree order option
Hello all,
I''d like to order a model which acts as a tree by an attribute belonging to
an associated model.
Model A has many B.
In A, I have the declaration acts_as_tree :order => "name" where name is an
attribute of B.
Does anybody know how I can achieve this ?
Johan
Johan Duflost
Analyst Programmer
Belgian Biodiversity Platform ( http://www.biodiversity.be)
Belgian
2006 Oct 05
4
search results autocompletion
Dear list,
I ''m using a text input field with autocompletion . The suggestions come
from a ferret index which is created by getting all the terms belonging to
other indices. Here is the code:
class Suggestion
attr_accessor :term
def self.index(create)
[Person, Project, Orgunit].each{|kl|
terms = self.all_terms(kl)
terms.each{|term|
suggestion =
2003 Aug 12
2
problem with Wildcard 100XP and hangup signal
Hi,
We are currently testing Asterisk with Wildcard 100XP and serveral Cisco ATA Box. Everything works great except
that the card does not detect the hangup signal. We are using a standard Belgian PSTN line. I have not found
anything about a be zone (only us, fr, de, nl, ...). Does someone experience the same problem? Do I need to create
a new zone be (and how to do that)?
Another small
2001 Feb 15
1
newbie
I installed wine, mainly to run MS-Office, Corel WP, corel Draw end
CorelVentura
But none of these programs work (smaller programs do work) (On the Corel
website
I read all corel programs should work in wine)
Where can i find a list of errors and patches (To avoid sending useless
mails to this newsgroup)?
Thanks,
Tijl
Some info: Wine version: 20010112 OS: red hat 6.2
Here are some errors:
2006 Feb 27
4
Belgian Ruby on Rails Site
Hello,
I recently started http://www.onrails.be
Onrails.be is a Belgian Ruby on Rails site (in Dutch).
At the moment however, the site is powered by Textpattern (PHP CMS).
I already knew that, and I''m just getting to know Rails myself.
If some Dutch people visit this forum:
//message is written in Dutch from this point
-> Wat vinden jullie ervan? Is de content goed? Zijn de
2017 Mar 24
2
Problem about API difference between LLVM3.5 and LLVM3.9
Hi all,
Recently I have implemented a transformation pass based on LLVM3.5 and its
function is to duplicate the function's argument list in a bytecode file
and replace all use of original function with modified function. In
LLVM3.5, the pass can work properly. However, when I tried to transplant
the pass to LLVM3.9, the error "Argument value does not match function
argument type!"
2006 Jan 30
8
Translating a validtion flash
I''m a belgian Rails user (Dutch is my native language). I wondered if
it is possible to translate error messages (generated by validators).
I know how to create my own error messages:
def method
content
rescue
logger.error(...)
flash[:notice] = ''My own error message"
redirect_to(...)
But where can I find the validator''s .rb files, so I can change them?
2015 Dec 14
3
libreoffice 4.4 or 5 in CentOS 6
Op 14-dec.-2015 22:02 schreef Frank Cox <theatre at melvilletheatre.com>:
>
> On Mon, 14 Dec 2015 21:43:54 +0100
> Patrick Bervoets wrote:
>
> > I need the ability to make signed PDFs in LibreOffice, so I tried LO 5 and LO
> > 4.4 rpms from LO.org but they are useless (menu and toolbar are black).
> > Anyone been able to use a higher version of LO?
>
2006 Mar 23
1
Syslinux keyboard mappings
Hi,
I finally want to end the fights we have had in the past with keyboard
mappings. I already curse the person who is responsible for this keyboard
mess (and even more the persons who could have create a 'detect keyboard'
kind of functionality in modern PCs :))
But the general problem is this, BIOSes are US qwerty, Belgium uses
be-latin1 (azerty with lots of custom keys). And to
2012 Dec 30
2
[LLVMdev] Cannot interchange "literal" and "identified" structs
With primitive types, I can interchange literal usage and type aliases in
IR:
%mytype = type i32
define void @foo(%mytype* %ptr) {
%t1 = load *%mytype** %ptr
store i32 *%t1*, *i32** %ptr
ret void
}
But for structs, I cannot:
%mytype = type { i32, i32 }
define void @foo(%mytype* %ptr) {
%t1 = load *%mytype** %ptr
store* { i32, i32 }* %t1, *{ i32, i32 }** %ptr
ret void
}
2012 Jun 13
2
[LLVMdev] Structs passed by value
Hello,
I'm trying to change the default behavior for how structures are passed to functions to use pass-by-value. Currently LLVM's default behavior is to pass structures by reference. I'm not disputing the benefits of this but I really want to change the default behavior for experimentation purposes.
To this end I've changed the code in DefaultABIInfo::classifyArgumentType() to
2008 Dec 05
2
adding rows as arithmatic calculation on original rows
Dear R users,
Suppose I have the following data.frame:
myID myType myNum1 myNum2 myNum3
a Single 10 11 12
b Single 15 25 35
c Double 22 33 44
d Double 4 6 8
and I want to have new records:
myID myType myNum1 myNum2 myNum3
e Single 12.5 18
2012 Dec 30
0
[LLVMdev] Cannot interchange "literal" and "identified" structs
Justin,
http://llvm.org/docs/LangRef.html#structure-type
"Identified types can be recursive, can be opaqued, and are never uniqued."
Do you think it would be less descriptive?
"Identified type, aka named llvm::StructType, is never uniqued against
other identified types nor literal types, aka unnamed StructType(s)."
?
See also;
2006 Aug 11
2
gettext problem
Hi,
I''m a newbie to rails and find the framework very well designed.
However, I have to develop for the French and Belgian market, wich means
the primary language is french and sometimes need i18n. I started to
evaluate ruby-gettext, as it allows me to translate rails validation
errors, including model and attribute names. I follow the tutorial at
2001 Feb 26
1
Your keyboard layout was not found! ???????
I have the following error while installing the Benelux map (Garmin) :
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not
found!
Instead of using closest match (Belgian keyboard layout) for scancode
mapping.
Please define your layout in windows/x11drv/keyboard.c and submit them
to us for inclusion into future Wine releases.
See documentation/keyboard for more information.
2009 Sep 15
1
Regular expression problem
Dear R-users,
I am trying to use the grep function to test whether a particular string
is of the form "n.../mydir/myfile.mytype.myext". Anything between n and
mytype could vary, and anything after mytype could vary. I tried to
proceed by steps to build my regular expression... but I do not really
understand why the last call of the following code do not work.
Any help would be
2012 Jun 14
0
[LLVMdev] Structs passed by value
Hi,
On Wed, Jun 13, 2012 at 9:55 AM, Martinez, Javier E <
javier.e.martinez at intel.com> wrote:
> Hello,****
>
> ** **
>
> I’m trying to change the default behavior for how structures are passed to
> functions to use pass-by-value. Currently LLVM’s default behavior is to
> pass structures by reference. I’m not disputing the benefits of this but I
> really want to