Developing Rails Applications on Mac OS X Leopard

First in a series of three articles from Apple on Ruby on Rails development on Mac OS X Leopard. Definitely worth a bookmark.

Ruby on Rails is a popular and powerful open source web framework for rapidly creating high-quality web applications to help you keep up with the speed of the Web. Rails is thriving on Mac OS X, and Leopard comes pre-installed with Ruby, Rails, Mongrel, Capistrano, Subversion, and other tools that help to streamline the development and deployment of Rails applications. In addition, the Organizer feature of XCode 3.0 keeps your development workflow efficient.

This article gives you a full tour of Ruby on Rails 2.0 on Leopard—starting with building a web application using the latest Rails features with Xcode 3.0, and finishing with deploying the application to a production server running Leopard Server. Along the way we’ll explore unique features and benefits that Leopard brings to the party. In the end you’ll be better equipped to consider the advantages of powering your web application with Rails on Leopard.

This is the first in a series of three articles:

  • This article on Development, where you learn to build a basic RESTful Rails application using Xcode 3.0;
  • Customization, where we discuss working with views and web forms, adding AJAX support, and supporting an iPhone interface;
  • Deployment, where we set up version control, write a Capistrano recipe, and deploy on Leopard Server.

Together they will give you a great start in working with Rails on Mac OS X Leopard.

full article

Spread the Word
  • Twitter
  • del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • Reddit
  • NewsVine
  • Slashdot
  • connotea
  • HackerNews
  • Print
  • email

About Daz

This is the blog of Darren Oakley
This entry was posted in mac, ruby, snippets and tagged , , , . Bookmark the permalink.

3 Responses to Developing Rails Applications on Mac OS X Leopard

  1. Michael says:

    I’ve hit a wall while running through the tutorial. While trying to “create two expenses that link the event to each vendor” I in run the command:

    event.expenses.create(:vendor => vendor1, :amount => 75.00)

    and get this error back:

    NameError: undefined local variable or method 'event' for #
        from (irb):1
    

    I know very little about Ruby or Rails, so I can’t quite debug this on my own. If anyone can help or point me to help on this I’d appreciate it.

  2. Kelly Bell says:

    I am stuck in the exact same spot, with the exact same error. Please help?

    Thanks, Kelly

  3. Julia Mason says:

    Internet Explorer 8 is very good because it is as stable as Opera. I hate the previous versions of IE like IE6 because it hangs frequently. :

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">