Remove trailing whitespaces at the end of line or after line-break.
Consecutive whitespaces should be removed as well.
Prefer Ruby new hash syntax
foo: :barinstead of
:foo => bar
Insert one single whitespace after comment.
# comment goes here
Prefer the shortcut
j(render('projects'))over the full syntax
escape_javascript(render('projects'))
Prefer
validates_presence_of :nameinstead of
validates :name, presence: true
Mixed double and single quotes in file.
Add a space after {
Add a space before }
Add space before and after operator '='
Remove extra line at end of file
Allow for a maximum of 100 characters before line break. Official style guide sets it to 80 only.