Displaying 20 results from an estimated 9000 matches similar to: "Multiword autocompletion"
2006 Dec 21
5
Advice with Model tests
Hi!
I''m developing a rails applicaton with specify-before approach, with
nice results so far.
I use mocks and stubs in both Controller and views tests, but the main
issue is with model testing. Since I''ve seen many examples here and
there, I don''t know if the right way is to use fixtures or not at all
(in model specs).
Atm, I''m using them, but I
2012 Jul 06
1
multiword synoyms
I am using synoyms and cannot determine how to use them in following
example:
$db->add_synonym('Zfoobar','Zfoo Zbar')
or
$db->add_synonym('Zfoobar','Zfoo AND Zbar')
Or is this general not possible?
MfG
Felix
2007 Aug 27
2
Testing arbitrary SQL
Hi,
I would like to know how would you test a method in a model that uses
complex a SQL query that joins several tables in order to make a
calculation.
I suppose that I need fixtures, although my approach with rspec is to
avoid fixtures and isolate model specs, but none of both seems
possible in this case. Is there another way than fixtures?
Thanks.
2005 Dec 22
4
advice on MySQL version
I am going to start a project from scratch with MySQL. Is it a good
idea to go ahead with MySQL 5? Is there any gotcha with that version
as of today?
-- fxn
"We all agree on the necessity of compromise. We just can''t agree on
when it''s necessary to compromise."
-- Larry Wall in comp.lang.perl
2005 Dec 16
2
Shared code for controllers
Hi,
I think that this is made from a plugin or something in /lib/, but i really
don''t know which is the better way:
I have this in my MediasController:
def mediatype_medias_options
if params[:id]
begin
@mediatype = MediaType.find(params[:id])
render :inline => "<%= options_from_collection_for_select @
mediatype.medias, ''id'',
2006 May 23
3
comma separated autocompletion, like in Google Bookmarks, GMail, ..
Hi list,
Hi all,
In Google Bookmark and GMail -f.ex.-, autocompletion would help you
enter multiple values in 1 field, separated by commas.
Is there such a solution available somewhere?
This is necessary for the acts_as_taggable plugin, to let people enter
many tags in one file
ex: "rails, ruby, plugin"
but with the help of some AJAX magic. Without it, people have no clue
about
2006 Aug 16
5
Autocompletion
Hi there!
I may be guilty of not doing my homework, but still, I've searched. I'm a
relative newcomer to R (my forte is at present MATLAB, but for various
reasons I'm trying to get literate in R). My question is: Is there an
autocompletion feature buried somewhere in R?
All the best
Óttar
[[alternative HTML version deleted]]
2005 Dec 16
1
jedit rhtml autocompletion
Does the jedit ruby plugin have rhtml autocompletion??? (autocompletion
of embedded ruby code and html tags...)
thanks.
2006 Jul 22
1
InPlaceEditor with Autocompletion
Hi
Rails AJAX controls are very handy, and the InPlaceEditor is probably
one of the easiest and most neat of them all. But, it doesn''t do
autocompletion. I''ve rectified that situation. The plugin provides a few
new helpers and a new JavaScript-file that extends the
Ajax.InPlaceEditor with local and remote Autocompletion features. So,
just install the plugin, include the
2006 May 02
0
Self-referential MtoM implementation
ok, guys i have followed the self referential recipe from the book it
works perfect but now i have some doubts, at the end the model are
modified to force the user beign added as a friend that add too who are
adding him so how i can make that the full relationship doesn?t be
complete until the friend beign added approves it(talking in the
implementation of the code of course)?
by the way,
2023 Mar 31
1
Autocompletion for the new S3 generic @ method?
Hello,
In the current R-devel @ is S3 generic, so we can do things like - for example - use it to extract matrix rows by name:
.S3method("@", "mm", function(object, name) object[name,])
m <- structure(matrix(rnorm(20), ncol=2), dimnames=list(paste0("row", 1:10), paste("col", 1:2)), class="mm")
m at row1
However, seems like
2006 Jun 02
5
scriptaculous autocompletion LIMIT and ajax vs. local
Hi,
I am using scriptaculous ajax autocompletion (not local autocompletion).
I have 2 questions:
1 - The database query being sent to the server always has LIMIT 10. I
don''t want to have a limit, but I just can''t for the life of me find
where this limit is set in the code. I did see "choices: 10" in
controls.js but that''s for autocompleter.Local, which I
2006 Oct 22
1
Rails association and multiple indexes
Hi!
If I have two models, Product and Manufacturer, of course Product
belongs_to :manufacturer.
A search engine would allow a user to look for a product by its name or
manufacturer. Is it better to define a method like:
def searchable_field
"#{name} #{manufacturer.name}"
end
and add it as indexable field (acts_as_ferret :fields =>
2006 Mar 08
0
Autocompletion for <SELECT>
[note: I sent this note to Spinoffs with no takers. Hoping someone
here has some advice. Thanx. Jodi]
Greetings all.
I am looking for an ajax-a-fied select box (single select).
Unlike the autocompleter for a text field, it would restrict the
entry to only those entries returned.
Ala Ticket #2586 [ http://dev.rubyonrails.org/ticket/2586 ]
"Essentially an autocomplete that only allows
2006 Mar 06
0
Autocompletion for <SELECT>
Greetings all.
I am looking for an ajax-a-fied select box (single select).
Unlike the autocompleter for a text field, it would restrict the
entry to only those entries returned.
Ala Ticket #2586 [ http://dev.rubyonrails.org/ticket/2586 ]
"Essentially an autocomplete that only allows values from a list.
Might even be fed by a regular select tags (with options), or by an
AJAX call.
2006 Jan 31
0
autocompletion key value
Hi Guys,
I guess someone has done this before...
I need to use autocompletion to look up a list of values (think car
brands)
However, in the model I save the id of the brand, not the description.
(its not an option to lookup the id using the description after submit)
Has anyone done something like this?
I guess something with a hidden field or something could do the trick..
thanks in advance
2007 Jan 11
0
Scriptaculous Autocompletion Bug.. (scrollbar)
Hi,
Going thru autocompletion results (using arrows) makes page move.
See here:
http://joost.glasch.nl/moving_autocompletion.mov
The page scrolls (moves) when you use the up-arrow & there is a
scrollbar on the page.
This happens in FireFox 2, IE7, etc..
The movie shows the function test comming with scriptaculous, it
happens when you make your browser window smaller (as in movie) but
also
2017 Oct 26
2
Autocompletion support for llvm opt flags
Hi all,
Thank you for your feedback at the dev meeting.
We are planning to add --autocomplete flag to llvm-opt, which enables us to
make a new command-line autocompletion for opt when -mllvm is provided to
Clang command invocation.
There are command-line option's namespace opt::cl in CommandLine.cpp, which
provides useful function for parsing options. However we also have OptTable
in
2023 Apr 01
2
Autocompletion for the new S3 generic @ method?
I agree, this is a good idea and would be very helpful in interactive contexts.
I have a draft patch implementing this feature here: https://github.com/r-devel/r-svn/pull/122
(Append ?.patch? to the URL to get a raw patch.)
Regards,
Tomasz
> On Mar 31, 2023, at 2:11 PM, Karolis K <karolis.koncevicius at gmail.com> wrote:
>
> Hello,
>
> In the current R-devel @ is S3
2011 Nov 21
1
[PATCH] Add MD devices to guestfish device autocompletion
---
fish/destpaths.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-MD-devices-to-guestfish-device-autocompletion.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20111121/b667596b/attachment.bin>