Change old Ruby 1.8 hash syntax to new one in Rails app.
syntax_fix gem changes the hash style from ':key => "value"' to 'key: "value"'
Put this line in your Gemfile: gem 'syntax_fix'
This command will check and rewrite all files with the new syntax.
v <-- be verbose about the actions
p [PATH] <-- specify the relative path to start actions from
Subscribe to Engineering At Kiprosh
Get the latest posts delivered right to your inbox