resolved the 'expecting {' error in production.rb