Tuesday, December 18, 2007

Double Request in RoR

Notice that when you have <img src="" /> in your view, it will double request to the server. Should be careful about this. Don't ever the src attribute of the img tag to blank.

2 comments:

  1. Why is this - do you know? And what server is the request sent to?

    Cheers

    ReplyDelete
  2. It will request to the same page.
    Thanks

    ReplyDelete