Fix syntax errors in orders.rb