On Sep 4, 11:24 am, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:
> bgumbiker wrote:
>
> [...]
>
> > It seems that 'gsub' thinks that its argument (flash.delete(:notice))
> > is an array....??
>
> And is it?

No it is a string. As in my initial post if I remove escape_javascript
then the code works fine.

>
>
> > Any suggestion??
>
> Check to make sure that the argument contains what it's supposed to.
>
>
>
> > Thanks,
> >bogumbiker
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> [email protected]
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to