I tried installing the plugin and it told me it was already installed
but when i go to use it it tells me:
undefined method `auto_complete_for' for AdminController:Class
Here is how i have added it:
class AdminController < ApplicationController
before_filter :check_authentication, :check_authorization
auto_complete_for :user, :username
/other code/
end
Any thoughts?
fxn
(Xavier Noria)
2
I tried installing the plugin and it told me it was already installed
but when i go to use it it tells me:
auto_complete, right?
undefined method `auto_complete_for' for AdminController:Class
Here is how i have added it:
class AdminController < ApplicationController
before_filter :check_authentication, :check_authorization
auto_complete_for :user, :username
/other code/
end
Any thoughts?
Have you restarted the application?
I did restart the application. It still did not work.
here is the plug-in i want to use:
http://www.railslodge.com/plugins/743-auto-complete
does this come installed on the latest Rails?
fxn
(Xavier Noria)
4
Nope, you need to install it
script/plugin install auto_complete
-- fxn