Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple Ruby on Rails Tutorial

I am having difficulties with the new Ruby on Rails tutorials:
http://developer.apple.com/tools/developonrailsleopard.html

Does anyone have a working project file they could post somewhere for consumption?
It would help me a lot as I learn. My project is full of holes and it not giving me the results they have documented.

Thanks - Hey!

Mac OS X (10.5.4), Ruby on Rails

Posted on Aug 6, 2008 6:17 PM

Reply
8 replies

Aug 6, 2008 6:56 PM in response to Dr. Werner Von Braun

This isn't really an answer, but you'd have to be a masochist to rely on Apple or XCode for Rails development. TextMate's popularity in this arena is no accident, and you have to bear in mind that articles like these are written by sub-sub-sub-contractors and rarely see more than a cursory review by DTS before publication. When dealing with a rapidly evolving project such as Rails, Apple has no hope of staying current and it's always better to look to the source for documentation.

Aug 7, 2008 9:15 AM in response to Dr. Werner Von Braun

Excuse me, but I have to object to the derrogatory comment.
I used the apple tutorial as a starting point and was rewarded by finding out what stage the prepackaged ruby and rails implementation was at. And getting a first hand look at using restful structure and seeing that the apple approach in the tutorials was limited by how rails is incorporated into the ide. Given that I was able to make the tutorial work and to show off some capability. It is a worthwhile effort and touches on resources, ajax, associations and scaffolding.
If you are learning rails and want to wade in from the shallow end this is a useful approach. Best of all - its free.
Once the tutorial is finished and running, then its time to examine your ide approach and strike out in a mature direction (unfortunately xcode 3 isn't it).
I've found that when learning rails you can follow all the tutorials and feel like you know something. Take one step outside the tutorial and you learn quickly the water is deep and start drinking from the firehose of at least four different hydrants: namely Ruby, Rails, HTTP, CSS. Add in database knowledge, LDAP, Web design and others. In my case I also run Leopard Server and enjoy the support of Apple's approach with web service integration and rails specifically. I couldn't be happier with the way it works.
HTH,
Harry

Aug 7, 2008 9:40 AM in response to orangekay

There are some excellent ones at peepcode; advanced:Railscasts.com and a further example at:
http://www.pragprog.com/screencasts/v-riexp/building-a-dynamic-website-with-expr essionengine

However, there are a ton that are free. I haven't found any single free tutorial that gives the breath of rails to the degree apple does on first try.

The initial intro showing the process for upgrading rails, gems and sqlite3 is useful. As is the setup of subversion for version control. Brief but it works and you can take it from there.

My point is, I'm not disappointed for what apple does to get a newbie started.
Harry

Aug 7, 2008 1:54 PM in response to orangekay

My mistake, pick from
http://www.pragprog.com/screencasts/v-rbar/everyday-active-record
or
http://www.pragprog.com/screencasts/v-dtrubyom/the-ruby-object-model-and-metapro gramming
for rails applicability.

I've seen very little discussion of rails on this forum and wondered why. My experience is that Leopard provides a very good platform from which to do development and the server can easily host production apps. I hope there is more to exchange here than dismissive comments.
Harry

Apple Ruby on Rails Tutorial

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.