What Is Rideshare?
Rideshare is a back-end Rails API app that you can imagine powering a fictional ridesharing service. Think of popular ridesharing services like Uber or Lyft. Imagine that a small fraction of their codebase, around ten models (backed by database tables), was extracted. What you’d have is something like the Rideshare codebase.
Despite being a small Rails app, you’ll use it to explore advanced topics like replication, sharding, and partitioning.
The core Active Record models in Rideshare are Driver, Rider, Trip, and TripRequest.
If you’ve picked up this book and you’re less experienced with Rails, you’ll need to know some basics about Active Record.
Active Record is the default Object Relational Mapping (ORM) layer for Ruby ...
Get High Performance PostgreSQL for Rails now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.