Displaying 20 results from an estimated 1000 matches similar to: "auto_complete galore"
2010 May 05
0
Auto_complete with has_one association
Hi,
Have an issue with the rails auto complete, it works fine but I don''t
know how to find the id element search in the textfield.
Here is what I''ve done:
<%= text_field_with_auto_complete :user, :ville_name, { :size => 15 },
{ :url => formatted_villes_path(:js), :method => :get, :param_name =>
''search'' } %>
Model:
class User <
2010 Mar 19
2
auto_complete plugin on rails 2.3.5
Hi, this is my first post.
I have run:
$ ruby script/plugin -v install auto_complete
but the result is:
Plugin not found: ["auto_complete"]
#<Errno::ENOENT: No such file or directory - /dev/null>
I have also try to run:
$ ruby script/plugin -v list
and the result is:
Discovering plugins in http://dev.rubyonrails.com/svn/rails/plugins/
/CHANGELOG
/account_location/
2008 Dec 25
5
Plugin auto_complete
Hi all !
I began to develop Rails applications with Aptana Radrails under
Windows. For that I had successfully installed auto_complete plugin and
succeeded to use it.
Now I have an iMac and I''m trying to restart my developments under OS X.
My problem is: when I run the command ''script/plugin install
auto_complete'', the result is:
Plugin not found:
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was
designed to deliver.
My problems seem to be two fold.
1 - I use aggregations on
names... :first_name, :middle_initial, :last_name and then aggregate
them using a composed_of :wholename thing
auto_complete_for seems to be wired to only use table columns directly
and gags on the aggregate form.
2 - foreign table columns -
2006 May 04
1
auto_complete works sometimes...
Hello All:
I have set up an auto_complete search field within my application
controller and application layout so that it is available to all pages
in my app. I have run into a snag with this in two projects I am working
on where it won''t work on one particular page related to a specific
controller.
I get a No Method error on the column name referenced in the
auto_complete
2006 May 26
0
Seeking complete example/plugin of simple usage of Lookup (auto_complete) for making associations on models
I think the second most useful usage of the auto_complete is for editing relations (associations).
I''ve searched for almost a week on all RoR resources but I didn''t found any solution to this problem. Instead I''ve discovered that there are many looking for this.
I think that this problem must be clearly solved and the clear how-to should published on one-more RoR
2006 Jan 26
0
auto_complete with 2 related tables
I''m looking for a wiki / example of how to use auto_complete with 2
different tables so you can use the values in the column of one table to
provide a value for a column in a related table.
This concept apparently comes after my Agile book and is important to me
and I would think should be important to others and I simply cannot make
it work.
Anyone have a reference they can point me
2007 Oct 09
0
auto_complete :on_show :on_hide
Hi,
Trying to use the auto_complete options of :on_show and :on_hide....
......, :on_hide => "function(element, update)
{allow_change_control(true);} "
but when I do this it runs my js function but the div doesn''t hide.
I would like the auto_complete to work normally and just run a js
function which sets a js variable.
Any suggestions
Thanks
2006 Feb 11
1
auto_complete
hi guys
I am trying to work the AJAX text_field auto_complete and I was
wondering if someone can show me a sample code of how it works
thanks I really appreciate it
--
Posted via http://www.ruby-forum.com/.
2006 Jun 21
3
Is this a weird bug with auto_complete?
I think I may have found a bug with the auto_complete feature in rails:
My controller has a before_filter with an except clause preventing the
filter from running on a specific action. The action renders a view with
a text_field_with_auto_complete field. Much to my suprise, the filter
appears to run when I type data into this field! The filter is part of
my security regime, so I end up with a
2006 May 18
0
auto_complete when tab pressed problem
Hi,
This is probably as much a script.aculo.us issue as much as a Rails one.
The default behaviour of the AJAX auto_complete control seems to be to
select the first match from the list when tab is pressed. Is there a way
to configure the control to leave the typed text unchanged when the user
types tab and just move the focus to the next control in the form?
Thanks,
Geoff
--
Posted via
2006 May 31
3
textfield_with_auto_complete - filling two fields
I am going nuts here..
I have a form where users can write a city name (used with
auto_complete) - and once they click on the desired city in the dropdown
menu - I would like to have the Country field filled automatically as
well...
Is this possible at all ?
If so, can somebody please tell me where I can find some documentation
on the subject, or preferrably an example ?
Many thanks in
2010 Jan 25
1
MYSQL grammar diff in 1.6.2.1?
hi, dear all
MYSQL commands work well in 1.4.28 edition, but not in 1.6.21
is that the grammar is different between them?
extensions.conf
exten => s,2,MYSQL(Query resultid ${connid} SELECT\ callerid\ from\
blacklist\ where\ companycode = ${ARG2} and callerid=${ARG1} and
blockenabled = 1)
cli:
-- Executing [s at macro-checkblacklist:2] MYSQL("SIP/1003-00000006",
"Query
2006 Dec 12
0
problems with variable updated from observer
hello,
just stuck with the following problem:
in my view a select updates with an observer a variable in the
controller.
works fine.
---
<%= select(''filter'', ''rolle'', Rolle.auswahl_systemrollen) %>
<%= observe_field :filter_rolle, :url => {:action =>
"update_pers_rolle"}, :with => ''filter_rolle'' %>
---
this is
2008 Jun 12
11
auto_complete with multiple params
I''m using the auto_complete plugin, and it works great, my problem is i
need to pass multiple parameters to the controller other that what is
typed in the text field.
<%= text_field_with_auto_complete :search, :contains, :size => 15,
:frequency => 0.1, :skip_style => true -%>
This is what i have as of now, but i also need to pass ":language =>
@default"
2007 Apr 21
0
Auto_complete
Hi Guys,
Am building an app in rails1.2.1 and wanted to use the auto_complete.
So i have it set out as follows.
# view
<%= text_field_with_auto_complete :contact, :first_name %>
# controller
auto_complete_for :contact, :first_name
But this is all l get
NoMethodError in ContactsController#index
undefined method `auto_complete_for'' for #<ContactsController:
0x3384570>
2005 Oct 07
0
benchmarks galore...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
[cc'ing 4 mailing lists, please reply to *one* list only!]
hi,
every now and then i'm running some benchmarks on filesystems i really
use...here are the results:
http://nerdbynature.de/bench/prinz64/2.6.14-rc2-mm2/bonnie.html
http://nerdbynature.de/bench/prinz64/2.6.14-rc2-mm2/
may it be of some help....
thanks,
Christian.
PS:
2005 Apr 21
0
benchmarks galore...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[cc'ing 4 mailing lists, please reply to *one* list only!]
hi,
i was about to set up a new fs for my desktop machine and i could not
decide which fs it should be. i've written a wrapper script for some
benchmarks before, but it was not really good. i tried to rewrite it and
so, here are the results:
http://nerdbynature.de/bench/
2006 Jun 18
3
on change of drop down a textfield emerging
hi,
i have a situation where i have a list of options from which a user selects
his options if its not in the list he/she selects Others/Not Present and a
new textfield should pop up and the data entered there should be considered
instead of dropdown.
i have done this using javascript/dhtml but i was wondering how this can be
done using pure rails i.e using some of the RoR apis?.
i would
2007 May 29
0
Migration from tpop3d to dovecot - troubles galore!
Hi people,
I am trying to migrate some users from tpop3d (Maildir mailboxes) to
dovecot. The most important aspect of this migration, and which I
cannot seem to get right, is to first be able to make dovecot to
authenticate against the current DB being used by tpop3d so that
I can use imapsync to transfer the user mails. And I do believe
that is what I am unable to get right!!
So here goes what