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
Merge pull request #3334 from deerawan/master

Update broken links in db-active-record.md