Rails auto_complete "undefined method` auto_complete_for '" problem

rails → 2.3.8 ruby ​​→ 1.8.7

After installing the auto_complete plugin, I still have the "undefined method` auto_complete_for" problem!

Andrey-Bezruks-MacBook-Pro: eyeonasia.stage wizeflux $ ruby ​​script / install plugin http://github.com/rails/auto_complete.git --force svn: '/ Users / wizeflux / Projects / ionasia / eyeonasia. stage / vendor / plugins' is not a working copy of the Initialized Empty Git Repository in /Users/wizeflux/Projects/ionasia/eyeonasia.stage/vendor/plugins/auto_complete/.git/ warning: the depth option is ignored for github.com/rails /auto_complete.git

From github.com/rails/auto_complete * HEAD branch → FETCH_HEAD Andrey-Bezruks-MacBook-Pro: eyeonasia.stage wizeflux $

after rebooting the server, I get the error message "auto_complete_for: listings ,: name" → undefined method `auto_complete_for 'for #

+3
source share
1 answer

Try with the git address: and also try it without the extraforce and svn options, see if the problem is causing it.

script/plugin install git://github.com/rails/auto_complete.git
+1
source

Source: https://habr.com/ru/post/1750618/


All Articles