and yes, Uber/Lyft goes to Encinitas and anywhere else.
Depending on the times you need, the Coaster is very cool.
Based on one of your other posts, it appears you will be traveling next winter. I would still recommend the Coaster train to get to Encinitas, but just want to warn you that the schedule is a bit more limited in winter. There are no trains at night and fewer trains on the weekend.