turnings

passions :: perfections :: peoples :: stuffs

Archive for December 5th, 2007

iPhone on Rails – Creating an iPhone optimised version of your Rails site using iUI and Rails 2

without comments

iPhone on Rails – Creating an iPhone optimised version of your Rails site using iUI and Rails 2: After upgrading trawlr.com to Rails 2 I thought I’d make use of some of the new features and attempt to create an iPhone version of the site. With Rails 2 you can create a mime type specifically for the iPhone and then use that format in a respond_to block (along with views such as index.iphone.erb). [IPhone therefore I am. Actually not yet... but I'll get there.]
Source:

Written by Daniel

December 5, 2007 at 8:58 am

Posted in code, tech

BookCode

without comments

BookCode: A good example of this is that when I write examples using Ruby, I’ve often shied away from using CollectionClosureMethods, even though I use them heavily in my own Ruby code.[And what a clear explanation of those methods in the above.]
Source: Martin Fowler

Written by Daniel

December 5, 2007 at 8:52 am

Posted in code, tech