improved test coverage :)
addded active record integration to docs