But getDb() is also in AR. getDb() in BaseAR is used just in two places and it seems like a design issue. I think the whole create() method would have to be overriden in the AR class but some core dev should comment on this.