Update broken links in db-active-record.md

- update link to query builder guide
- update link to model guide
- update link to behaviors guide
- update link to database basic guide