Ruby programming beginners guide

We are writing this brief tutorial on how to easily get into Ruby programming language and Ruby on Rails framework, so our community can grow with new developers.

First thing first, Ruby on Rails framework is based on Ruby programming language, and the learning should start from there.

Our recommended steps:

Ubuntu installation instructions

We choose to develop on Linux OS, Ubuntu distribution. In order to install Ruby and Rails, you could follow these instruction(it might not be always up-to-date)

1.Ruby starting guide:

The whole session last around 8-9 hours, and it’s very nice time investment.

Also you can find bunch of stuff in ruby docs, for example, you want to see what can you do with a string, you open ruby docs for String class and see list of all methods that you can use, with their documentation (example link

2.Once you learned Ruby, it’s time to move on to Rails framework.

Firstly you can just watch this basic 10min video.

Going to build your first Rails app yourself. You can ignore section from 1.4, or everything related to Git and Heroku(for the moment)  

2nd Rails app with Rspec tests. In tutorial they use postgres as database, you can still use sqlite, and no need to configure ‘pg’.

Once you finish building this two apps, you are now up to speed on Rails basics.

More advanced stuff:

– Here is 5 day Rails tutorials. Most of them you can just read after completing previous 2 tutorials. Things that are new to you, you can practice on existing apps.

3.Database relations

They are very important to be understood. So we are sharing two tutorials that we find easy to understand.


Testing our own code in Ruby on Rails is very important. Not every good developer writes it, it also leaves you out of hassle to manually click 50x on same feature over and over. You can just run test suite you wrote, and it will tell you that everything is good with you code in matter of minutes.

Our (free) tutorials of choice:

Firstly you could try with:

And then

To see how tests run in real world example you could watch this example

At the end, in order to improve your testing skills you could go to

Additional resources:

In order to become better rails developer, you can explore number of Open-Source apps out there written in Ruby on Rails, like:

You have managed to learn Ruby? If you are willing to start to work on some real world apps, you could shoot us an email at



Ruby on Rails code quality

In this article we will point out steps on what can you do in order to improve your code quality in Ruby on Ra ...