Sounds to me like you''re not using Rails 0.13+.
"auto_complete_for"
was introduced in version 0.13.0, and is part of ActionPack, so no
need for any extra inclusions.
Thomas
Am 18.08.2005 um 08:27 schrieb jacob:
> I''m trying to use the auto complete now and I get:
> undefined method `auto_complete_for'' for #<ProductsController:
> 0x40a44338>
>
> My code is:
>
> def auto
> auto_complete_for :product, :title
> end
>
> Just like in the "view source" div from the demo. Well, almost
> like it. Am I
> missing .rb library somewhere?
>
> thanks
> Jacob
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>