Updating to Ruby on Rails 4.0.0

I have tested on adJ (distribution of OpenBSD) 5.3 with Ruby on Rails 4.0.0 and Ruby 1.9.3
Easier to read
Merge pull request #653 from vtamara/patch-1

Updating to Ruby on Rails 4.0.0