Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: lcreid
Perhaps more experienced Rails users know this... After adding the Mime::Type.register_alias "text/html", :mobile I got undefined methodref' for nil:NilClass` when trying to go to the mobile site. When I restarted my local rails server, the error went away.
Mime::Type.register_alias "text/html", :mobile