On Apr 19, 8:29 pm, Tom Ha <[email protected]> wrote:
> Hi there,
>
> I have a strange error:
>
> In a controller, I have a...
>
>    redirect_to :action => 'show'
>
> ...at the end. But upon code execution, Firebug tells me:
>
Sounds like you redirected to an html page but your stuff on the page
was expecting to get some javascript back (ie you were using
link_to_remote etc.. without an :update option)

Fred
>   syntax error
>   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd";>
>
> (It says that for Line 0)
>
> Does anyone have a clue what this means and where the problem lies?
>
> Just in case:
> - I have also tried to use the "loose" version in the HTML code:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>
> But it didn't change anything.
> - redirect_to a different :action works.
>
> Thank you for any help with this!
> Tom
> --
> 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