I really like these two patterns.
The drawback of Repository pattern is its cost(takes more time then Active record). Benefit is higher abstraction which really helps on complicated business logic.
The drawback of Active record is that lower testability(db interaction is required) and harder in handling complicated domain logic.
Is it acceptable to take the best of these two patterns to be used in the same application?
I was thinking about using Active record for simple CRUDs and Repository for complicated domain objects.
The idea behind this intention is to keep cost of code lower but still have a good code.