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:

Marcus Westin said...

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

Cheers

chamnap said...

It will request to the same page.
Thanks

Subscribe in a Reader