Web 2.0, Ruby, Rails, TDD, BDD, rSpec, XMPP, BOSH, REST, Javascript, Ajax, Google Maps API, Google Gears API, CSS, Java, C#, Social Network, RMagick, Nginx
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.
Why is this - do you know? And what server is the request sent to?
ReplyDeleteCheers
It will request to the same page.
ReplyDeleteThanks