Fixes for new Ruby version
Ruby hash rocket syntax to new Ruby syntax
Update to Rails 4