Don't miss

I created an open source development tool to quickly & dynamically mock API endpoints. Check it out at GitHub: DuckRails

Heads up

I will no longer maintain arubystory. For new posts, find me at my personal blog. CU there!

Sunday, December 22, 2013

Tutorial - Deploying the ToDo application to OpenShift - Ruby on Rails

In the previous three posts we created a simple ToDo application with Ruby on Rails. In this last part we are going to deploy the application to OpenShift. View the application deployed to Openshift.

Friday, December 20, 2013

Creating a simple ToDo application with Rails - Part Three - Devise & CanCan

This is the third part of the tutorial. In this part, we are going to use Devise & CanCan in order to add user authentication and authorisation features to the application.

Tuesday, December 17, 2013

Tutorial - Creating a simple ToDo application - Part Two

This is the second part of the tutorial about creating a simple ToDo application. In this part, we are going to:
1. refactor the Task create action to avoid redirection
2. implement the edit/delete actions accordingly
3. add some validations on the Task model

Saturday, December 7, 2013

Tutorial - Creating a simple ToDo application - Part One

So, you learned how to say "Hello world" with Ruby on Rails and it's time to move on since that app is not something you will use unless you are the only one survived on earth.
In this part of the tutorial you will get familiar with the following items.
  1. saving objects (from now on we will use the rails term model for these)
  2. the rails console
  3. using haml for your views
  4. using Twitter Bootstrap CSS to make your application look nice

Sunday, November 24, 2013

Tutorial: Saying "Hello world" with Ruby on Rails

If you are new to Ruby I suggest you first read my previous post which in short explains why you should not give up on learning Ruby.

Starting with this post, I'll be writing some tutorials covering the first steps you could follow in order to get familiar with both the language (Ruby) and the framework (Ruby on Rails). My posts will be based on my own experience so I hope that anyone new here can understand them easily.

Friday, November 8, 2013

Learning Ruby - Don't give up

About 5 months ago I was asked to join a Ruby on Rails project. After a lot of thinking whether I should switch to a new language after programming in Java for about 8 years or not I decided to do so. I was really excited actually and I couldn't wait to start learning the new stuff.

Day one I had an introduction to the development environment. A text editor and a console. I said, OK, this must be this guy's thing, I'll download the IDE. Then I looked all the other dev's monitor and still, no IDE. Black terminals and text editors. So I asked:

- Why don't you use something like Eclipse?
- We don't have to, a text editor is all you need.