RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: basharabdullah
This seems to work perfectly when testing through browser with mobile user-agent locally, but when I push it live, first request renders full site, and second one from there only takes me to mobile page.
This doesn't happen always, but very often. Anyone else having this problem? Any idea why?