Auto_complete_for

Hi.

The call to auto_complete_for in the controller takes the model, and the
field to search in
that model, as arguments. But what if instead of a model, i want to
search through an array located inside one of my methods in my
controller, would i address it like this: auto_complete_for
:method_name, :field_to search?

Advice?

On 8/22/06, Eddie S. [email protected] wrote:

Advice?

Take a look at the documentation on caboo.se for the auto_complete_field
and
associated functions.

Basically, you’ll need to define an action that will return the desired
entries when they are requested
via XHR.

Matt J.
[email protected]
President/Technical Director, Acme Art Company (acmeartco.org)

Matt J., I appriciate your looking at this.

Matt J. wrote:

On 8/22/06, Eddie S. [email protected] wrote:

Advice?

Take a look at the documentation on caboo.se for the auto_complete_field
and
associated functions.

Basically, you’ll need to define an action that will return the desired
entries when they are requested
via XHR.

Matt J.
[email protected]
President/Technical Director, Acme Art Company (acmeartco.org)