Trip Planner in Rails