Actually, nowrap is a lot better in practise.
It is useful to have plugins for ruby/rails.

https://github.com/vim-ruby/vim-ruby

https://github.com/tpope/vim-rails