no body ever met this situation?

On Jun 19, 1:48 am, ruxpin <[email protected]> wrote:
> Dear all:
> I got the  error in my rails 2.2.2 project on ma os x leopard. i did
> as follow:
> script/plugin install auto_complete
> but when i start the server and try to approach the page which used
> the auto_complete, it can't find the helper method as the error  told:
> "undefined method `text_field_with_auto_complete' ",  than i try this
> in script/console
> helper.methods
> i check the list and "text_field_with_auto_complete" can't be found,
> so i try
> helper.extend(AutoCompleteMacrosHelper)
> than it shows in the helper.methods list
> but i don't know how to fix this problem
> btw: auto_complete_for is in ActionController::Base.methods, i guess
> it must have something to do with second line in the init.rb, since
> first line get his jod done
> /auto_complete/init.rb
> ActionController::Base.send :include, AutoComplete
> ActionController::Base.helper AutoCompleteMacrosHelper
>
> could any body kindly tell me how to fix it(or what did i do wrong),
> thx.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to