Active Record (the pattern) maps a database row to an in-memory object where persistence methods live on the object itself. It’s one of Martin Fowler’s Enterprise Application Architecture patterns, where domain logic and data access are combined in the same object.
…