mobvious
mobvious copied to clipboard
Rack-based device type (mobile, tablet, etc.) detection from HTTP requests
The middleware Mobvious::Manager breaks send_file on rails for some reason. I don't yet know why, but the line config.middleware.use Mobvious::Manager breaks send_file in my app, and commenting it out fixes...
This fixes issue #1! Mobvious::Manager now passes Rack::Response objects correctly.
I am using the iOS simulator for ease of use and speed. Mobvious is detecting the simulator's user agent correctly but `request.env['mobvious.device_type']` is being set as `:desktop` ### Debug code...