Title: Starting Ruby on Rails from an Objective-C background
Tags: ruby-on-rails;objective-c;ruby
Question: Right now I program exclusively with Objective-C using the Cocoa frameworks to write applications for the Mac OS X and iPhone/iPad platforms. I'm fairly fluent using the Objective-C language as well as the Cocoa and Cocoa Touch frameworks. I also know just enough C to be able to understand ObjC. 

One of my projects requires that I write a corresponding web application for use with my iPhone app. I've decided that the best path to go with is Ruby on Rails. What is the easiest transition path to go from Objective-C to Ruby on Rails? Any starter guides/docs/tutorials are appreciated!

Thanks


Here is the accepted answer: I'm nearing the end of this tutorial myself, and I think it's a perfect resource for those who are already familiar with software development, particularly web application development in general.  I come from a Java background, but have dabbled in PHP and Python (specifically, Django).  This tutorial has given me tremendous exposure to Rails in a very friendly way.

I still have some unanswered questions, but less than I had when I tried learning from other books.

As a side note, the tutorial briefly discusses learning Ruby first then Rails vs learning Rails first then Ruby (it ultimately suggests Rails first).


Here is another answer: I'm not sure if it was available back when this question was first asked, but I think http://railsforzombies.org/ is an excellent first tutorial. It introduces the framework in a way that's accessible, interactive and engaging, and it makes a great foundation for further study. I got a lot out of it.


Here is another answer: How to make a rails application app as a versioned api in less than 10 minutes.  

http://railscasts.com/episodes/350-rest-api-versioning

If you'd like to easily follow along executing code along with the video check out the ascii cast so you may copy and paste as you watch.

http://railscasts.com/episodes/350-rest-api-versioning?view=asciicast

You may want to have rvm installed and use the gem bundler.  create new gemset for each project.  This will save you hassle with different versions of ruby and gems required for different projects.  


Here is another answer: I think that learning Ruby without Rails first is a good idea. _why's Poignant Guide to Ruby is good for people coming from Objective-C because it doesn't go through how objects send &quot;messages&quot; to each other and all that stuff. After that, you should be able to use the Rails Guides to learn Rails. There are tutorials there. I don't know of any learning material that you have to pay for (like books), though. If that is what you want, I would try searching on Amazon.


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 4, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 2.5', 'CreationDate': '2010:00:06/20/10', 'FavoriteCount': 1.0, 'PostTypeId': 1, 'Tags': '<ruby-on-rails><objective-c><ruby>', 'Title': 'Starting Ruby on Rails from an Objective-C background', 'ViewCount': 882, 'id': 3081377, 'user_AboutMe': '<p>iOS and Mac Developer. I\'m working on <a href="http://flamingo.im" rel="nofollow">Flamingo for Mac</a> and previously built <a href="http://github.com/sonoramac/Sonora" rel="nofollow">Sonora</a>.</p>\n', 'user_AccountId': 51261.0, 'user_DisplayName': 'indragie', 'user_Reputation': 17862.0, 'user_Views': 1749.0, 'user_id': 153112.0}}