Today I helped a client wrestle with a database task which concluded: . . . We'll have to watch out inventing new "fake" customers because one day there may be a real customer with our made up ID 😦 This is a problem in lots of apps, but not in Rails. Rails enforces the "best … Continue reading A Benefit of Rails: Surrogate Keys