and this (add empty line in the end of the file)
also [configure your IDE](http://stackoverflow.com/questions/12415147/ensure-newline-at-eof-in-rubymine)