Displaying 1 result from an estimated 1 matches for "test_mobile".
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
...ack track, it doesn''t even
pass through my app stack once -- weird -- maybe this is a problem
with Passenger? Anyone see anything i''m doing wrong here? Your tips
are much appreciated, this is baffling me.
Step-by-step instructions to reproduce:
Totally fresh rails app (rails new test_mobile), then go delete public/
index.html
routes.rb __________________________________
TestMobile::Application.routes.draw do
root :to => "application#welcome"
end
application_controller.rb __________________________
class ApplicationController < ActionController::Base
protect_fro...