Does anyone have any success stories they can share regarding
implementing auto-complete in a Rails 2.3.2/jQuery environemnt?
I’m not looking for “how to do it.” I’m seeking recommendations or
pointers to gems or plugings you have had success with.
Google turns up soooo many results I thought it would be smart to get
some “qualified leads.”
Briefly:
for a contact management/scheduling app for the photo studio I work
for…
I had initially considered the app to revolve around a “contact.” By
that I mean I had considered “contact” the single most important unit.
We deal with individuals, even though they happen to work for
companies.
Thus, I had initially included “company” as an attribute of “contact”,
no more or less important than an attribute such as “first_name.”
It is gradually occurring to me that “company” should be a model
itself.
So company has_many contacts and contact belongs_to company. That way
I will be able to reference all the assignments we have done for a
company in the same way that I can now reference all the assignments
we have done for an individual contact.
Ideally, I would like the user of the app to get an auto-complete
input field for “company” as they are creating a new contact record.
It would also be awesome for the user to be able to create a company
record from within the new contact form if there is no current record
for a given company. Does that make sense? (Presently I am imagining
the Company table to consist pretty much of just a name and id - not
very complex.)
And I wish to use jQuery because… well, because I understand jQuery
in a way I will never understand prototype, and I’m already using
jQuery extensively in my app.
So - to summarize a long post - can anyone narrow down the bewildering
options by recommending to me something that has worked well for them?
Thanks so much to any and all who have suggestions.
Steve