> No.  The problem is that your double-quoted string contains double
> quotes!

It contains double-quotes but they are escaped aren't they ?

> There are quoting constructs that would do the trick.  But you have a
> bigger problem: you really shouldn't be doing this in the controller.
> Rendered JS, like rendered HTML, belongs in the view.

In fact this code isn't print in my HTML but in the HTML of another
website, thiat is why it is in a controller and not a view

Thanks,

Lucas

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to