define('WP_CACHE', true); //Added by WP-Cache Manager The Art of Rails » Blog Archive » Rails Basics

Rails Basics

February 10, 2008 – 2:09 pm

What would a community site be without the basics? I know there are many sites out there with how to set things up but if you happened to come across my site first, Iíll be happy to lead you in the right direction.

Step 1 ñ Installation

For installation there is no better site then:

www.RubyOnRails.org

Follow the directions and you should have the rails environment setup in very little time.

Step 2 ñ IDE

For me, comin from the java world, I need an IDE that helps with syntax as much as possible. This is a bad habbit and the scripting programmers laugh at how much we need an IDE to write software, but to me its just more efficient. There are 2 IDEs I have used and would recomment.

RadRails

This IDE is based on eclipse and has the essential features you would need in an IDE. The only problem is the auto-completion is kind of lacking at this point in time, and to me, autocompletion is a dream to have in an IDE.

JEdit

This is a very basic text editor but it has plugins that will allow it to have autocompletion for ruby code. This is extremely helpful. It also has the ability to have macros/shortcuts to quickly put together commonly used ruby commands. The downside, it does not manage projects very well. There is a plugin to allow you to ëgroupí together files into a ëprojectí but it is nothing like eclipse in the way it creates ëprojects.

As for the winner, you decide.

Step 3 ñ Tutorials!

For me the best way to learn is to jump right in. There are some really great basic tutorials out there to help get you started. Here is a list of the ones I have learned from myself.

Step 4 ñ Create

You are on your own for this one. Make Apps, ask questions, learn and grow. I will be creating my own more advanced tutorials as I begin to try to recreate Java apps that I have developed previously into Rails Apps. I want to test how well they do versus eachother in real world examples.

Enjoy and welcome to the world of rails!

You must be logged in to post a comment.