Ruby in-memory models