[Rails] Re: Autocomplete plugin with Rails 2.0

2009-02-07 Thread Ferit Öztosun
Tanks Elad Roz Attachment: auto_complete_macros_helper.rb (7,6 KB) your attachment it s work perfectly -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Ta

[Rails] Re: Autocomplete plugin with Rails 2.0

2009-02-06 Thread Gerrit Lewedag
> use :except instead of :exclude > > => protect_from_forgery :except => [:auto_complete_for_tag_name] http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection/ClassMethods.html#M000493 -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~-

[Rails] Re: Autocomplete plugin with Rails 2.0

2009-02-06 Thread Gerrit Lewedag
Eric Pugh wrote: > I tried out adding the exclude line: > > protect_from_forgery :only => [:tag] > > However, it seems ugly that I have to add each method manually. I > tried > > protect_from_forgery :exclude => [:auto_complete_for_tag_name] > > but that didn't work. Is this oddness

[Rails] Re: Autocomplete plugin with Rails 2.0

2008-09-05 Thread Ricardo Gutiérrez
Bala Paranj wrote: > I installed the auto_complete plugin found at > http://svn.rubyonrails.org/rails/plugins/auto_complete. When I type a > character in the autocomplete field I get the following error: > > Processing EventsController#auto_complete_for_event_location (for > 127.0.0.1at 2007-10-2