Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95
This Dreamhost support thread was started by mhgoodmike on 2009-04-06 12:54:54:
Post Reply? I asked DH support about this, but they hold that it’s application-specific, so here goes. I have a Ruby on Rails app that sometimes sends text back to the client for use by Ajax scripts. The text is just supposed to be placed in an element. To make a simple example of this, I added this method to a controller: def test render :text => “foo” end I have a public and a staging version of my app. The staging app runs on the goober server, which incidentally runs Ruby 1.8.5. Rails version is 2.1.1. On goober, calling this action puts “foo” on the screen. Yay. My public version of the app is on starfox. Ruby 1.8.7. Rails 2.1.1 again. Same code. But when I call my test method from the browser, nothing is displayed as a result. Firebug in Firefox claims it got 3 bytes worth of response (the char length of “foo”, and yes I’ve varied the return string and Firebug faithfully reports the correct length of response), but there seems to be nothing there. When I call this from Safari, I get “bad server response” (NSURLErrorDomain:-1011), which, from searching on Google, means Safari doesn’t know what just happened to it. Anyone seen anything like this? Nothing else seems to be wrong with my app. It’s just the behavior of render :text.
Join in on the original post at the Dreamhost Forum, Apply for a Dreamhost Account or view our Dreamhost Review.
Related Web Host Reviews
Hosting Discounts
All Hosts
- 1&1
- A Small Orange
- Aplus
- Bluehost
- BurstNET
- CalPOP
- CariNet
- CheapVPS
- DailyRazor
- Dreamhost
- DynDNS
- Eapps
- EasyCGI
- Eleven2
- Elief
- Engine Yard
- Exmasters
- Fastservers
- Fat Cow
- Fluid
- Fused Network
- Future Hosting
- Geek Storage
- Globat
- GoDaddy
- GoGrid
- Good Avocado
- HiVelocity
- HostDime
- Hostgator
- HostICan
- Hostmonster
- HostV
- HostWay
- ICDSoft
- InMotion
- iWeb
- IX
- Joyent
- JustHost
- KnownHost
- Laughing Squid
- Layered Tech
- Limestone Networks
- LiquidWeb
- Litespeed
- LunarPages
- Media Temple
- Micfo
- MidPhase
- Mosso
- Myriad Network
- NetDepot
- Netfirms
- Peer1
- ProVPS
- Rackspace
- Razorservers
- ResellerZoom
- Right Scale
- SeeksAdmin
- Servage
- ServerBeach
- ServerPronto
- ServINT
- SilverRack
- Singlehop
- SiteGround
- Slhost
- Slicehost
- Softlayer
- SolarVPS
- Steadfast Networks
- TekTonic
- The Planet
- TheNYNoc
- Thinkhost
- Ultra Hosting
- Ultra Website Hosting
- Umbra Hosting
- URLJet
- Velcom
- VolumeDrive
- Voxtreme
- VPSLand
- WebHostingPad
- WiredTree
- WireNine
- XLHost
- Yahoo
- Yourserving

