updated rails path helper