Give your Rails 2.0 application an iPhone UI
Posted by David December 04, 2007 @ 03:34 PM
Multi-view development is a big deal in Rails 2.0. We’ve made it much simpler to allow the same action to serve many different formats. From HTML to XML to JSON to RSS and ATOM to CSV to whatever.
But did you know that you can use the same multi-view system to trout out different flavors of the same basic types? Say, give iPhone users a custom HTML interface while serving regular HTML users with the standard feast.
Slash Dot Dash teaches you how to do exactly that: Give a Rails 2.0 application an iPhone UI.

Great article. But not useful for Russian developers, and other country-without-iphone developers. I think, multiviews in Rails is a great thing, because today a lot of gadgets can view web-pages and use web-applications.
Great job! Thanks!
Now you can have your project on Ruby On Rails on iPhone on your pocket!
Jokes aside, I’m pleasantly surprised to see how simple it is to set up things for the iPhone. I just hoped they would provide a more elegant solution than setting respond_to on every single action. But nice article, anyway.
Nice information! THX
This is very interesting article. Thanks!
Hello, nice programm and nice blog style. Thank you for this good articel. But i think, i don“t need the same projects on two different places. But that is the think of everyone self.