I am using jQuery for all ajax stuff and recently got following error:
ActionView::TemplateError (private method `gsub’ called for #<Array:
0x2425ae8>) on line #1 of…
and the code where it happens:
It seems that ‘gsub’ thinks that its argument (flash.delete(:notice))
is an array…??