db query builder bugfix
model class bugfix
model relations updated
model tests up
model class updated
model bugfix
model tests completed basic_relations
model tests done for belongs_to
model relation completed belongs_to