Displaying 20 results from an estimated 10000 matches similar to: "Seeking complete example/plugin of simple usage of Lookup (auto_complete) for making associations on models"
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 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 Apr 28
1
auto_complete galore
List,
I''m using auto_complete with textfield, called CompanyCode. so when you
type fx ''0403'' it will show a list with matching company codes, and the
respective company name - like so:
040333 - Some company inc
040322 - Another company
040323 - whatever Corp.
Anyway, once a user selects one of the entries from the list - the whole
text (name and code) is put into
2007 Jan 19
0
About that auto-complete select box ...
Cross posted from the "RoR:Talk" board...
This is more a CSS question than a Rails one.
In AWDwR, in the script.aculo.us section talking about auto-completion,
it says
"It is worth highlighting that there is no JavaScript to enable the
arrow-up, arrow-down, highlight behavior of the list. It is enough to
provide the stylesheet above; it turns out that all <ul> tags support
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone,
I have used used scriptalicious for the autocomplete.
It works but with one problem.
When scrolling down the list, the values not visible are not scrolled
into focus.
eg I use the keyboard down or up key.
Here is my CSS
<style type="text/css">
div.auto_complete {
height: 100px;
width: 350px;
background:
2006 Jan 29
1
returned values and consequent usage
I think I can have finally reduced my problem to something somebody can
help me with.
I am using auto_complete...
specifically the form command is...
<%= text_area_auto_complete_for :case_manager :name %>
I need to use the value derived here in my controller...
If I use...
cm = CaseManager.find(:first, :conditions => "name = ''Thomas E Dewey''")
it works.
2006 Jan 28
1
finishing a lookup value
I have a form...2 tables and using auto_complete
table clients
id
case_manager_id
foreign key case_manager_id to case_manager(id)
table case_manager
id
name
my app/views/clients/_form.rhtml includes which works (finally!)
<%= text_area_auto_complete_for :case_manager :name %>
and now in clients_controller.rb
def create
@client = Client.new(params[:client])
I need to add a line to
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 <
2008 Apr 04
4
Auto Complete Problems
Hello All,
I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m
having some difficulties. When I start typing in my input box, instead
of getting a nice drop down, the styling on my page is getting all out
of wack (ie my background colours change, link styling changes, etc) and
I''m not seeing any autcompletion data. Here are the steps I''ve taken
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>
2007 Dec 11
0
[ win32utils-Bugs-16211 ] win32-service will not install/build corectly if the system has VC8
Bugs item #16211, was opened at 2007-12-10 15:40
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=16211&group_id=85
Category: win32-service
Group: Packaging
Status: Closed
Resolution: Rejected
Priority: 3
Submitted By: Sorin Sbarnea (intersol)
Assigned to: Daniel Berger (djberg96)
Summary: win32-service will not install/build corectly if the system
2007 Oct 23
6
Auto complete plugin and CSRF protection-- do you care?
Hi,
I just noticed that the auto_complete plugin does not work with the
CSRF protection in Rails 2.0. I''ve patched the plugin, but I''m
wondering if people would like to see the official plugin fixed. If
so, speak up and I will write some tests and submit the patch.
Krishna
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are