I'm just trying to set the request format by detecting a mobile user agent.
This used to work in Rails 2: request.format = :mobile Just trying to make it render with a "mobile" format home.mobile.html.haml For some reason this causes "undefined method `ref' for nil:NilClass" somewhere deep inside activesupport --- is this no longer the way to do this in Rails 3? (I'm on 3.0.5) Thanks, Jason -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
