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
> 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/.
--~--~-~--~~~---~-
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
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
4 matches
Mail list logo