Web Development optimize

10 reasons why you should learn Ruby on Rails

There are plenty of compelling reasons to check out Ruby on Rails -- like the development model, the job market, and the abundance of good IDEs.

Ruby on Rails has been out now for a number of years, but lately its popularity has gone up quite a bit. I recently started digging deeply into Rails and the Rails ecosystem, and I found a lot to like. Here are 10 reasons why you should consider learning Rails.

1: The Ruby language itself

The Ruby language is pretty impressive. It combines some of the best features of dynamic languages, while taking some of the best ideas from strongly typed, static languages and blending them with an object-oriented paradigm that is focused on "getting things done" and not "writing lots of code." The Ruby language is an excellent language, and you may very well find it makes you quite productive.

2: Code-based data model

In Ruby on Rails, you define your data model with code. In fact, once the initial data model is made, any changes to it are made through scripts that manipulate the model. While this may feel a little unusual, it means that it is trivial to replicate a Rails project on another server or even target it against another database.

3: Open source

Rails (and Ruby) are not just "open source," they have a thriving, helpful community around them. Although the magic of open source is often overstated, the reality of Ruby and Rails is close to the ideal, which is great for new developers.

4: Well documented

You may not see a row of Ruby or Rails books at your local bookstore, but Ruby and Rails are both well documented. I've been very impressed by the amount of video tutorials available on the Web, both for free and for pay. Not only are there lots of these tutorials, but they are often of high quality, fun to follow, and much more effective than most books.

5: Good jobs

Rails may not have a pile of open positions, but the Rails jobs I have seen advertised all look attractive. I've talked to a number of recruiters and people running Rails shops, and the general attitude is that the superior efficiency allows them to pay a bit more and still save money. Also, the lack of experts means that they often employ people who work from home or otherwise get benefits that a .NET or Java developer would be hard pressed to get.

6: Rapid development model

The Rails development model depends upon convention, not configuration. This means that if you learn to do things the way Rails expects you to do them, it will do a lot of the heavy lifting for you. This applies to a wide variety of development tasks, and as long as you keep yourself from trying to micromanage Rails, you can work very quickly in it.

7: Direct access to the HTML, JavaScript, and CSS

Rails makes no presumptions about how to turn your logic into output. Instead, you get 100% control over the presentation layer of your code. This makes tying your application's logic to AJAX'ed front ends mighty easy. It also allows you to work closely with design experts, to produce nice looking sites that are difficult to do in less-flexible systems.

8: Vendor support

Is Rails available on every host out there? Not at all. But most hosts do offer it now. Even better, a number of them now specialize in Rails hosting and can provide a high level of service and support. In fact, Engine Yard employs a significant number of developers who are core members of the Rails and Ruby teams, giving them a massive amount of in-house knowledge of the product. As a result of specialization, you can get great help from these vendors, in stark contrast to the experience that most vendors typically provide.

9: Tool options

The relative simplicity of the Rails system means that there are already a number of good IDEs for Rails development. In addition to IDEs, the Rails ecosystem is filled with excellent tools that fill just about any need you may have, and most of them are free and/or open source. If you want to work in an ecosystem with topflight tools support, Rails is a good place to be.

10: Better fit

There is something distinct about the Rails philosophy (and toolset) in comparison to the Java or .NET environments. If you are the type of person who "thinks in code" and likes to work with scripts to get things done, Rails may be a great fit for you. While the focus on command-line tools may feel like a quaint anachronism, this mode of working simply suits some people better. There is a good possibility that you will find yourself very comfortable working in the Rails style, and it is worth your time to check it out.

Your take

Have you worked with Ruby on Rails? What did you like/dislike the most?

About

Justin James is the Lead Architect for Conigent.

7 comments
Amon Amaranth
Amon Amaranth

As compared to other languages Ruby on Rails is new and in development phase. Using Ruby on Rails we can develop large and powerful applications. Allerin is an application development and consulting firm based in India. Allerin has vast experience and expertise in building custom applications for solving your business problems.

itadmin
itadmin

For the sake of rapid application development I bought a Rails and a Ruby book and even developed one production application in it and put up a tutorial on authentication and authorization using Rails. Then I found out about Grails. It's based on Spring and one uses Groovy as the programming language. There's no doubt, Groovy got a lot from Ruby. Groovy runs on the JVM and can be seamlessly mixed with Java. Now I'm Grails and Groovy all the way and have written a few production applications in it. Grails and Groovy are supported in NetBeans, Eclipse and Spring's own IDE, all of which can be had for free. Documentation and books are more than adequate.

ganesh.gummella
ganesh.gummella

This was a good article on why we should go with Ruby on Rails. I'm a .Net developer but am interested in learning this language. Can you point me to the direction which gives a better insight into this? Thanks

dmalcolm24
dmalcolm24

Interesting article. Ruby sounds a little like PHP. However I do think an article promoting Ruby and Rails should have some links to find out more.

manuelramoscaro
manuelramoscaro

There's a .Net flavour of Ruby with VS's tools... maybe it can be a good choise...

Justin James
Justin James

... but Microsoft's commitment to it is very weak right now. It seems to work though, and it's an easy way for a .NET developer to at least get their feet wet without loading their machine with a pile of non-IIS Web servers and such. J.Ja