Rails radio buttons and required boolean attributes
How to deal with required boolean attributes and radio buttons in Ruby on Rails.
Testing execution of filters with RSpec
I was working on my application and I wanted to write some RSpec tests for some controllers having `before_filter` for some actions....
Rails and rescue from memory leak

Lately, I’ve been trying to find possible memory leaks in a rails 3.2.x application. cat in panic NOT easy, believe me…

Creating a simple ToDo application with Ruby on Rails - Part 4

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.

Creating a simple ToDo application with Ruby on Rails - Part 3

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

Creating a simple ToDo application with Ruby on Rails - Part 2

This is the second part of the tutorial for creating a simple ToDo application. In this part, we are going to:

  • implement the edit/delete actions accordingly
  • add some validations on the Task model
Creating a simple ToDo application with Ruby on Rails - Part 1

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.

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.

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.