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? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Sep 1, 2008 at 12:44 AM, tashfeen.ekram <tashfeen.ekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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? On Mon, Sep 1, 2008 at 1:41 AM, Xavier Noria <fxn-xlncskNFVEJBDgjK7y7TUQ@public.gmane.org> wrote:> > On Mon, Sep 1, 2008 at 12:44 AM, tashfeen.ekram > <tashfeen.ekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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? > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Sep 1, 2008 at 6:24 PM, Tashfeen Ekram <tashfeen.ekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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?Nope, you need to install it script/plugin install auto_complete -- fxn --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---