Been wanting to develop an iPhone app for a while.. either real app or a web app… Found these links helpful
IBM: This article shows how to build a Ruby on Rails application that dynamically recognizes iPhone or iPod touch browsers (throughout this article, I refer to the iPhone — remember that everything here also applies to the iPod touch), while allowing Mobile Safari users the option of seeing the full Web content if they want. The article also focuses on the server-side structures needed to support serving separate content to iPhone users and how to start to serve iPhone content. Part 2 of this “Developing iPhone applications using Ruby on Rails and Eclipse” series focuses on how to give that content an iPhone look and feel.
If you are wondering how to change the user agent in firefox… check this out… http://johnbokma.com/mexit/2004/04/24/changinguseragent.html