I’ve got a working app at mysite.com and trying to add iphone.mysite.com - problem is that I get the classic “Application
error - Rails application failed to start properly” and I don’t see
anything new in while tailing my log/development.log file. Any ideas
where else I can look or what could be wrong?
Here is what is in my controllers/application.rb…
request.format = :iphone if iphone_request?
request.format = :mobi if mobile_request?
request.subdomains.first == “iphone”
request.subdomains.first == “m”
if the application isnt starting it probably isnt a controller, most
likely something funky in your initializer (config/envrionment.rb) or
your actual environment file (config/environments/development.rb) or
possibly in a plugin you recently added. have you changed anything in
those 3 locations recently?