Update travis to rails 3.